Sha256: 114892d42a8324f1bac0d140d87de14bdd71e8c13914b9ddbc937d6a8940636c
Contents?: true
Size: 572 Bytes
Versions: 43
Compression:
Stored size: 572 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
43 entries across 43 versions & 1 rubygems