Files
sx-fc/db/migrate/20170825090115_create_commissioners.rb
2017-08-28 18:17:22 +06:30

16 lines
399 B
Ruby

class CreateCommissioners < ActiveRecord::Migration[5.1]
# rake db:migrate:down VERSION=20170825090115
def change
create_table :commissioners do |t|
t.string :name
t.string :emp_id
t.string :created_by
t.string :commission_id
t.datetime :joined_date
t.datetime :resigned_date
t.boolean :is_active, default: true
t.timestamps
end
end
end