Sha256: f03db2f0150a224e5f278dee68c6c4898c0a1077f363ecc1a6f2b558bf74e1d8

Contents?: true

Size: 372 Bytes

Versions: 3

Compression:

Stored size: 372 Bytes

Contents

class CreateProperties < ActiveRecord::Migration
  def change
    create_table :properties do |t|
      t.text :value
      t.references :page, index: true, foreign_key: true
      t.references :field, index: true, foreign_key: true
      t.string  :type
      t.string :gallery
      t.string :image
      t.string :file

      t.timestamps null: false
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blacksand-2.5.0 db/migrate/20151112060015_create_properties.rb
blacksand-2.4.1 db/migrate/20151112060015_create_properties.rb
blacksand-2.4.0 db/migrate/20151112060015_create_properties.rb