Commit 6d742a13 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Expanded long url limit.

parent 60a3179b
......@@ -88,7 +88,7 @@ def connect_to_mysql():
sql = """CREATE TABLE IF NOT EXISTS `%s`(
id INT NOT NULL AUTO_INCREMENT,
PRIMARY KEY(id),
longurl VARCHAR(100),
longurl VARCHAR(1000),
shorturl VARCHAR(100),
expiration INT(50),
clicks INT(10));"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment