commission update -> change route under settings
This commit is contained in:
15
db/migrate/20170825090115_create_commissioners.rb
Normal file
15
db/migrate/20170825090115_create_commissioners.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
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.integer :commission_id
|
||||
t.datetime :joined_date
|
||||
t.datetime :resigned_date
|
||||
t.boolean :is_active, default: true
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user