Sha256: 5f5f0b3f511d4b7086d6b7bcb125fc0a63bdacd40344a129aa60cedc23eb7caf

Contents?: true

Size: 251 Bytes

Versions: 20

Compression:

Stored size: 251 Bytes

Contents

class CreateContentBlocks < ActiveRecord::Migration[5.1]
  def change
    create_table :content_blocks do |t|
      t.string :name
      t.text :value
      t.timestamps null: false
    end
    add_index :content_blocks, :name, unique: true
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
zizia-6.0.1 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-6.0.0 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-5.5.0 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-5.4.0 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-5.3.0 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-5.2.0 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-5.1.0 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-5.0.1 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-5.0.0 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-4.6.0.alpha.01 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-4.5.4.alpha.01 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-4.5.3.alpha.01 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-4.5.2.alpha.01 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-4.5.1.alpha.01 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-4.4.1.alpha.01 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-4.4.0.alpha.01 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-4.3.1.alpha.01 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-4.2.0.alpha.01 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-4.1.0.alpha.01 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb
zizia-4.0.4.alpha.01 spec/dummy/db/migrate/20190918192849_create_content_blocks.hyrax.rb