Sha256: 379aaa3cdec78d27175981608ec58ecf93281d3b750f4dcb2725dee2a0669406

Contents?: true

Size: 457 Bytes

Versions: 12

Compression:

Stored size: 457 Bytes

Contents

# This migration comes from cmor_showcase (originally 20190728100031)
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.string :slug

      t.timestamps

      t.index :slug, unique: true
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cmor_showcase-0.0.51.pre spec/dummy/db/migrate/20200119060241_create_cmor_showcase_items.cmor_showcase.rb
cmor_showcase-0.0.50.pre spec/dummy/db/migrate/20200119060241_create_cmor_showcase_items.cmor_showcase.rb
cmor_showcase-0.0.49.pre spec/dummy/db/migrate/20200119060241_create_cmor_showcase_items.cmor_showcase.rb
cmor_showcase-0.0.48.pre spec/dummy/db/migrate/20200119060241_create_cmor_showcase_items.cmor_showcase.rb
cmor_showcase-0.0.45.pre spec/dummy/db/migrate/20200119060241_create_cmor_showcase_items.cmor_showcase.rb
cmor_showcase-0.0.44.pre spec/dummy/db/migrate/20200119060241_create_cmor_showcase_items.cmor_showcase.rb
cmor_showcase-0.0.43.pre spec/dummy/db/migrate/20200119060241_create_cmor_showcase_items.cmor_showcase.rb
cmor_showcase-0.0.42.pre spec/dummy/db/migrate/20200119060241_create_cmor_showcase_items.cmor_showcase.rb
cmor_showcase-0.0.41.pre spec/dummy/db/migrate/20200119060241_create_cmor_showcase_items.cmor_showcase.rb
cmor_showcase-0.0.40.pre spec/dummy/db/migrate/20191031140805_create_cmor_showcase_items.cmor_showcase.rb
cmor_showcase-0.0.39.pre spec/dummy/db/migrate/20190816123807_create_cmor_showcase_items.cmor_showcase.rb
cmor_showcase-0.0.38.pre spec/dummy/db/migrate/20190816123807_create_cmor_showcase_items.cmor_showcase.rb