mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 21:56:50 -04:00
Added match result model.
This commit is contained in:
@@ -21,4 +21,4 @@ CREATE TABLE matches (
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
DROP TABLE event_settings;
|
||||
DROP TABLE matches;
|
||||
|
||||
14
db/migrations/20140526180544_CreateMatchResults.sql
Normal file
14
db/migrations/20140526180544_CreateMatchResults.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
-- +goose Up
|
||||
CREATE TABLE match_results (
|
||||
id INTEGER PRIMARY KEY,
|
||||
matchid int,
|
||||
playnumber int,
|
||||
redscorejson text,
|
||||
bluescorejson text,
|
||||
redfoulsjson text,
|
||||
bluefoulsjson text,
|
||||
cardsjson text
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
DROP TABLE match_results;
|
||||
Reference in New Issue
Block a user