Remove duplicate Spam flag type
This commit is contained in:
parent
3b7ac014de
commit
1b808a54a4
|
@ -0,0 +1,9 @@
|
|||
class RemoveExtraSpamRecord < ActiveRecord::Migration
|
||||
def up
|
||||
execute "UPDATE post_actions SET post_action_type_id = 7 where post_action_type_id = 8"
|
||||
execute "DELETE FROM post_action_types WHERE id = 8"
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
|
@ -4644,4 +4644,6 @@ INSERT INTO schema_migrations (version) VALUES ('20130221215017');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130226015336');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130306180148');
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130306180148');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130311181327');
|
Loading…
Reference in New Issue