Sha256: 717df9e6439ff2fec49690a67e20387a9fff9c1bbfe2366324e5136ad1acb832

Contents?: true

Size: 264 Bytes

Versions: 1

Compression:

Stored size: 264 Bytes

Contents

class CreateBooleanTypes < ActiveRecord::Migration
  def change
    create_table ConstructorPages::Types::BooleanType.table_name do |t|
      t.boolean :value, default: false
      t.references :field
      t.references :page

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
constructor-pages-1.0.0beta2 db/migrate/6_create_boolean_types.rb