Home page progress + start of db manipulations
This commit is contained in:
5
migrations/1725982950_players.sql
Normal file
5
migrations/1725982950_players.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
create table if not exists players
|
||||
(
|
||||
id integer primary key not null,
|
||||
name text not null
|
||||
)
|
||||
11
migrations/1725983390_votes.sql
Normal file
11
migrations/1725983390_votes.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
create table if not exists votes
|
||||
(
|
||||
id integer primary key not null,
|
||||
timestamp date not null,
|
||||
plus_id integer not null,
|
||||
plus_nickname text not null,
|
||||
plus_reason text not null,
|
||||
moins_id integer not null,
|
||||
moins_nickname text not null,
|
||||
moins_reason text not null
|
||||
)
|
||||
Reference in New Issue
Block a user