2016-06-16 23:09:34 +05:30
|
|
|
# rubocop:disable all
|
2019-01-03 12:48:30 +05:30
|
|
|
class CreateAppearancesCe < ActiveRecord::Migration
|
2016-04-02 18:10:28 +05:30
|
|
|
def change
|
|
|
|
unless table_exists?(:appearances)
|
|
|
|
create_table :appearances do |t|
|
|
|
|
t.string :title
|
|
|
|
t.text :description
|
|
|
|
t.string :header_logo
|
|
|
|
t.string :logo
|
|
|
|
|
|
|
|
t.timestamps null: false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|