oui
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
|
||||
)
|
||||
2
migrations/20240911124945_drop_votes_convert.sql
Normal file
2
migrations/20240911124945_drop_votes_convert.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- Add migration script here
|
||||
drop table if exists votes
|
||||
11
migrations/20240911125144_votes_convert.sql
Normal file
11
migrations/20240911125144_votes_convert.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
create table if not exists votes
|
||||
(
|
||||
id integer primary key not null,
|
||||
timestamp text 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