13 lines
312 B
Ruby
13 lines
312 B
Ruby
class DropCustomFieldTables < ActiveRecord::Migration
|
|
tag :postdeploy
|
|
|
|
def self.up
|
|
# these tables may not have ever been created
|
|
drop_table "custom_fields" if table_exists?("custom_fields")
|
|
drop_table "custom_field_values" if table_exists?("custom_field_values")
|
|
end
|
|
|
|
def self.down
|
|
end
|
|
end
|