From 22a00de8cd7e1ad97dd821eba3f0fe2f20ff9c6a Mon Sep 17 00:00:00 2001 From: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com> Date: Sun, 20 Mar 2022 20:46:15 -0700 Subject: [PATCH] added char id column --- migrations/dlu/0_initial.sql | 1 + migrations/dlu/2_reporter_id.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 migrations/dlu/2_reporter_id.sql 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;