Sha256: 88ba09112f1443ed11f5e1fb8322ba860f9b3b216b368c3602a4fffa895f36cd

Contents?: true

Size: 352 Bytes

Versions: 6

Compression:

Stored size: 352 Bytes

Contents

class CreateCasUsers < ActiveRecord::Migration[5.0]
  def change
    create_table :cas_users, id: :uuid do |t|
      t.string :name, null: false
      t.string :login
      t.string :password, null: false
      t.uuid :author_id
      t.string :roles, array: true, default: []

      t.timestamps
    end
    add_index :cas_users, :author_id
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cas-cms-1.0.0.alpha2 db/migrate/20170612204500_create_cas_users.rb
cas-cms-1.0.0.alpha1 db/migrate/20170612204500_create_cas_users.rb
cas-cms-0.1.3 db/migrate/20170612204500_create_cas_users.rb
cas-cms-0.1.2 db/migrate/20170612204500_create_cas_users.rb
cas-cms-0.1.1 db/migrate/20170612204500_create_cas_users.rb
cas-cms-0.1.0 db/migrate/20170612204500_create_cas_users.rb