mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
Drop unused tables (#5630)
This commit is contained in:
10
db/migrate/20180227161818_drop_unused_tables.rb
Normal file
10
db/migrate/20180227161818_drop_unused_tables.rb
Normal file
@ -0,0 +1,10 @@
|
||||
class DropUnusedTables < ActiveRecord::Migration[5.1]
|
||||
def up
|
||||
drop_table :category_featured_users
|
||||
drop_table :versions
|
||||
end
|
||||
|
||||
def down
|
||||
raise ActiveRecord::IrreversibleMigration
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user