pull/1/head
DustyP 6 years ago
parent 01d939f391
commit e803fb9c6d

@ -78,7 +78,7 @@ func InitializeDatabase() {
_, err = Database.Query("CREATE TABLE IF NOT EXISTS tasks(" + _, err = Database.Query("CREATE TABLE IF NOT EXISTS tasks(" +
"id serial primary key," + "id serial primary key," +
"content text not null," + "content text not null," +
"guild_id varchar(30) not null references guild(id)," + "guild_id varchar(30) not null references guilds(id)," +
"channel_id varchar(30) not null," + "channel_id varchar(30) not null," +
"user_id varchar(30) not null," + "user_id varchar(30) not null," +
"creation_time timestamp not null default NOW()," + "creation_time timestamp not null default NOW()," +

Loading…
Cancel
Save