Sha256: 36a91865f45f75e7400447d777771ae702c13161207046f4667380eff06d80ed

Contents?: true

Size: 260 Bytes

Versions: 1

Compression:

Stored size: 260 Bytes

Contents

class CreateIntegerTypes < ActiveRecord::Migration
  def change
    create_table ConstructorPages::Types::IntegerType.table_name do |t|
      t.integer :value, default: 0
      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/7_create_integer_types.rb