before adding users

This commit is contained in:
Jason Jordan
2026-04-20 12:12:52 -04:00
parent 7ab1143db8
commit 1d9025276d
21 changed files with 286 additions and 185 deletions
@@ -9,6 +9,7 @@ class CreateEmployers < ActiveRecord::Migration[7.2]
t.string :group_number
t.string :effective_date
t.boolean :active, default: false
t.boolean :initialized, default: false
t.timestamps
end
@@ -7,9 +7,10 @@ class CreateIdCardSetups < ActiveRecord::Migration[7.2]
t.string :card_color
t.string :rx_group_number
t.string :pl_plan_key
t.boolean :active, default: false
t.boolean :has_divisions, default: false
t.boolean :has_dental, default: false
t.boolean :active, default: false
t.boolean :initialized, default: false
t.belongs_to :employer, null: false, foreign_key: true
t.belongs_to :employer_logo, null: true, foreign_key: { to_table: :id_card_employer_logos }
t.belongs_to :network_logo, null: true, foreign_key: { to_table: :id_card_network_logos }
+3 -1
View File
@@ -20,6 +20,7 @@ ActiveRecord::Schema[7.2].define(version: 2026_04_08_210447) do
t.string "group_number"
t.string "effective_date"
t.boolean "active", default: false
t.boolean "initialized", default: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
@@ -239,9 +240,10 @@ ActiveRecord::Schema[7.2].define(version: 2026_04_08_210447) do
t.string "card_color"
t.string "rx_group_number"
t.string "pl_plan_key"
t.boolean "active", default: false
t.boolean "has_divisions", default: false
t.boolean "has_dental", default: false
t.boolean "active", default: false
t.boolean "initialized", default: false
t.bigint "employer_id", null: false
t.bigint "employer_logo_id"
t.bigint "network_logo_id"
+1
View File
@@ -15,6 +15,7 @@
"seed_tasks:determine_network_fields",
"seed_tasks:determine_employer_fields",
"seed_tasks:build_plans",
"seed_tasks:build_members"
]