Sha256: 89f422ed5d85a4c084506c81f58835ed8fe5ed495a42fc515bb2e5402b1c5143

Contents?: true

Size: 310 Bytes

Versions: 15

Compression:

Stored size: 310 Bytes

Contents

class CreateAdminUserTypes < ActiveRecord::Migration[5.0]
  def change
    create_table :user_types do |t|
      t.string :name
      t.text :comment
      t.string :symbol
      t.integer :auth_level

      t.timestamps

      t.index :name, unique: true
      t.index :symbol, unique: true
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rails-acu-4.1.0 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb
rails-acu-4.0.2 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb
rails-acu-4.0.1 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb
rails-acu-4.0.0 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb
rails-acu-3.0.8 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb
rails-acu-3.0.7 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb
rails-acu-3.0.6 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb
rails-acu-3.0.3 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb
rails-acu-3.0.1 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb
rails-acu-3.0.0 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb
rails-acu-2.2.0 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb
rails-acu-2.1.0 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb
rails-acu-2.0.0 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb
rails-acu-1.3.0 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb
rails-acu-1.2.1 spec/dummy/db/migrate/20170329120950_create_admin_user_types.rb