Sha256: 794d6ef4b42bdb5909f2b3e5828e47f55b68807aef7dfd53085a9845d75097ab

Contents?: true

Size: 331 Bytes

Versions: 4

Compression:

Stored size: 331 Bytes

Contents

class CreateCmorShowcaseItems < ActiveRecord::Migration[5.2]
  def change
    create_table :cmor_showcase_items do |t|
      t.references :category, foreign_key: false
      t.string :identifier
      t.string :name
      t.text :body
      t.integer :position
      t.timestamp :published_at

      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cmor_showcase-0.0.36.pre db/migrate/20190728100031_create_cmor_showcase_items.rb
cmor_showcase-0.0.35.pre db/migrate/20190728100031_create_cmor_showcase_items.rb
cmor_showcase-0.0.34.pre db/migrate/20190728100031_create_cmor_showcase_items.rb
cmor_showcase-0.0.33.pre db/migrate/20190728100031_create_cmor_showcase_items.rb