commissioner scaffold

This commit is contained in:
Zin Lin Phyo
2017-08-21 13:30:04 +06:30
parent 06619d30dc
commit 7b0db433c4
26 changed files with 586 additions and 50 deletions

View 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