mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:00:32 -06:00
Remove duplicate Spam flag type
This commit is contained in:
parent
3b7ac014de
commit
1b808a54a4
9
db/migrate/20130311181327_remove_extra_spam_record.rb
Normal file
9
db/migrate/20130311181327_remove_extra_spam_record.rb
Normal file
@ -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
Block a user