12 lines
406 B
Ruby
12 lines
406 B
Ruby
class AddDetailsToUsers < ActiveRecord::Migration[7.1]
|
|
def change
|
|
add_column :users, :first_name, :string
|
|
add_column :users, :last_name, :string
|
|
add_column :users, :phone, :string
|
|
add_column :users, :company, :string
|
|
add_column :users, :access_revoked, :boolean, default: false
|
|
add_column :users, :access_start_date, :date
|
|
add_column :users, :access_end_date, :date
|
|
end
|
|
end
|