summaryrefslogtreecommitdiff
path: root/db/migrate/20160222153918_create_appearances_ce.rb
blob: bec66bcc71e1931291e3f0f848dc6348fead5bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class CreateAppearancesCe < ActiveRecord::Migration
  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