Sha256: d0464c11d0c14b422fae635df75d86e5a6c6969ba14c1cdf864a19fce34c7bc3
Contents?: true
Size: 347 Bytes
Versions: 3
Compression:
Stored size: 347 Bytes
Contents
class CreateFields < ActiveRecord::Migration def change create_table :fields do |t| t.string :name t.string :description t.string :field_type t.references :prototype, index: true, foreign_key: true t.string :options t.boolean :required, :default => false 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/20151112055438_create_fields.rb |
blacksand-2.4.1 | db/migrate/20151112055438_create_fields.rb |
blacksand-2.4.0 | db/migrate/20151112055438_create_fields.rb |