Sha256: a97907d60c9ba2e05812bcea120dfbd74bba6b02da76cd75e091f332c1431096
Contents?: true
Size: 587 Bytes
Versions: 1
Compression:
Stored size: 587 Bytes
Contents
class AddUserinfoToUsers < ActiveRecord::Migration[6.0] def change add_column :phcdevworks_accounts_users, :firstname, :string add_column :phcdevworks_accounts_users, :lastname, :string add_column :phcdevworks_accounts_users, :username, :string add_column :phcdevworks_accounts_users, :org_id, :string add_index :phcdevworks_accounts_users, :firstname add_index :phcdevworks_accounts_users, :lastname add_index :phcdevworks_accounts_users, :username, unique: true add_index :phcdevworks_accounts_users, :org_id, unique: true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phcdevworks_accounts-3.3.0 | db/migrate/20191012060241_add_userinfo_to_users.rb |