mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 16:18:42 -05: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.
10 lines
228 B
Ruby
10 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
|