From 80dbb9c6707eff038eec90df2420b2147149e47a Mon Sep 17 00:00:00 2001 From: mo khan Date: Sun, 15 Mar 2020 13:41:23 -0600 Subject: Mark qualifications as an array column --- rvh/db/migrate/20200315181211_create_employees.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3