Sha256: a096f1c47d97f8e650ff136a43f0f18a423eafd4251a7271a347bff1db2cde78
Contents?: true
Size: 687 Bytes
Versions: 61
Compression:
Stored size: 687 Bytes
Contents
class CreateCollectionTypes < ActiveRecord::Migration<%= migration_version %> def change create_table :hyrax_collection_types do |t| t.string :title t.text :description t.string :machine_id t.boolean :nestable, null: false, default: true t.boolean :discovery, null: false, default: true t.boolean :sharing, null: false, default: true t.boolean :multiple_membership, null: false, default: true t.boolean :require_membership, null: false, default: false t.boolean :workflow, null: false, default: false t.boolean :visibility, null: false, default: false end add_index :hyrax_collection_types, :machine_id end end
Version data entries
61 entries across 61 versions & 1 rubygems