summaryrefslogtreecommitdiff
path: root/db/migrate/20160222153918_create_appearances_ce.rb
blob: 37bbe62ad3dc59ad748b60171ff0093a7ad82d03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# rubocop:disable all
class CreateAppearancesCe < ActiveRecord::Migration[4.2]
  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