diff --git a/migrations/014.block-users.down.sql b/migrations/014.block-users.down.sql new file mode 100644 index 00000000..50a98355 --- /dev/null +++ b/migrations/014.block-users.down.sql @@ -0,0 +1,4 @@ +ALTER TABLE users +DROP COLUMN is_blocked, +DROP COLUMN blocked_on, +DROP COLUMN blocked_reason; \ No newline at end of file diff --git a/migrations/014.block-users.up.sql b/migrations/014.block-users.up.sql new file mode 100644 index 00000000..d4f0e940 --- /dev/null +++ b/migrations/014.block-users.up.sql @@ -0,0 +1,4 @@ +ALTER TABLE users +ADD COLUMN is_blocked BOOLEAN NOT NULL DEFAULT (false), +ADD COLUMN blocked_on TIMESTAMP WITH TIME ZONE NULL, +ADD COLUMN blocked_reason TEXT NULL; \ No newline at end of file