mirror of
https://github.com/discourse/discourse.git
synced 2024-12-19 04:30:32 +08:00
32ff6c264a
Several migrations were failing when running db:migrate at the initial release version from an empty database. These changes took out statements that were causing migrations to fail, usually because of references to models that no longer exist.
11 lines
228 B
Ruby
11 lines
228 B
Ruby
class MigrateBookmarksToPostActions < ActiveRecord::Migration
|
|
def up
|
|
drop_table "bookmarks"
|
|
end
|
|
|
|
def down
|
|
# I can reverse this, but not really worth the work
|
|
raise ActiveRecord::IrriversableMigration
|
|
end
|
|
end
|