commissioner scaffold
This commit is contained in:
12
db/migrate/20170818090115_create_commissioners.rb
Normal file
12
db/migrate/20170818090115_create_commissioners.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class CreateCommissioners < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
create_table :commissioners do |t|
|
||||
t.string :name, :null => false
|
||||
t.string :emp_id
|
||||
t.string :created_by
|
||||
t.string :commission_type
|
||||
t.boolean :is_active
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user