Sha256: bf5d3b0c407f9aab14650d9024672178a78bdfa777333c726c23e9969362042e

Contents?: true

Size: 294 Bytes

Versions: 15

Compression:

Stored size: 294 Bytes

Contents

class CreatePermissionTemplate < ActiveRecord::Migration[4.2]
  def change
    create_table :permission_templates do |t|
      t.belongs_to :workflow
      t.string :admin_set_id
      t.string :visibility
      t.timestamps
    end
    add_index :permission_templates, :admin_set_id
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hyrax-1.1.1 db/migrate/20161021175854_create_permission_template.rb
hyrax-1.1.0 db/migrate/20161021175854_create_permission_template.rb
hyrax-2.0.0 db/migrate/20161021175854_create_permission_template.rb
hyrax-2.0.0.rc3 db/migrate/20161021175854_create_permission_template.rb
hyrax-2.0.0.rc2 db/migrate/20161021175854_create_permission_template.rb
hyrax-2.0.0.rc1 db/migrate/20161021175854_create_permission_template.rb
hyrax-1.0.5 db/migrate/20161021175854_create_permission_template.rb
hyrax-2.0.0.beta5 db/migrate/20161021175854_create_permission_template.rb
hyrax-2.0.0.beta4 db/migrate/20161021175854_create_permission_template.rb
hyrax-2.0.0.beta3 db/migrate/20161021175854_create_permission_template.rb
hyrax-2.0.0.beta2 db/migrate/20161021175854_create_permission_template.rb
hyrax-2.0.0.beta1 db/migrate/20161021175854_create_permission_template.rb
hyrax-1.0.4 db/migrate/20161021175854_create_permission_template.rb
hyrax-1.0.3 db/migrate/20161021175854_create_permission_template.rb
hyrax-1.0.2 db/migrate/20161021175854_create_permission_template.rb