BigW Consortium Gitlab

20160222153918_create_appearances_ce.rb 332 Bytes
Newer Older
1
# rubocop:disable all
2
class CreateAppearancesCe < ActiveRecord::Migration
3 4 5 6 7 8 9 10 11 12 13 14 15
  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