Add default value for fish
This commit is contained in:
parent
ca466277a5
commit
4d5e5ac504
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -49,7 +49,7 @@ if dbtype == dbtools.MYSQL:
|
|||
else:
|
||||
db = dbtools.dbObject(dbtype=dbtype, path=dbpath)
|
||||
if not db.isInitialized():
|
||||
db.executeQuery("CREATE TABLE tokens(`cid` INT PRIMARY KEY, `ato` TEXT, `ase` TEXT, `fish` INT);")
|
||||
db.executeQuery("CREATE TABLE tokens(`cid` INT PRIMARY KEY, `ato` TEXT, `ase` TEXT, `fish` INT DEFAULT 0);")
|
||||
db.commit()
|
||||
|
||||
db.closeConnection()
|
||||
|
|
Loading…
Reference in a new issue