Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20160222153918_create_appearances_ce.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5e66d5094bd7e587167b4f0eca3cc2edcfee5c0d (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