automate employer setup import from word and manual entry working
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
class CreateEmployerSetupProcesses < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :employer_setup_processes do |t|
|
||||
t.string :employer_name
|
||||
t.string :group_number
|
||||
t.string :effect_date
|
||||
t.string :logo_filename
|
||||
t.string :form_method
|
||||
t.string :status
|
||||
t.string :current_step
|
||||
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
class CreatePlans < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :plans do |t|
|
||||
t.string :title
|
||||
|
||||
t.references :employer_setup_process, null: false, foreign_key: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,12 @@
|
||||
class CreatePlanBenefits < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :plan_benefits do |t|
|
||||
t.string :benefit_desc
|
||||
t.string :benefit
|
||||
t.integer :sequence
|
||||
t.references :plan, null: false, foreign_key: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user