Add category for mod actions
This commit is contained in:
7
db/migrate/20180113211343_add_category_to_mod_actions.rb
Normal file
7
db/migrate/20180113211343_add_category_to_mod_actions.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class AddCategoryToModActions < ActiveRecord::Migration
|
||||
def change
|
||||
ModAction.without_timeout do
|
||||
add_column :mod_actions, :category, :integer
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user