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: b2d5949b23f52c00a76322685c432da736ee8bb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# rubocop:disable all
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