Skip to content

Commit

Permalink
#3208: setup_tables.py, minor syntax changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff1evesque committed Mar 23, 2018
1 parent b2589ef commit 285ea53
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,15 +215,16 @@ class VARCHAR (50) NOT NULL
HEX(SUBSTR(_bin, 1, 2)),
HEX(SUBSTR(_bin, 9, 2)),
HEX(SUBSTR(_bin, 11))
));
)
);
'''
cur.execute(sql_statement)

# user and roles
sql_statement = '''\
CREATE TABLE IF NOT EXISTS User (
UserID INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
UserName VARCHAR (50) NOT NULL,
Username VARCHAR (50) NOT NULL,
Password VARCHAR (1069) NOT NULL,
Joined DATETIME NOT NULL,
);
Expand Down

0 comments on commit 285ea53

Please sign in to comment.