diff options
| author | mo khan <mo.khan@gmail.com> | 2020-03-15 13:41:23 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-03-15 13:41:23 -0600 |
| commit | 80dbb9c6707eff038eec90df2420b2147149e47a (patch) | |
| tree | 3ec9abce1d43e4761548b23e5bbf10546259fc90 /rvh | |
| parent | 390bf52d92216af1538f1a0ea2c2fe4615f53c97 (diff) | |
Mark qualifications as an array column
Diffstat (limited to 'rvh')
| -rw-r--r-- | rvh/db/migrate/20200315181211_create_employees.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rvh/db/migrate/20200315181211_create_employees.rb b/rvh/db/migrate/20200315181211_create_employees.rb index 6196c7c..b7bfd5f 100644 --- a/rvh/db/migrate/20200315181211_create_employees.rb +++ b/rvh/db/migrate/20200315181211_create_employees.rb @@ -4,7 +4,7 @@ class CreateEmployees < ActiveRecord::Migration[6.0] t.references :account, null: false, foreign_key: true t.string :type t.datetime :hired_at - t.text :qualifications # physician.specialty, technician.skill, nurse.certification + t.text :qualifications, array: true # physician.specialty, technician.skill, nurse.certification t.timestamps end add_index :employees, :type |
