summaryrefslogtreecommitdiff
path: root/rvh
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-15 13:41:23 -0600
committermo khan <mo.khan@gmail.com>2020-03-15 13:41:23 -0600
commit80dbb9c6707eff038eec90df2420b2147149e47a (patch)
tree3ec9abce1d43e4761548b23e5bbf10546259fc90 /rvh
parent390bf52d92216af1538f1a0ea2c2fe4615f53c97 (diff)
Mark qualifications as an array column
Diffstat (limited to 'rvh')
-rw-r--r--rvh/db/migrate/20200315181211_create_employees.rb2
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