diff --git a/migrations/dlu/0_initial.sql b/migrations/dlu/0_initial.sql index 16cb3e7e..61380f76 100644 --- a/migrations/dlu/0_initial.sql +++ b/migrations/dlu/0_initial.sql @@ -150,6 +150,7 @@ CREATE TABLE activity_log ( DROP TABLE IF EXISTS bug_reports; CREATE TABLE bug_reports ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, + reporter_id INT NOT NULL DEFAULT 0, body TEXT NOT NULL, client_version TEXT NOT NULL, other_player_id TEXT NOT NULL, diff --git a/migrations/dlu/2_reporter_id.sql b/migrations/dlu/2_reporter_id.sql new file mode 100644 index 00000000..26103342 --- /dev/null +++ b/migrations/dlu/2_reporter_id.sql @@ -0,0 +1 @@ +ALTER TABLE bug_reports ADD reporter_id INT NOT NULL DEFAULT 0;