Sha256: 79814109ecabeefb4356808d895f26e27b3ac1cddf582f323482099bb35f4092

Contents?: true

Size: 514 Bytes

Versions: 8

Compression:

Stored size: 514 Bytes

Contents

# This migration comes from fae (originally 20141105214814)
class CreateFaeTextFields < ActiveRecord::Migration
  def change
    create_table :fae_text_fields do |t|
      t.references :contentable, polymorphic: true, index: true
      t.string :attatched_as, index: true
      t.string :label
      t.string :content
      t.integer :position, default: 0, index: true
      t.boolean :on_stage, default: true, index: true
      t.boolean :on_prod, default: false, index: true

      t.timestamps
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fae-rails-1.6.0 spec/dummy/db/migrate/20141105221151_create_fae_text_fields.fae.rb
fae-rails-1.5.1 spec/dummy/db/migrate/20141105221151_create_fae_text_fields.fae.rb
fae-rails-1.5.0 spec/dummy/db/migrate/20141105221151_create_fae_text_fields.fae.rb
fae-rails-1.4.1 spec/dummy/db/migrate/20141105221151_create_fae_text_fields.fae.rb
fae-rails-1.4.0 spec/dummy/db/migrate/20141105221151_create_fae_text_fields.fae.rb
fae-rails-1.3.1 spec/dummy/db/migrate/20141105221151_create_fae_text_fields.fae.rb
fae-rails-1.3.0 spec/dummy/db/migrate/20141105221151_create_fae_text_fields.fae.rb
fae-rails-1.2.5 spec/dummy/db/migrate/20141105221151_create_fae_text_fields.fae.rb