Add category for mod actions

This commit is contained in:
BrokenEagle
2018-01-13 14:48:08 -08:00
parent b9964e97a7
commit 3c45273694
18 changed files with 92 additions and 32 deletions

View File

@@ -0,0 +1,7 @@
class AddCategoryToModActions < ActiveRecord::Migration
def change
ModAction.without_timeout do
add_column :mod_actions, :category, :integer
end
end
end

View File

@@ -2315,7 +2315,8 @@ CREATE TABLE mod_actions (
creator_id integer NOT NULL,
description text NOT NULL,
created_at timestamp without time zone,
updated_at timestamp without time zone
updated_at timestamp without time zone,
category integer
);
@@ -7547,3 +7548,5 @@ INSERT INTO schema_migrations (version) VALUES ('20171219001521');
INSERT INTO schema_migrations (version) VALUES ('20171230220225');
INSERT INTO schema_migrations (version) VALUES ('20180113211343');