active_mocker 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ module ActiveMocker
2
+
3
+ class Field
4
+
5
+ attr_reader :name, :type, :options
6
+
7
+ def initialize(name: name, type: type, options: options)
8
+ @name = name
9
+ @type = type
10
+ @options = options
11
+ create_option_methods
12
+ end
13
+
14
+ def to_h
15
+ {name: name, type: type, options: options}
16
+ end
17
+
18
+ def create_option_methods
19
+ options.each do |opt|
20
+ key, value = opt.first
21
+ self.instance_variable_set("@#{key}", value)
22
+ define_singleton_method(key) {instance_variable_get("@#{key}")}
23
+ end
24
+ end
25
+
26
+ end
27
+
28
+ end
@@ -0,0 +1,63 @@
1
+ module ActiveMocker
2
+
3
+ class ModelReader
4
+
5
+ attr_reader :model_name, :relative_path, :file_reader
6
+
7
+ def initialize(options={})
8
+ @file_reader = options[:file_reader] ||= FileReader
9
+ @relative_path = options[:path]
10
+ end
11
+
12
+ def parse(model_name)
13
+ @model_name = model_name
14
+ klass
15
+ self
16
+ end
17
+
18
+ def klass
19
+ @klass ||= eval_file
20
+ end
21
+
22
+ def eval_file
23
+ m = Module.new
24
+ m.module_eval(read_file)
25
+ m.const_get m.constants.first
26
+ end
27
+
28
+ def read_file
29
+ file_reader.read("#{relative_path}/#{model_name}.rb")
30
+ end
31
+
32
+ def class_methods
33
+ (klass.methods - Object.methods - instance_methods - ActiveRecord::Base.methods)
34
+ end
35
+
36
+ def class_methods_with_arguments
37
+ class_methods.map do |m|
38
+ {m => klass.method(m).parameters }
39
+ end
40
+ end
41
+
42
+ def instance_methods_with_arguments
43
+ instance_methods.map do |m|
44
+ {m => klass.new.method(m).parameters }
45
+ end
46
+ end
47
+
48
+ def instance_methods
49
+ klass.public_instance_methods(false)
50
+ end
51
+
52
+ def relationships_types
53
+ klass.relationships
54
+ end
55
+
56
+ def relationships
57
+ relationships_types.to_h.values.flatten
58
+ end
59
+
60
+ end
61
+
62
+ end
63
+
@@ -0,0 +1,21 @@
1
+ class Reparameterize
2
+
3
+ def self.call(params, list=false)
4
+ return params.map{|state, param| param }.join(", ") if list
5
+
6
+ params.map do |state, param|
7
+ case state
8
+ when :req
9
+ param
10
+ when :rest
11
+ "*#{param}"
12
+ when :opt
13
+ "#{param}=nil"
14
+ else
15
+ param
16
+ end
17
+ end.join(", ")
18
+
19
+ end
20
+
21
+ end
@@ -0,0 +1,46 @@
1
+ module ActiveMocker
2
+
3
+ class SchemaReader
4
+
5
+ attr_reader :model_name, :relative_path, :file_reader, :table
6
+
7
+ def initialize(options={})
8
+ @file_reader = options[:file_reader] ||= FileReader
9
+ @relative_path = options[:path]
10
+ end
11
+
12
+ def search(model_name)
13
+ @model_name = model_name
14
+ @table = search_schema_file
15
+ end
16
+
17
+ private
18
+
19
+ def table_name
20
+ model_name
21
+ end
22
+
23
+ def not_found
24
+ raise "#{table_name} table not found." if @schema_result.nil?
25
+ end
26
+
27
+ def search_schema_file
28
+ ActiveMocker::ActiveRecord::Schema.search(table_name)
29
+ @schema_result = eval_file
30
+ not_found
31
+ @schema_result
32
+ end
33
+
34
+ def eval_file
35
+ m = Module.new
36
+ m.module_eval(read_file)
37
+ end
38
+
39
+ def read_file
40
+ file_reader.read("#{relative_path}/schema.rb")
41
+ end
42
+
43
+ end
44
+
45
+ end
46
+
@@ -0,0 +1,22 @@
1
+ module ActiveMocker
2
+
3
+ class Table
4
+
5
+ attr_reader :name, :fields
6
+
7
+ def initialize(name, fields=[])
8
+ @name = name
9
+ @fields = fields
10
+ end
11
+
12
+ def to_h
13
+ {name: name, fields: fields.to_h}
14
+ end
15
+
16
+ def column_names
17
+ fields.map { |f| f.name }
18
+ end
19
+
20
+ end
21
+
22
+ end
@@ -0,0 +1,3 @@
1
+ module ActiveMocker
2
+ VERSION = "0.1.1"
3
+ end
@@ -0,0 +1,7 @@
1
+ class FileReader
2
+
3
+ def self.read(file_and_path)
4
+ File.open(file_and_path).read
5
+ end
6
+
7
+ end
@@ -0,0 +1,9 @@
1
+ class StringReader
2
+ def initialize(file)
3
+ @read = file
4
+ end
5
+
6
+ def read(path)
7
+ @read
8
+ end
9
+ end
@@ -0,0 +1,2721 @@
1
+ require 'rspec'
2
+ $:.unshift File.expand_path('../../', __FILE__)
3
+
4
+ require 'active_mocker/table'
5
+ require 'active_mocker/field'
6
+ require 'active_mocker/active_record/schema'
7
+ require 'active_mocker/model_reader'
8
+
9
+ describe ActiveMocker::ActiveRecord::Schema do
10
+
11
+ after do
12
+ described_class.clear_cache
13
+ end
14
+
15
+
16
+ it 'run' do
17
+
18
+ described_class.search('advisor_fee_groups')
19
+
20
+ result = described_class.define(version: 1) do
21
+
22
+ create_table "advisor_fee_groups", force: true do |t|
23
+ t.integer "service_fee_id_legacy"
24
+ t.integer "plan_id", limit: 8
25
+ t.string "name", limit: 64
26
+ t.string "description", limit: 256
27
+ t.boolean "effective_immediately", precision: 23
28
+ t.boolean "delayed_effective_date"
29
+ t.date "effective_date"
30
+ t.integer "plan_tiered_fees_template_id"
31
+ end
32
+
33
+ create_table "advisor_fee", force: true do |t|
34
+ t.integer "service_fee_id_legacy"
35
+ t.integer "plan_id", limit: 8
36
+ t.string "name", limit: 64
37
+ t.string "description", limit: 256
38
+ t.boolean "effective_immediately"
39
+ t.boolean "delayed_effective_date"
40
+ t.date "effective_date"
41
+ t.integer "plan_tiered_fees_template_id"
42
+ end
43
+
44
+ add_index "admin_users", ["email"], name: "index_admin_users_on_email", unique: true, using: :btree
45
+
46
+ end
47
+
48
+ expect(result.name).to eq('advisor_fee_groups')
49
+ expect(described_class.search_cache('advisor_fee_groups').name).to eq 'advisor_fee_groups'
50
+
51
+
52
+ end
53
+
54
+ it 'does not break' do
55
+
56
+ described_class.search('rating_agencies')
57
+
58
+ result = described_class.define(version: 20140327205359) do
59
+
60
+ create_table "admin_users", force: true do |t|
61
+ t.string "email", default: "", null: false
62
+ t.string "encrypted_password", default: "", null: false
63
+ t.string "reset_password_token"
64
+ t.datetime "reset_password_sent_at"
65
+ t.datetime "remember_created_at"
66
+ t.integer "sign_in_count", default: 0, null: false
67
+ t.datetime "current_sign_in_at"
68
+ t.datetime "last_sign_in_at"
69
+ t.string "current_sign_in_ip"
70
+ t.string "last_sign_in_ip"
71
+ t.datetime "created_at"
72
+ t.datetime "updated_at"
73
+ end
74
+
75
+ add_index "admin_users", ["email"], name: "index_admin_users_on_email", unique: true, using: :btree
76
+ add_index "admin_users", ["reset_password_token"], name: "index_admin_users_on_reset_password_token", unique: true, using: :btree
77
+
78
+ create_table "advisor_additonal_data", force: true do |t|
79
+ t.integer "user_id"
80
+ t.integer "finra_advisor_id"
81
+ t.integer "bd_ria_organization_advisor_id"
82
+ t.boolean "principal"
83
+ t.boolean "osj_status"
84
+ t.string "osj_email", limit: 150
85
+ t.integer "form_adv_locator"
86
+ t.string "website", limit: 150
87
+ t.string "team_name", limit: 150
88
+ t.boolean "advisor_psm_on_summary_page"
89
+ t.decimal "rank_factor_investments", precision: 7, scale: 4
90
+ t.decimal "rank_factor_vendor_mgmt", precision: 7, scale: 4
91
+ t.decimal "rank_factor_plan_mgmt", precision: 7, scale: 4
92
+ t.decimal "rank_factor_part_services", precision: 7, scale: 4
93
+ t.date "disclosure_408_b_2_subscription_date"
94
+ t.date "dc_benchmarking_subscription_date"
95
+ t.date "disclosure_403b_457_benchmarking_subscription_date"
96
+ t.date "db_benchmarking_subscription_date"
97
+ t.date "retirement_outcomes_evaluation_subscription_date"
98
+ t.date "plan_profile_subscription_date"
99
+ t.date "provider_5500_subscription_date"
100
+ t.date "disclosure_408_b_2_expiration_date"
101
+ t.date "dc_benchmarking_expiration_date"
102
+ t.date "disclosure_403b_457_benchmarking_expiration_date"
103
+ t.date "db_benchmarking_expiration_date"
104
+ t.date "retirement_outcomes_evaluation_expiration_date"
105
+ t.date "plan_profile_expiration_date"
106
+ t.date "provider_5500_expiration_date"
107
+ end
108
+
109
+ create_table "advisor_additonal_data_principal_exams", id: false, force: true do |t|
110
+ t.integer "AdvisorAdditonalDatum_id"
111
+ t.integer "PrincipalExam_id"
112
+ end
113
+
114
+ create_table "advisor_additonal_data_reg_rep_exams", id: false, force: true do |t|
115
+ t.integer "AdvisorAdditonalDatum_id"
116
+ t.integer "RegRepExam_id"
117
+ end
118
+
119
+ create_table "advisor_fee_groups", force: true do |t|
120
+ t.integer "service_fee_id_legacy"
121
+ t.integer "plan_id"
122
+ t.string "name", limit: 64
123
+ t.string "description", limit: 256
124
+ t.boolean "effective_immediately"
125
+ t.boolean "delayed_effective_date"
126
+ t.date "effective_date"
127
+ t.integer "plan_tiered_fees_template_id"
128
+ end
129
+
130
+ create_table "advisor_fee_single_templates", force: true do |t|
131
+ t.integer "advisor_fee_template_id"
132
+ t.integer "advisor_service_separate_fees_template_id"
133
+ t.integer "service_master_id"
134
+ t.integer "fee_type_id"
135
+ t.decimal "amount_percent", precision: 7, scale: 4
136
+ t.integer "amount_dollar"
137
+ t.integer "annual_hours"
138
+ t.integer "timing_type_id"
139
+ t.integer "payment_term_id"
140
+ t.string "payor", limit: 128
141
+ t.integer "payor_type_id"
142
+ end
143
+
144
+ create_table "advisor_fee_singles", force: true do |t|
145
+ t.integer "advisor_fee_group_id"
146
+ t.integer "advisor_service_separate_fee_group_id"
147
+ t.integer "advisor_service_single_id"
148
+ t.integer "fee_type_id"
149
+ t.decimal "amount_percent", precision: 7, scale: 4
150
+ t.integer "amount_dollar"
151
+ t.integer "annual_hours"
152
+ t.integer "timing_type_id"
153
+ t.integer "payment_term_id"
154
+ t.string "payor", limit: 128
155
+ t.integer "payor_type_id"
156
+ end
157
+
158
+ create_table "advisor_fee_templates", force: true do |t|
159
+ t.integer "advisor_template_id_legacy"
160
+ t.integer "user_id"
161
+ t.string "name", limit: 100
162
+ t.string "description", limit: 500
163
+ t.boolean "effective_immediately"
164
+ t.boolean "delayed_effective_date"
165
+ t.date "effective_date"
166
+ end
167
+
168
+ create_table "advisor_fee_tier_set_templates", force: true do |t|
169
+ t.integer "advisor_fees_template_id"
170
+ t.string "name", limit: 63
171
+ t.string "description"
172
+ end
173
+
174
+ create_table "advisor_fee_tier_sets", force: true do |t|
175
+ t.integer "plan_id"
176
+ t.integer "advisor_fee_tier_set_template_id"
177
+ t.string "name", limit: 64
178
+ t.string "description", limit: 64
179
+ end
180
+
181
+ create_table "advisor_fee_tier_templates", force: true do |t|
182
+ t.integer "advisor_fee_tier_set_template_id"
183
+ t.integer "index"
184
+ t.integer "range_top"
185
+ t.decimal "fee_percent", precision: 5, scale: 2
186
+ t.integer "fee_amount"
187
+ end
188
+
189
+ create_table "advisor_fee_tiers", force: true do |t|
190
+ t.integer "advisor_fee_tier_set_id"
191
+ t.integer "index"
192
+ t.integer "range_top"
193
+ t.decimal "fee_percent", precision: 5, scale: 2
194
+ t.integer "fee_amount"
195
+ end
196
+
197
+ create_table "advisor_product_guides", force: true do |t|
198
+ t.integer "plan_id"
199
+ t.integer "rk_tpa_list_id"
200
+ t.string "product_guide_name", limit: 100
201
+ t.string "product_guide_description", limit: 500
202
+ t.integer "user_advisor_svc_template_id"
203
+ t.integer "user_advisor_svc_separate_fees_id"
204
+ t.integer "user_advisor_fee_template_id"
205
+ t.integer "user_tiered_fees_template_id"
206
+ t.integer "user_advisor_solicitor_fees_id"
207
+ end
208
+
209
+ create_table "advisor_service_groups", force: true do |t|
210
+ t.integer "service_fees_id_legacy"
211
+ t.integer "plan_id"
212
+ t.integer "user_id"
213
+ t.string "name", limit: 100
214
+ t.string "description", limit: 500
215
+ t.integer "plan_advisor_service_separate_fees_id"
216
+ t.integer "fiduciary_status_plan"
217
+ t.integer "fiduciary_status_models"
218
+ t.integer "fiduciary_status_participants"
219
+ end
220
+
221
+ create_table "advisor_service_sep_fee_groups", force: true do |t|
222
+ t.integer "plan_id"
223
+ t.integer "advisor_service_separate_fees_template_id"
224
+ t.string "name", limit: 64
225
+ t.string "description", limit: 64
226
+ end
227
+
228
+ create_table "advisor_service_separate_fees_templates", force: true do |t|
229
+ t.integer "user_id"
230
+ t.string "name", limit: 64
231
+ t.string "description", limit: 64
232
+ end
233
+
234
+ create_table "advisor_solicitor_fee_templates", force: true do |t|
235
+ t.integer "user_id"
236
+ t.string "name", limit: 64
237
+ t.string "description", limit: 64
238
+ t.string "provider_description", limit: 64
239
+ t.integer "interval_id"
240
+ t.string "solicitor_fee_timing", limit: 64
241
+ t.integer "payor_type_id"
242
+ t.integer "amount_dollar"
243
+ t.decimal "amount_bps", precision: 7, scale: 4
244
+ end
245
+
246
+ create_table "advisor_solicitor_fees", force: true do |t|
247
+ t.integer "plan_id"
248
+ t.string "name", limit: 64
249
+ t.string "description", limit: 64
250
+ t.string "provider_description", limit: 64
251
+ t.integer "interval_id"
252
+ t.string "solicitor_fee_timing", limit: 64
253
+ t.integer "payor_type_id"
254
+ t.integer "amount_dollar"
255
+ t.decimal "amount_bps", precision: 7, scale: 4
256
+ end
257
+
258
+ create_table "alder_frequency_types", force: true do |t|
259
+ t.string "name"
260
+ end
261
+
262
+ create_table "alder_plans", force: true do |t|
263
+ t.integer "user_id"
264
+ t.integer "participants_count"
265
+ t.string "name"
266
+ end
267
+
268
+ create_table "annuity_rates", force: true do |t|
269
+ t.decimal "annuity_conversion_rate_per_1000", precision: 8, scale: 2
270
+ t.string "insurance_company_name", limit: 100
271
+ t.date "quarter_end"
272
+ end
273
+
274
+ create_table "bd_ria_clients", force: true do |t|
275
+ t.integer "client_id"
276
+ t.decimal "rank_factor_investments", precision: 7, scale: 4
277
+ t.decimal "rank_factor_vendor_mgmt", precision: 7, scale: 4
278
+ t.decimal "rank_factor_plan_mgmt", precision: 7, scale: 4
279
+ t.decimal "rank_factor_part_services", precision: 7, scale: 4
280
+ t.boolean "is_advisor_psm_on_summary_page"
281
+ t.boolean "is_allow_psm_override_by_advisor"
282
+ t.integer "408b2_bd_brokerage_fees_chart_location"
283
+ t.integer "408b2_bd_brokerage_fees_for_services_chart_location"
284
+ t.decimal "408b2_bd_minimum_payout_percentages", precision: 7, scale: 4
285
+ t.decimal "408b2_bd_maximum_payout_percentages", precision: 7, scale: 4
286
+ end
287
+
288
+ create_table "bd_ria_product_guides", force: true do |t|
289
+ t.integer "client_id"
290
+ t.string "name", limit: 30
291
+ t.string "description", limit: 150
292
+ end
293
+
294
+ create_table "benchmark_reports", force: true do |t|
295
+ t.integer "report_id"
296
+ t.integer "payor_profile_id_future"
297
+ t.boolean "v2_investments_chapter"
298
+ t.boolean "v2_recordkeeper_chapter"
299
+ t.boolean "v2_tpa_chapter"
300
+ t.boolean "v2_advisor_chapter"
301
+ t.boolean "v2_retirement_readiness_chapter"
302
+ t.boolean "2_pager_recordkeeper_chapter"
303
+ t.boolean "2_pager_tpa_chapter"
304
+ t.boolean "2_pager_advisor_chapter"
305
+ t.boolean "plan_profile"
306
+ t.integer "report_creation_type_id"
307
+ t.date "report_initiated_date"
308
+ t.date "desired_report_delivery_date"
309
+ t.date "targeted_report_delivery_date"
310
+ t.date "actual_report_completion_date"
311
+ t.date "actual_report_delivery_date"
312
+ t.date "actual_report_download_date"
313
+ t.integer "report_location"
314
+ t.string "investment_data_status", limit: 10
315
+ t.string "stable_value_data_status", limit: 10
316
+ t.string "general_account_data_status", limit: 10
317
+ t.string "plan_other_fees_status", limit: 10
318
+ t.string "participant_activity_fees_status", limit: 10
319
+ t.string "managed_account_fees_status", limit: 10
320
+ t.string "self_directed_fees_status", limit: 10
321
+ t.string "plan_complexity_status", limit: 10
322
+ t.string "participant_success_measures_status", limit: 10
323
+ t.string "recordkeeper_services_status", limit: 10
324
+ t.string "tpa_services_status", limit: 10
325
+ t.string "advisor_services_status", limit: 10
326
+ t.string "cover_page_status", limit: 10
327
+ t.integer "investment_data_status_last_edit_user_id_future"
328
+ t.integer "stable_value_data_status_last_edit_user_id_future"
329
+ t.integer "general_account_data_status_last_edit_user_id_future"
330
+ t.integer "plan_other_fees_status_last_edit_user_id_future"
331
+ t.integer "participant_activity_fees_status_last_edit_user_id_future"
332
+ t.integer "managed_account_fees_status_last_edit_user_id_future"
333
+ t.integer "self_directed_fees_status_last_edit_user_id_future"
334
+ t.integer "plan_complexity_status_last_edit_user_id_future"
335
+ t.integer "participant_success_measures_status_last_edit_user_id_future"
336
+ t.integer "recordkeeper_services_status_last_edit_user_id_future"
337
+ t.integer "tpa_services_status_last_edit_user_id_future"
338
+ t.integer "advisor_services_status_last_edit_user_id_future"
339
+ t.integer "cover_page_status_last_edit_user_id_future"
340
+ t.date "investment_data_status_last_edit_date"
341
+ t.date "stable_value_data_status_last_edit_date"
342
+ t.date "general_account_data_status_last_edit_date"
343
+ t.date "plan_other_fees_status_last_edit_date"
344
+ t.date "participant_activity_fees_status_last_edit_date"
345
+ t.date "managed_account_fees_status_last_edit_date"
346
+ t.date "self_directed_fees_status_last_edit_date"
347
+ t.date "plan_complexity_status_last_edit_date"
348
+ t.date "participant_success_measures_status_last_edit_date"
349
+ t.date "recordkeeper_services_status_last_edit_date"
350
+ t.date "tpa_services_status_last_edit_date"
351
+ t.date "advisor_services_status_last_edit_date"
352
+ t.date "cover_page_status_last_edit_date"
353
+ t.integer "report_status_id"
354
+ t.text "report_notes"
355
+ t.date "report_data_set_date"
356
+ t.integer "report_data_set_string"
357
+ t.text "report_data_set_notes"
358
+ t.integer "billing_amount"
359
+ t.integer "billing_status"
360
+ t.integer "inv_benchmark_group_id"
361
+ t.date "inv_benchmark_group_id_date"
362
+ t.integer "rk_benchmark_group_id"
363
+ t.date "rk_benchmark_group_id_date"
364
+ t.integer "tpa_benchmark_group_id"
365
+ t.date "tpa_benchmark_group_id_date"
366
+ t.integer "advisor_benchmark_group_id"
367
+ t.date "advisor_benchmark_group_id_date"
368
+ t.integer "plan_complexity_fees_benchmark_group_id"
369
+ t.date "plan_complexity_fees_benchmark_group_id_date"
370
+ t.integer "naics_2_digit_plan_complexity_benchmark_group_id"
371
+ t.date "naics_2_digit_plan_complexity_benchmark_group_date"
372
+ t.integer "naics_3_digit_plan_complexity_benchmark_group_id"
373
+ t.date "naics_3_digit_plan_complexity_benchmark_group_date"
374
+ t.integer "naics_2_digit_part_success_metrics_benchmark_group_id"
375
+ t.date "naics_2_digit_part_success_metrics_benchmark_group_date"
376
+ t.integer "naics_3_digit_part_success_metrics_benchmark_group_id"
377
+ t.date "naics_3_digit_part_success_metrics_benchmark_group_date"
378
+ t.integer "naics_2_digit_employer_contribution_benchmark_group_id"
379
+ t.date "naics_2_digit_employer_contribution_benchmark_group_date"
380
+ t.integer "naics_3_digit_employer_contribution_benchmark_group_id"
381
+ t.date "naics_3_digit_employer_contribution_benchmark_group_date"
382
+ t.integer "rk_feedback_question_1"
383
+ t.integer "rk_feedback_question_2"
384
+ t.integer "rk_feedback_question_3"
385
+ t.integer "rk_feedback_question_4"
386
+ t.date "rk_feedback_question_5"
387
+ t.decimal "rk_feedback_question_6", precision: 5, scale: 2
388
+ t.decimal "rk_feedback_question_7", precision: 5, scale: 2
389
+ t.integer "rk_feedback_question_8"
390
+ t.integer "rk_feedback_question_9"
391
+ t.integer "rk_feedback_question_10"
392
+ t.integer "rk_feedback_question_11"
393
+ t.integer "tpa_feedback_question_1"
394
+ t.integer "tpa_feedback_question_2"
395
+ t.integer "tpa_feedback_question_3"
396
+ t.integer "tpa_feedback_question_4"
397
+ t.date "tpa_feedback_question_5"
398
+ t.decimal "tpa_feedback_question_6", precision: 5, scale: 2
399
+ t.integer "tpa_feedback_question_8"
400
+ t.integer "tpa_feedback_question_9"
401
+ t.integer "tpa_feedback_question_10"
402
+ t.integer "tpa_feedback_question_11"
403
+ t.integer "advisor_feedback_question_1"
404
+ t.integer "advisor_feedback_question_2"
405
+ t.integer "advisor_feedback_question_3"
406
+ t.integer "advisor_feedback_question_4"
407
+ t.integer "advisor_feedback_question_5"
408
+ t.date "advisor_feedback_question_6"
409
+ t.integer "advisor_feedback_question_7"
410
+ t.integer "advisor_feedback_question_8"
411
+ t.integer "advisor_feedback_question_9"
412
+ t.integer "advisor_feedback_question_10"
413
+ t.integer "advisor_feedback_question_11"
414
+ t.integer "dcio_feedback_question_1"
415
+ t.integer "dcio_feedback_question_2"
416
+ t.integer "dcio_feedback_question_3"
417
+ t.integer "dcio_feedback_question_4"
418
+ t.integer "dcio_feedback_question_5"
419
+ t.integer "plan_sponsor_feedback_question_2"
420
+ t.integer "plan_sponsor_feedback_question_3"
421
+ t.integer "plan_sponsor_feedback_question_4"
422
+ t.integer "plan_sponsor_feedback_question_5"
423
+ t.date "plan_sponsor_feedback_question_6"
424
+ t.integer "plan_sponsor_feedback_question_8"
425
+ t.integer "plan_sponsor_feedback_question_9"
426
+ t.integer "plan_sponsor_feedback_question_10"
427
+ t.integer "plan_sponsor_feedback_question_11"
428
+ end
429
+
430
+ create_table "bmg_advisor_investment_fees", force: true do |t|
431
+ t.integer "market_segment_id"
432
+ t.integer "fbi_asset_class_id"
433
+ t.integer "investment_strategy_id"
434
+ t.decimal "to_advisor_25th", precision: 8, scale: 5
435
+ t.decimal "to_advisor_50th", precision: 8, scale: 5
436
+ t.decimal "to_advisor_75th", precision: 8, scale: 5
437
+ end
438
+
439
+ create_table "bmg_advisor_masters", force: true do |t|
440
+ t.date "vintage_date"
441
+ t.integer "advisor_bmg_assets_low"
442
+ t.integer "advisor_bmg_assets_50th"
443
+ t.integer "advisor_bmg_assets_high"
444
+ t.decimal "advisor_bmg_correlation_coefficient", precision: 6, scale: 3
445
+ t.decimal "advisor_bmg_regressionline_slope_value", precision: 8, scale: 5
446
+ t.decimal "advisor_bmg_regressionline_constant_value", precision: 7, scale: 2
447
+ t.integer "advisor_total_plans"
448
+ t.integer "advisor_planstype_401k"
449
+ t.integer "advisor_planstype_403b"
450
+ t.integer "advisor_planstype_other"
451
+ t.integer "advisor_plans_insco"
452
+ t.integer "advisor_plans_mutualfunds"
453
+ t.integer "advisor_plans_bank"
454
+ t.integer "advisor_plans_tpa"
455
+ t.integer "advisor_plans_other"
456
+ t.integer "advisor_total_rks"
457
+ t.integer "advisor_rkbusinessmodel_insco"
458
+ t.integer "advisor_rkbusinessmodel_mutualfunds"
459
+ t.integer "advisor_rkbusinessmodel_bank"
460
+ t.integer "advisor_rkbusinessmodel_tpa"
461
+ t.integer "advisor_rkbusinessmodel_other"
462
+ t.decimal "advisor_totalfees_amt_5th", precision: 12, scale: 2
463
+ t.decimal "advisor_totalfees_amt_25th", precision: 12, scale: 2
464
+ t.decimal "advisor_totalfees_amt_50th", precision: 12, scale: 2
465
+ t.decimal "advisor_totalfees_amt_75th", precision: 12, scale: 2
466
+ t.decimal "advisor_totalfees_amt_95th", precision: 12, scale: 2
467
+ t.decimal "advisor_totalfees_bps_5th", precision: 7, scale: 4
468
+ t.decimal "advisor_totalfees_bps_25th", precision: 7, scale: 4
469
+ t.decimal "advisor_totalfees_bps_50th", precision: 7, scale: 4
470
+ t.decimal "advisor_totalfees_bps_75th", precision: 7, scale: 4
471
+ t.decimal "advisor_totalfees_bps_95th", precision: 7, scale: 4
472
+ end
473
+
474
+ create_table "bmg_advisor_plans", force: true do |t|
475
+ t.integer "bmg_advisor_master_id"
476
+ t.date "vintage_date"
477
+ t.integer "plan_id"
478
+ t.integer "total_participants"
479
+ t.integer "total_assets"
480
+ t.integer "average_balance"
481
+ t.integer "total_advisor_fees"
482
+ t.integer "total_advisor_fees_per_participant"
483
+ end
484
+
485
+ create_table "bmg_contribution_match_tiers", force: true do |t|
486
+ t.integer "bmg_employer_contribution_id"
487
+ t.integer "tier_group"
488
+ t.integer "tier_number"
489
+ t.decimal "range_top", precision: 5, scale: 2
490
+ t.decimal "ceiling", precision: 5, scale: 2
491
+ t.decimal "value", precision: 5, scale: 2
492
+ end
493
+
494
+ create_table "bmg_contribution_types", force: true do |t|
495
+ t.string "name", limit: 32
496
+ end
497
+
498
+ create_table "bmg_employer_contributions", force: true do |t|
499
+ t.date "vintage_date"
500
+ t.integer "naics_2_digit_code_id"
501
+ t.integer "naics_3_digit_code_id"
502
+ t.decimal "employer_match_percent_plans_no_match", precision: 5, scale: 2
503
+ t.decimal "employer_match_percent_plans_formula_fixed", precision: 5, scale: 2
504
+ t.decimal "employer_match_percent_plans_formula_discretionary", precision: 5, scale: 2
505
+ t.decimal "employer_match_percent_plans_formula_single_tier", precision: 5, scale: 2
506
+ t.decimal "employer_match_percent_plans_formula_multi_tier_safe_harbor", precision: 5, scale: 2
507
+ t.decimal "employer_match_percent_plans_formula_multi_tier_other", precision: 5, scale: 2
508
+ t.decimal "employer_required_percent_plans_with_contribution_no", precision: 5, scale: 2
509
+ t.decimal "employer_required_percent_plans_with_contribution_yes", precision: 5, scale: 2
510
+ t.decimal "employer_required_percent_plans_formula_straight_percent_qnec", precision: 5, scale: 2
511
+ t.decimal "employer_required_percent_plans_formula_straight_percent_other", precision: 5, scale: 2
512
+ t.decimal "employer_required_percent_plans_formula_integrated", precision: 5, scale: 2
513
+ t.decimal "employer_required_percent_plans_formula_points_based", precision: 5, scale: 2
514
+ t.decimal "employer_required_percent_plans_formula_other", precision: 5, scale: 2
515
+ t.decimal "employer_discretionary_percent_plans_with_contribution_no", precision: 5, scale: 2
516
+ t.decimal "employer_discretionary_percent_plans_with_contribution_yes", precision: 5, scale: 2
517
+ t.decimal "employer_discretionary_percent_plans_formula_straight_percent", precision: 5, scale: 2
518
+ t.decimal "employer_discretionary_percent_plans_formula_integrated", precision: 5, scale: 2
519
+ t.decimal "employer_discretionary_percent_plans_formula_points_based", precision: 5, scale: 2
520
+ t.decimal "employer_discretionary_percent_plans_formula_other", precision: 5, scale: 2
521
+ t.decimal "employer_total_contribution_as_percent_5th", precision: 7, scale: 4
522
+ t.decimal "employer_total_contribution_as_percent_25th", precision: 7, scale: 4
523
+ t.decimal "employer_total_contribution_as_percent_50th", precision: 7, scale: 4
524
+ t.decimal "employer_total_contribution_as_percent_75th", precision: 7, scale: 4
525
+ t.decimal "employer_total_contribution_as_percent_95th", precision: 7, scale: 4
526
+ end
527
+
528
+ create_table "bmg_inv_investment_fee_groups", force: true do |t|
529
+ t.integer "market_segment_id"
530
+ t.integer "fbi_asset_class_id"
531
+ t.decimal "percent_not_paying_revenue_share", precision: 8, scale: 5
532
+ t.decimal "percent_paying_revenue_share", precision: 8, scale: 5
533
+ t.decimal "percent_of_plans_with_category", precision: 8, scale: 5
534
+ end
535
+
536
+ create_table "bmg_inv_investment_fees", force: true do |t|
537
+ t.integer "market_segment_id"
538
+ t.integer "fbi_asset_class_id"
539
+ t.integer "investment_strategy_id"
540
+ t.boolean "is_revenue_sharing"
541
+ t.decimal "to_inv_25th", precision: 8, scale: 5
542
+ t.decimal "to_inv_50th", precision: 8, scale: 5
543
+ t.decimal "to_inv_75th", precision: 8, scale: 5
544
+ end
545
+
546
+ create_table "bmg_inv_masters", force: true do |t|
547
+ t.date "vintage_date"
548
+ t.integer "inv_bmg_assets_low"
549
+ t.integer "inv_bmg_assets_50th"
550
+ t.integer "inv_bmg_assets_high"
551
+ t.integer "inv_total_plans"
552
+ t.integer "inv_planstype_401k"
553
+ t.integer "inv_planstype_403b"
554
+ t.integer "inv_planstype_other"
555
+ t.integer "inv_plans_insco"
556
+ t.integer "inv_plans_mutualfunds"
557
+ t.integer "inv_plans_bank"
558
+ t.integer "inv_plans_tpa"
559
+ t.integer "inv_plans_other"
560
+ t.integer "inv_total_rks"
561
+ t.integer "inv_rkbusinessmodel_insco"
562
+ t.integer "inv_rkbusinessmodel_mutualfunds"
563
+ t.integer "inv_rkbusinessmodel_bank"
564
+ t.integer "inv_rkbusinessmodel_tpa"
565
+ t.integer "inv_rkbusinessmodel_other"
566
+ t.decimal "invoffering_targetretirementdatefunds_percentoffering", precision: 5, scale: 2
567
+ t.decimal "invoffering_targetretirementdatefunds_percentactive", precision: 5, scale: 2
568
+ t.decimal "invoffering_targetretirementdatefunds_percentpassive", precision: 5, scale: 2
569
+ t.decimal "invoffering_riskbased_percentoffering", precision: 5, scale: 2
570
+ t.decimal "invoffering_riskbased_percentactive", precision: 5, scale: 2
571
+ t.decimal "invoffering_riskbased_percentpassive", precision: 5, scale: 2
572
+ t.decimal "invoffering_coremodeltrgtdate_percentoffering", precision: 5, scale: 2
573
+ t.decimal "invoffering_coremodelriskbased_percentoffering", precision: 5, scale: 2
574
+ t.decimal "invoffering_managedaccountprogram_percentoffering", precision: 5, scale: 2
575
+ t.decimal "invoffering_generalaccountfixed_percentoffering", precision: 5, scale: 2
576
+ t.decimal "invoffering_stablevalue_percentoffering", precision: 5, scale: 2
577
+ t.decimal "invoffering_stablevalue_percentactive", precision: 5, scale: 2
578
+ t.decimal "invoffering_stablevalue_percentpassive", precision: 5, scale: 2
579
+ t.decimal "invoffering_moneymarket_percentoffering", precision: 5, scale: 2
580
+ t.decimal "invoffering_moneymarket_percentactive", precision: 5, scale: 2
581
+ t.decimal "invoffering_moneymarket_percentpassive", precision: 5, scale: 2
582
+ t.decimal "invoffering_fixedincome_percentoffering", precision: 5, scale: 2
583
+ t.decimal "invoffering_fixedincome_percentactive", precision: 5, scale: 2
584
+ t.decimal "invoffering_fixedincome_percentpassive", precision: 5, scale: 2
585
+ t.decimal "invoffering_highyield_percentoffering", precision: 5, scale: 2
586
+ t.decimal "invoffering_highyield_percentactive", precision: 5, scale: 2
587
+ t.decimal "invoffering_highyield_percentpassive", precision: 5, scale: 2
588
+ t.decimal "invoffering_largevalue_percentoffering", precision: 5, scale: 2
589
+ t.decimal "invoffering_largevalue_percentactive", precision: 5, scale: 2
590
+ t.decimal "invoffering_largevalue_percentpassive", precision: 5, scale: 2
591
+ t.decimal "invoffering_largeblend_percentoffering", precision: 5, scale: 2
592
+ t.decimal "invoffering_largeblend_percentactive", precision: 5, scale: 2
593
+ t.decimal "invoffering_largeblend_percentpassive", precision: 5, scale: 2
594
+ t.decimal "invoffering_largegrowth_percentoffering", precision: 5, scale: 2
595
+ t.decimal "invoffering_largegrowth_percentactive", precision: 5, scale: 2
596
+ t.decimal "invoffering_largegrowth_percentpassive", precision: 5, scale: 2
597
+ t.decimal "invoffering_midvalue_percentoffering", precision: 5, scale: 2
598
+ t.decimal "invoffering_midvalue_percentactive", precision: 5, scale: 2
599
+ t.decimal "invoffering_midvalue_percentpassive", precision: 5, scale: 2
600
+ t.decimal "invoffering_midblend_percentoffering", precision: 5, scale: 2
601
+ t.decimal "invoffering_midblend_percentactive", precision: 5, scale: 2
602
+ t.decimal "invoffering_midblend_percentpassive", precision: 5, scale: 2
603
+ t.decimal "invoffering_midgrowth_percentoffering", precision: 5, scale: 2
604
+ t.decimal "invoffering_midgrowth_percentactive", precision: 5, scale: 2
605
+ t.decimal "invoffering_midgrowth_percentpassive", precision: 5, scale: 2
606
+ t.decimal "invoffering_smallvalue_percentoffering", precision: 5, scale: 2
607
+ t.decimal "invoffering_smallvalue_percentactive", precision: 5, scale: 2
608
+ t.decimal "invoffering_smallvalue_percentpassive", precision: 5, scale: 2
609
+ t.decimal "invoffering_smallblend_percentoffering", precision: 5, scale: 2
610
+ t.decimal "invoffering_smallblend_percentactive", precision: 5, scale: 2
611
+ t.decimal "invoffering_smallblend_percentpassive", precision: 5, scale: 2
612
+ t.decimal "invoffering_smallgrowth_percentoffering", precision: 5, scale: 2
613
+ t.decimal "invoffering_smallgrowth_percentactive", precision: 5, scale: 2
614
+ t.decimal "invoffering_smallgrowth_percentpassive", precision: 5, scale: 2
615
+ t.decimal "invoffering_international_percentoffering", precision: 5, scale: 2
616
+ t.decimal "invoffering_international_percentactive", precision: 5, scale: 2
617
+ t.decimal "invoffering_international_percentpassive", precision: 5, scale: 2
618
+ t.decimal "invoffering_emergingmarkets_percentoffering", precision: 5, scale: 2
619
+ t.decimal "invoffering_emergingmarkets_percentactive", precision: 5, scale: 2
620
+ t.decimal "invoffering_emergingmarkets_percentpassive", precision: 5, scale: 2
621
+ t.decimal "invoffering_global_percentoffering", precision: 5, scale: 2
622
+ t.decimal "invoffering_global_percentactive", precision: 5, scale: 2
623
+ t.decimal "invoffering_global_percentpassive", precision: 5, scale: 2
624
+ t.decimal "invoffering_realestate_percentoffering", precision: 5, scale: 2
625
+ t.decimal "invoffering_realestate_percentactive", precision: 5, scale: 2
626
+ t.decimal "invoffering_realestate_percentpassive", precision: 5, scale: 2
627
+ t.decimal "invoffering_alternatives_percentoffering", precision: 5, scale: 2
628
+ t.decimal "invoffering_alternatives_percentactive", precision: 5, scale: 2
629
+ t.decimal "invoffering_alternatives_percentpassive", precision: 5, scale: 2
630
+ t.decimal "invoffering_others_percentoffering", precision: 5, scale: 2
631
+ t.decimal "invoffering_others_percentactive", precision: 5, scale: 2
632
+ t.decimal "invoffering_others_percentpassive", precision: 5, scale: 2
633
+ t.decimal "invoffering_sdas_percentoffering", precision: 5, scale: 2
634
+ t.decimal "invoffering_costock_percentoffering", precision: 5, scale: 2
635
+ t.decimal "generalaccount_expenseratiofeeoffsets_25th", precision: 8, scale: 5
636
+ t.decimal "generalaccount_expenseratiofeeoffsets_50th", precision: 8, scale: 5
637
+ t.decimal "generalaccount_expenseratiofeeoffsets_75th", precision: 8, scale: 5
638
+ t.decimal "generalaccount_percent_currentratereset_monthly", precision: 5, scale: 2
639
+ t.decimal "generalaccount_percent_currentratereset_quarterly", precision: 5, scale: 2
640
+ t.decimal "generalaccount_percent_currentratereset_annually", precision: 5, scale: 2
641
+ t.decimal "generalaccount_percent_currentratereset_other", precision: 5, scale: 2
642
+ t.decimal "generalaccount_percent_minimumratereset_monthly", precision: 5, scale: 2
643
+ t.decimal "generalaccount_percent_minimumratereset_quarterly", precision: 5, scale: 2
644
+ t.decimal "generalaccount_percent_minimumratereset_annually", precision: 5, scale: 2
645
+ t.decimal "generalaccount_percent_minimumratereset_other", precision: 5, scale: 2
646
+ t.decimal "generalaccount_percent_blendedratereset_monthly", precision: 5, scale: 2
647
+ t.decimal "generalaccount_percent_blendedratereset_quarterly", precision: 5, scale: 2
648
+ t.decimal "generalaccount_percent_blendedratereset_annually", precision: 5, scale: 2
649
+ t.decimal "generalaccount_percent_blendedratereset_other", precision: 5, scale: 2
650
+ t.decimal "generalaccount_percent_creditqualityguarantor_aaa_plus", precision: 5, scale: 2
651
+ t.decimal "generalaccount_percent_creditqualityguarantor_aaa_flat", precision: 5, scale: 2
652
+ t.decimal "generalaccount_percent_creditqualityguarantor_aaa_minus", precision: 5, scale: 2
653
+ t.decimal "generalaccount_percent_creditqualityguarantor_aa_plus", precision: 5, scale: 2
654
+ t.decimal "generalaccount_percent_creditqualityguarantor_aa_flat", precision: 5, scale: 2
655
+ t.decimal "generalaccount_percent_creditqualityguarantor_aa_minus", precision: 5, scale: 2
656
+ t.decimal "generalaccount_percent_creditqualityguarantor_a_plus", precision: 5, scale: 2
657
+ t.decimal "generalaccount_percent_creditqualityguarantor_a_flat", precision: 5, scale: 2
658
+ t.decimal "generalaccount_percent_creditqualityguarantor_a_minus", precision: 5, scale: 2
659
+ t.decimal "generalaccount_percent_creditqualityguarantor_bbb_plus", precision: 5, scale: 2
660
+ t.decimal "generalaccount_percent_creditqualityguarantor_bbb_flat", precision: 5, scale: 2
661
+ t.decimal "generalaccount_percent_creditqualityguarantor_bbb_minus", precision: 5, scale: 2
662
+ t.decimal "generalaccount_percent_creditqualityguarantor_other_plus", precision: 5, scale: 2
663
+ t.decimal "generalaccount_percent_creditqualityguarantor_other_flat", precision: 5, scale: 2
664
+ t.decimal "generalaccount_percent_creditqualityguarantor_other_minus", precision: 5, scale: 2
665
+ t.decimal "generalaccount_percent_no_put_applies", precision: 5, scale: 2
666
+ t.decimal "generalaccount_percent_12mo_put_applies", precision: 5, scale: 2
667
+ t.decimal "generalaccount_percent_24mo_put_applies", precision: 5, scale: 2
668
+ t.decimal "generalaccount_percent_36mo_put_applies", precision: 5, scale: 2
669
+ t.decimal "generalaccount_percent_no_marketvalueadjustment_applies", precision: 5, scale: 2
670
+ t.decimal "generalaccount_percent_12mo_marketvalueadjustment_applies", precision: 5, scale: 2
671
+ t.decimal "generalaccount_percent_24mo_marketvalueadjustment_applies", precision: 5, scale: 2
672
+ t.decimal "generalaccount_percent_36mo_marketvalueadjustment_applies", precision: 5, scale: 2
673
+ t.decimal "percent_assets_proprietary", precision: 5, scale: 2
674
+ end
675
+
676
+ create_table "bmg_inv_plans", force: true do |t|
677
+ t.integer "bmg_inv_master_id"
678
+ t.date "vintage_date"
679
+ t.integer "plan_id"
680
+ end
681
+
682
+ create_table "bmg_plan_complexities", force: true do |t|
683
+ t.date "vintage_date"
684
+ t.integer "naics_2_digit_code_id"
685
+ t.integer "naics_3_digit_code_id"
686
+ t.integer "pcx_benchmark_group_id_score_5th"
687
+ t.integer "pcx_benchmark_group_id_score_50th"
688
+ t.integer "pcx_benchmark_group_id_score_95th"
689
+ t.decimal "pcx_part_of_controlled_group_percent_yes", precision: 5, scale: 2
690
+ t.decimal "pcx_part_of_controlled_group_percent_no", precision: 5, scale: 2
691
+ t.decimal "pcx_eligservice_percent_immediate", precision: 5, scale: 2
692
+ t.decimal "pcx_eligservice_percent_1_months", precision: 5, scale: 2
693
+ t.decimal "pcx_eligservice_percent_2_months", precision: 5, scale: 2
694
+ t.decimal "pcx_eligservice_percent_3_months", precision: 5, scale: 2
695
+ t.decimal "pcx_eligservice_percent_4_months", precision: 5, scale: 2
696
+ t.decimal "pcx_eligservice_percent_5_months", precision: 5, scale: 2
697
+ t.decimal "pcx_eligservice_percent_6_months", precision: 5, scale: 2
698
+ t.decimal "pcx_eligservice_percent_7_months", precision: 5, scale: 2
699
+ t.decimal "pcx_eligservice_percent_8_months", precision: 5, scale: 2
700
+ t.decimal "pcx_eligservice_percent_9_months", precision: 5, scale: 2
701
+ t.decimal "pcx_eligservice_percent_10_months", precision: 5, scale: 2
702
+ t.decimal "pcx_eligservice_percent_11_months", precision: 5, scale: 2
703
+ t.decimal "pcx_eligservice_percent_12_months", precision: 5, scale: 2
704
+ t.decimal "pcx_eligservice_percent_gt12_months", precision: 5, scale: 2
705
+ t.decimal "pcx_eligservice_percent_multiple", precision: 5, scale: 2
706
+ t.decimal "pcx_eligage_percent_none", precision: 5, scale: 2
707
+ t.decimal "pcx_eligage_percent_less_than_18", precision: 5, scale: 2
708
+ t.decimal "pcx_eligage_percent_18_to_18_99", precision: 5, scale: 2
709
+ t.decimal "pcx_eligage_percent_19_to_19_99", precision: 5, scale: 2
710
+ t.decimal "pcx_eligage_percent_20_to_20_99", precision: 5, scale: 2
711
+ t.decimal "pcx_eligage_percent_21", precision: 5, scale: 2
712
+ t.decimal "pcx_eligage_percent_multiple", precision: 5, scale: 2
713
+ t.decimal "pcx_entry_date_percent_immediate", precision: 5, scale: 2
714
+ t.decimal "pcx_entry_date_percent_monthly", precision: 5, scale: 2
715
+ t.decimal "pcx_entry_date_percent_quarterly", precision: 5, scale: 2
716
+ t.decimal "pcx_entry_date_percent_semi_annually", precision: 5, scale: 2
717
+ t.decimal "pcx_entry_date_percent_annually", precision: 5, scale: 2
718
+ t.decimal "pcx_entry_date_percent_other", precision: 5, scale: 2
719
+ t.decimal "pcx_autoenroll_percent_none", precision: 5, scale: 2
720
+ t.decimal "pcx_autoenroll_percent_yes_new_hires", precision: 5, scale: 2
721
+ t.decimal "pcx_autoenroll_percent_yes_all_employees", precision: 5, scale: 2
722
+ t.decimal "pcx_autoenroll_start_1percent", precision: 5, scale: 2
723
+ t.decimal "pcx_autoenroll_start_2percent", precision: 5, scale: 2
724
+ t.decimal "pcx_autoenroll_start_3percent", precision: 5, scale: 2
725
+ t.decimal "pcx_autoenroll_start_4percent", precision: 5, scale: 2
726
+ t.decimal "pcx_autoenroll_start_5percent", precision: 5, scale: 2
727
+ t.decimal "pcx_autoenroll_start_6percent", precision: 5, scale: 2
728
+ t.decimal "pcx_autoenroll_start_7percent", precision: 5, scale: 2
729
+ t.decimal "pcx_autoenroll_start_8percent", precision: 5, scale: 2
730
+ t.decimal "pcx_autoenroll_start_9percent", precision: 5, scale: 2
731
+ t.decimal "pcx_autoenroll_start_10percent", precision: 5, scale: 2
732
+ t.decimal "pcx_autoenroll_start_gt10percent", precision: 5, scale: 2
733
+ t.decimal "pcx_autoincrease_percent_none", precision: 5, scale: 2
734
+ t.decimal "pcx_autoincrease_percent_yes", precision: 5, scale: 2
735
+ t.decimal "pcx_autoincrease_percent_maxperyear_1percent", precision: 5, scale: 2
736
+ t.decimal "pcx_autoincrease_percent_maxperyear_2percent", precision: 5, scale: 2
737
+ t.decimal "pcx_autoincrease_percent_maxperyear_3percent", precision: 5, scale: 2
738
+ t.decimal "pcx_autoincrease_percent_maxperyear_4percent", precision: 5, scale: 2
739
+ t.decimal "pcx_autoincrease_percent_maxperyear_5percent", precision: 5, scale: 2
740
+ t.decimal "pcx_autoincrease_percent_maxperyear_gt5percent", precision: 5, scale: 2
741
+ t.decimal "pcx_autoincrease_percent_ceiling_1percent", precision: 5, scale: 2
742
+ t.decimal "pcx_autoincrease_percent_ceiling_2percent", precision: 5, scale: 2
743
+ t.decimal "pcx_autoincrease_percent_ceiling_3percent", precision: 5, scale: 2
744
+ t.decimal "pcx_autoincrease_percent_ceiling_4percent", precision: 5, scale: 2
745
+ t.decimal "pcx_autoincrease_percent_ceiling_5percent", precision: 5, scale: 2
746
+ t.decimal "pcx_autoincrease_percent_ceiling_6percent", precision: 5, scale: 2
747
+ t.decimal "pcx_autoincrease_percent_ceiling_7percent", precision: 5, scale: 2
748
+ t.decimal "pcx_autoincrease_percent_ceiling_8percent", precision: 5, scale: 2
749
+ t.decimal "pcx_autoincrease_percent_ceiling_9percent", precision: 5, scale: 2
750
+ t.decimal "pcx_autoincrease_percent_ceiling_10percent", precision: 5, scale: 2
751
+ t.decimal "pcx_autoincrease_percent_ceiling_gt10percent", precision: 5, scale: 2
752
+ t.decimal "pcx_pretax_percent_no", precision: 5, scale: 2
753
+ t.decimal "pcx_pretax_percent_yes", precision: 5, scale: 2
754
+ t.decimal "pcx_pretax_max_percent_0percent_5percent", precision: 5, scale: 2
755
+ t.decimal "pcx_pretax_max_percent_6percent_10percent", precision: 5, scale: 2
756
+ t.decimal "pcx_pretax_max_percent_11percent_15percent", precision: 5, scale: 2
757
+ t.decimal "pcx_pretax_max_percent_16percent_20percent", precision: 5, scale: 2
758
+ t.decimal "pcx_pretax_max_percent_21percent_25percent", precision: 5, scale: 2
759
+ t.decimal "pcx_pretax_max_percent_26percent_30percent", precision: 5, scale: 2
760
+ t.decimal "pcx_pretax_max_percent_31percent_35percent", precision: 5, scale: 2
761
+ t.decimal "pcx_pretax_max_percent_36percent_40percent", precision: 5, scale: 2
762
+ t.decimal "pcx_pretax_max_percent_41percent_45percent", precision: 5, scale: 2
763
+ t.decimal "pcx_pretax_max_percent_46percent_50percent", precision: 5, scale: 2
764
+ t.decimal "pcx_pretax_max_percent_51percent_55percent", precision: 5, scale: 2
765
+ t.decimal "pcx_pretax_max_percent_56percent_60percent", precision: 5, scale: 2
766
+ t.decimal "pcx_pretax_max_percent_61percent_65percent", precision: 5, scale: 2
767
+ t.decimal "pcx_pretax_max_percent_66percent_70percent", precision: 5, scale: 2
768
+ t.decimal "pcx_pretax_max_percent_71percent_75percent", precision: 5, scale: 2
769
+ t.decimal "pcx_pretax_max_percent_76percent_80percent", precision: 5, scale: 2
770
+ t.decimal "pcx_pretax_max_percent_81percent_85percent", precision: 5, scale: 2
771
+ t.decimal "pcx_pretax_max_percent_86percent_90percent", precision: 5, scale: 2
772
+ t.decimal "pcx_pretax_max_percent_91percent_95percent", precision: 5, scale: 2
773
+ t.decimal "pcx_pretax_max_percent_96percent_100percent", precision: 5, scale: 2
774
+ t.decimal "pcx_roth_percent_no", precision: 5, scale: 2
775
+ t.decimal "pcx_roth_percent_yes", precision: 5, scale: 2
776
+ t.decimal "pcx_roth_max_percent_0percent_5percent", precision: 5, scale: 2
777
+ t.decimal "pcx_roth_max_percent_6percent_10percent", precision: 5, scale: 2
778
+ t.decimal "pcx_roth_max_percent_11percent_15percent", precision: 5, scale: 2
779
+ t.decimal "pcx_roth_max_percent_16percent_20percent", precision: 5, scale: 2
780
+ t.decimal "pcx_roth_max_percent_21percent_25percent", precision: 5, scale: 2
781
+ t.decimal "pcx_roth_max_percent_26percent_30percent", precision: 5, scale: 2
782
+ t.decimal "pcx_roth_max_percent_31percent_35percent", precision: 5, scale: 2
783
+ t.decimal "pcx_roth_max_percent_36percent_40percent", precision: 5, scale: 2
784
+ t.decimal "pcx_roth_max_percent_41percent_45percent", precision: 5, scale: 2
785
+ t.decimal "pcx_roth_max_percent_46percent_50percent", precision: 5, scale: 2
786
+ t.decimal "pcx_roth_max_percent_51percent_55percent", precision: 5, scale: 2
787
+ t.decimal "pcx_roth_max_percent_56percent_60percent", precision: 5, scale: 2
788
+ t.decimal "pcx_roth_max_percent_61percent_65percent", precision: 5, scale: 2
789
+ t.decimal "pcx_roth_max_percent_66percent_70percent", precision: 5, scale: 2
790
+ t.decimal "pcx_roth_max_percent_71percent_75percent", precision: 5, scale: 2
791
+ t.decimal "pcx_roth_max_percent_76percent_80percent", precision: 5, scale: 2
792
+ t.decimal "pcx_roth_max_percent_81percent_85percent", precision: 5, scale: 2
793
+ t.decimal "pcx_roth_max_percent_86percent_90percent", precision: 5, scale: 2
794
+ t.decimal "pcx_roth_max_percent_91percent_95percent", precision: 5, scale: 2
795
+ t.decimal "pcx_roth_max_percent_96percent_100percent", precision: 5, scale: 2
796
+ t.decimal "pcx_catchup_percent_no", precision: 5, scale: 2
797
+ t.decimal "pcx_catchup_percent_yes", precision: 5, scale: 2
798
+ t.decimal "pcx_aftertax_percent_no", precision: 5, scale: 2
799
+ t.decimal "pcx_aftertax_percent_yes", precision: 5, scale: 2
800
+ t.decimal "pcx_aftertax_max_percent_0percent_5percent", precision: 5, scale: 2
801
+ t.decimal "pcx_aftertax_max_percent_6percent_10percent", precision: 5, scale: 2
802
+ t.decimal "pcx_aftertax_max_percent_11percent_15percent", precision: 5, scale: 2
803
+ t.decimal "pcx_aftertax_max_percent_16percent_20percent", precision: 5, scale: 2
804
+ t.decimal "pcx_aftertax_max_percent_21percent_25percent", precision: 5, scale: 2
805
+ t.decimal "pcx_aftertax_max_percent_26percent_30percent", precision: 5, scale: 2
806
+ t.decimal "pcx_aftertax_max_percent_31percent_35percent", precision: 5, scale: 2
807
+ t.decimal "pcx_aftertax_max_percent_36percent_40percent", precision: 5, scale: 2
808
+ t.decimal "pcx_aftertax_max_percent_41percent_45percent", precision: 5, scale: 2
809
+ t.decimal "pcx_aftertax_max_percent_46percent_50percent", precision: 5, scale: 2
810
+ t.decimal "pcx_aftertax_max_percent_51percent_55percent", precision: 5, scale: 2
811
+ t.decimal "pcx_aftertax_max_percent_56percent_60percent", precision: 5, scale: 2
812
+ t.decimal "pcx_aftertax_max_percent_61percent_65percent", precision: 5, scale: 2
813
+ t.decimal "pcx_aftertax_max_percent_66percent_70percent", precision: 5, scale: 2
814
+ t.decimal "pcx_aftertax_max_percent_71percent_75percent", precision: 5, scale: 2
815
+ t.decimal "pcx_aftertax_max_percent_76percent_80percent", precision: 5, scale: 2
816
+ t.decimal "pcx_aftertax_max_percent_81percent_85percent", precision: 5, scale: 2
817
+ t.decimal "pcx_aftertax_max_percent_86percent_90percent", precision: 5, scale: 2
818
+ t.decimal "pcx_aftertax_max_percent_91percent_95percent", precision: 5, scale: 2
819
+ t.decimal "pcx_aftertax_max_percent_96percent_100percent", precision: 5, scale: 2
820
+ t.decimal "pcx_rolloverin_percent_no", precision: 5, scale: 2
821
+ t.decimal "pcx_rolloverin_percent_yes", precision: 5, scale: 2
822
+ t.decimal "pcx_employer_matching_formula_percent_discretionary", precision: 5, scale: 2
823
+ t.decimal "pcx_employer_matching_formula_percentage_fixed", precision: 5, scale: 2
824
+ t.decimal "pcx_employer_matching_vesting_percent_immediate", precision: 5, scale: 2
825
+ t.decimal "pcx_employer_matching_vesting_percent_graded_2_years", precision: 5, scale: 2
826
+ t.decimal "pcx_employer_matching_vesting_percent_graded_3_years", precision: 5, scale: 2
827
+ t.decimal "pcx_employer_matching_vesting_percent_graded_4_years", precision: 5, scale: 2
828
+ t.decimal "pcx_employer_matching_vesting_percent_graded_5_years", precision: 5, scale: 2
829
+ t.decimal "pcx_employer_matching_vesting_percent_graded_6_years", precision: 5, scale: 2
830
+ t.decimal "pcx_employer_matching_vesting_percent_cliff_1_yrs", precision: 5, scale: 2
831
+ t.decimal "pcx_employer_matching_vesting_percent_cliff_2_yrs", precision: 5, scale: 2
832
+ t.decimal "pcx_employer_matching_vesting_percent_cliff_3_yrs", precision: 5, scale: 2
833
+ t.decimal "pcx_employer_matching_vesting_percent_other", precision: 5, scale: 2
834
+ t.decimal "pcx_employer_matching_eoy_percent_no", precision: 5, scale: 2
835
+ t.decimal "pcx_employer_matching_eoy_percent_yes", precision: 5, scale: 2
836
+ t.decimal "pcx_employer_matching_1000_hrs_percent_no", precision: 5, scale: 2
837
+ t.decimal "pcx_employer_matching_1000_hrs_percent_yes", precision: 5, scale: 2
838
+ t.decimal "pcx_employer_discretionary_percent_no", precision: 5, scale: 2
839
+ t.decimal "pcx_employer_discretionary_percent_yes", precision: 5, scale: 2
840
+ t.decimal "pcx_employer_discretionary_vesting_percent_immediate", precision: 5, scale: 2
841
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_2_years", precision: 5, scale: 2
842
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_3_years", precision: 5, scale: 2
843
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_4_years", precision: 5, scale: 2
844
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_5_years", precision: 5, scale: 2
845
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_6_years", precision: 5, scale: 2
846
+ t.decimal "pcx_employer_discretionary_vesting_percent_cliff_1_yrs", precision: 5, scale: 2
847
+ t.decimal "pcx_employer_discretionary_vesting_percent_cliff_2_yrs", precision: 5, scale: 2
848
+ t.decimal "pcx_employer_discretionary_vesting_percent_cliff_3_yrs", precision: 5, scale: 2
849
+ t.decimal "pcx_employer_discretionary_vesting_percent_other", precision: 5, scale: 2
850
+ t.decimal "pcx_employer_discretionary_eoy_percent_no", precision: 5, scale: 2
851
+ t.decimal "pcx_employer_discretionary_eoy_percent_yes", precision: 5, scale: 2
852
+ t.decimal "pcx_employer_discretionary_1000_hrs_percent_no", precision: 5, scale: 2
853
+ t.decimal "pcx_employer_discretionary_1000_hrs_percent_yes", precision: 5, scale: 2
854
+ t.decimal "pcx_employer_required_none", precision: 5, scale: 2
855
+ t.decimal "pcx_employer_required_safe_harbor_type_percent_qnec_std", precision: 5, scale: 2
856
+ t.decimal "pcx_employer_required_safe_harbor_type_percent_qnec_other", precision: 5, scale: 2
857
+ t.decimal "pcx_employer_required_safe_harbor_type_percent_qmac_std", precision: 5, scale: 2
858
+ t.decimal "pcx_employer_required_safe_harbor_type_percent_qmac_other", precision: 5, scale: 2
859
+ t.decimal "pcx_employer_required_percent_straightpercent", precision: 5, scale: 2
860
+ t.decimal "pcx_employer_required_percent_straightpercent_amtcap", precision: 5, scale: 2
861
+ t.decimal "pcx_employer_required_percent_integrated", precision: 5, scale: 2
862
+ t.decimal "pcx_employer_required_percent_pointsformula", precision: 5, scale: 2
863
+ t.decimal "pcx_employer_required_percent_other", precision: 5, scale: 2
864
+ t.decimal "pcx_employer_required_vesting_percent_immediate", precision: 5, scale: 2
865
+ t.decimal "pcx_employer_required_vesting_percent_graded_2_years", precision: 5, scale: 2
866
+ t.decimal "pcx_employer_required_vesting_percent_graded_3_years", precision: 5, scale: 2
867
+ t.decimal "pcx_employer_required_vesting_percent_graded_4_years", precision: 5, scale: 2
868
+ t.decimal "pcx_employer_required_vesting_percent_graded_5_years", precision: 5, scale: 2
869
+ t.decimal "pcx_employer_required_vesting_percent_graded_6_years", precision: 5, scale: 2
870
+ t.decimal "pcx_employer_required_vesting_percent_cliff_1_yrs", precision: 5, scale: 2
871
+ t.decimal "pcx_employer_required_vesting_percent_cliff_2_yrs", precision: 5, scale: 2
872
+ t.decimal "pcx_employer_required_vesting_percent_cliff_3_yrs", precision: 5, scale: 2
873
+ t.decimal "pcx_employer_required_vesting_percent_other", precision: 5, scale: 2
874
+ t.decimal "pcx_employer_required_eoy_percent_no", precision: 5, scale: 2
875
+ t.decimal "pcx_employer_required_eoy_percent_yes", precision: 5, scale: 2
876
+ t.decimal "pcx_employer_required_1000_hrs_percent_no", precision: 5, scale: 2
877
+ t.decimal "pcx_employer_required_1000_hrs_percent_yes", precision: 5, scale: 2
878
+ t.decimal "pcx_target_date_funds_no", precision: 5, scale: 2
879
+ t.decimal "pcx_target_date_funds_yes", precision: 5, scale: 2
880
+ t.decimal "pcx_risk_based_funds_no", precision: 5, scale: 2
881
+ t.decimal "pcx_risk_based_funds_yes", precision: 5, scale: 2
882
+ t.decimal "pcx_model_portfolios_from_core_no", precision: 5, scale: 2
883
+ t.decimal "pcx_model_portfolios_from_core_yes", precision: 5, scale: 2
884
+ t.decimal "pcx_managed_account_from_core_no", precision: 5, scale: 2
885
+ t.decimal "pcx_managed_account_from_core_yes", precision: 5, scale: 2
886
+ t.decimal "pcx_default_all_ees_qdia_from_core_no", precision: 5, scale: 2
887
+ t.decimal "pcx_default_all_ees_qdia_from_core_yes", precision: 5, scale: 2
888
+ t.integer "pcx_number_of_core_options_from_core_no"
889
+ t.integer "pcx_number_of_core_options_from_core_yes"
890
+ t.integer "pcx_number_of_core_assetclasses_from_core_no"
891
+ t.integer "pcx_number_of_core_assetclasses_from_core_yes"
892
+ t.decimal "pcx_auto_rebalance_percent_no", precision: 5, scale: 2
893
+ t.decimal "pcx_auto_rebalance_percent_yes", precision: 5, scale: 2
894
+ t.decimal "pcx_sda_percent_no", precision: 5, scale: 2
895
+ t.decimal "pcx_sda_percent_yes", precision: 5, scale: 2
896
+ t.decimal "pcx_company_stock_percent_no", precision: 5, scale: 2
897
+ t.decimal "pcx_company_stock_percent_yes", precision: 5, scale: 2
898
+ t.decimal "pcx_loans_allowed_percent_no", precision: 5, scale: 2
899
+ t.decimal "pcx_loans_allowed_percent_yes", precision: 5, scale: 2
900
+ t.decimal "pcx_loan_types_allowed_percent_general_only", precision: 5, scale: 2
901
+ t.decimal "pcx_loan_types_allowed_percent_residential_only", precision: 5, scale: 2
902
+ t.decimal "pcx_loan_types_allowed_percent_general_and_residential", precision: 5, scale: 2
903
+ t.decimal "pcx_max_loans_allowed_percent_1", precision: 5, scale: 2
904
+ t.decimal "pcx_max_loans_allowed_percent_2", precision: 5, scale: 2
905
+ t.decimal "pcx_max_loans_allowed_percent_3", precision: 5, scale: 2
906
+ t.decimal "pcx_max_loans_allowed_percent_4", precision: 5, scale: 2
907
+ t.decimal "pcx_max_loans_allowed_percent_5", precision: 5, scale: 2
908
+ t.decimal "pcx_max_loans_allowed_percent_gt5", precision: 5, scale: 2
909
+ t.decimal "pcx_age_59_5_withdrawals_percent_no", precision: 5, scale: 2
910
+ t.decimal "pcx_age_59_5_withdrawals_percent_yes", precision: 5, scale: 2
911
+ t.decimal "pcx_hardship_withdrawals_percent_no", precision: 5, scale: 2
912
+ t.decimal "pcx_hardship_withdrawals_percent_yes", precision: 5, scale: 2
913
+ t.decimal "pcx_hardship_loans_percent_no", precision: 5, scale: 2
914
+ t.decimal "pcx_hardship_loans_percent_yes", precision: 5, scale: 2
915
+ t.decimal "pcx_hardship_withdrawals_and_hardship_loans_percent_yes", precision: 5, scale: 2
916
+ t.decimal "pcx_installment_payments_percent_no", precision: 5, scale: 2
917
+ t.decimal "pcx_installment_payments_percent_yes", precision: 5, scale: 2
918
+ t.decimal "pcx_annuities_percent_no", precision: 5, scale: 2
919
+ t.decimal "pcx_annuities_percent_yes", precision: 5, scale: 2
920
+ t.decimal "pcx_cash_out_percent_none", precision: 5, scale: 2
921
+ t.decimal "pcx_cash_out_percent_amt1000", precision: 5, scale: 2
922
+ t.decimal "pcx_cash_out_percent_amt5000", precision: 5, scale: 2
923
+ t.decimal "pcx_cash_out_percent_other", precision: 5, scale: 2
924
+ t.decimal "pcx_lifetime_annuity_option_percent_no", precision: 5, scale: 2
925
+ t.decimal "pcx_lifetime_annuity_option_percent_yes", precision: 5, scale: 2
926
+ t.decimal "pcx_lifetime_income_service_no", precision: 5, scale: 2
927
+ t.decimal "pcx_lifetime_income_service_yes", precision: 5, scale: 2
928
+ t.decimal "pcx_valuation_frequency_percent_daily", precision: 5, scale: 2
929
+ t.decimal "pcx_valuation_frequency_percent_annual", precision: 5, scale: 2
930
+ t.decimal "pcx_valuation_frequency_percent_semi_annual", precision: 5, scale: 2
931
+ t.decimal "pcx_valuation_frequency_percent_quarterly", precision: 5, scale: 2
932
+ t.decimal "pcx_valuation_frequency_percent_monthly", precision: 5, scale: 2
933
+ end
934
+
935
+ create_table "bmg_plan_complexity_fees", force: true do |t|
936
+ t.string "pcx_fees_benchmark_group_id", limit: 6
937
+ t.date "pcx_fees_benchmark_group_id_date"
938
+ t.integer "pcx_benchmark_group_id_5th_score"
939
+ t.integer "pcx_benchmark_group_id_50th_score"
940
+ t.integer "pcx_benchmark_group_id_95th_score"
941
+ t.decimal "pcx_part_of_controlled_group_percent_yes", precision: 5, scale: 2
942
+ t.decimal "pcx_part_of_controlled_group_percent_no", precision: 5, scale: 2
943
+ t.decimal "pcx_eligservice_percent_immediate", precision: 5, scale: 2
944
+ t.decimal "pcx_eligservice_percent_1_months", precision: 5, scale: 2
945
+ t.decimal "pcx_eligservice_percent_2_months", precision: 5, scale: 2
946
+ t.decimal "pcx_eligservice_percent_3_months", precision: 5, scale: 2
947
+ t.decimal "pcx_eligservice_percent_4_months", precision: 5, scale: 2
948
+ t.decimal "pcx_eligservice_percent_5_months", precision: 5, scale: 2
949
+ t.decimal "pcx_eligservice_percent_6_months", precision: 5, scale: 2
950
+ t.decimal "pcx_eligservice_percent_7_months", precision: 5, scale: 2
951
+ t.decimal "pcx_eligservice_percent_8_months", precision: 5, scale: 2
952
+ t.decimal "pcx_eligservice_percent_9_months", precision: 5, scale: 2
953
+ t.decimal "pcx_eligservice_percent_10_months", precision: 5, scale: 2
954
+ t.decimal "pcx_eligservice_percent_11_months", precision: 5, scale: 2
955
+ t.decimal "pcx_eligservice_percent_12_months", precision: 5, scale: 2
956
+ t.decimal "pcx_eligservice_percent_gt12_months", precision: 5, scale: 2
957
+ t.decimal "pcx_eligservice_percent_multiple", precision: 5, scale: 2
958
+ t.decimal "pcx_eligage_percent_none", precision: 5, scale: 2
959
+ t.decimal "pcx_eligage_percent_less_than_18", precision: 5, scale: 2
960
+ t.decimal "pcx_eligage_percent_18_to_18_99", precision: 5, scale: 2
961
+ t.decimal "pcx_eligage_percent_19_to_19_99", precision: 5, scale: 2
962
+ t.decimal "pcx_eligage_percent_20_to_20_99", precision: 5, scale: 2
963
+ t.decimal "pcx_eligage_percent_21", precision: 5, scale: 2
964
+ t.decimal "pcx_eligage_percent_multiple", precision: 5, scale: 2
965
+ t.decimal "pcx_entry_date_percent_immediate", precision: 5, scale: 2
966
+ t.decimal "pcx_entry_date_percent_monthly", precision: 5, scale: 2
967
+ t.decimal "pcx_entry_date_percent_quarterly", precision: 5, scale: 2
968
+ t.decimal "pcx_entry_date_percent_semi_annually", precision: 5, scale: 2
969
+ t.decimal "pcx_entry_date_percent_annually", precision: 5, scale: 2
970
+ t.decimal "pcx_entry_date_percent_other", precision: 5, scale: 2
971
+ t.decimal "pcx_autoenroll_percent_none", precision: 5, scale: 2
972
+ t.decimal "pcx_autoenroll_percent_yes_new_hires", precision: 5, scale: 2
973
+ t.decimal "pcx_autoenroll_percent_yes_all_employees", precision: 5, scale: 2
974
+ t.decimal "pcx_autoenroll_start_1percent", precision: 5, scale: 2
975
+ t.decimal "pcx_autoenroll_start_2percent", precision: 5, scale: 2
976
+ t.decimal "pcx_autoenroll_start_3percent", precision: 5, scale: 2
977
+ t.decimal "pcx_autoenroll_start_4percent", precision: 5, scale: 2
978
+ t.decimal "pcx_autoenroll_start_5percent", precision: 5, scale: 2
979
+ t.decimal "pcx_autoenroll_start_6percent", precision: 5, scale: 2
980
+ t.decimal "pcx_autoenroll_start_7percent", precision: 5, scale: 2
981
+ t.decimal "pcx_autoenroll_start_8percent", precision: 5, scale: 2
982
+ t.decimal "pcx_autoenroll_start_9percent", precision: 5, scale: 2
983
+ t.decimal "pcx_autoenroll_start_10percent", precision: 5, scale: 2
984
+ t.decimal "pcx_autoenroll_start_gt10percent", precision: 5, scale: 2
985
+ t.decimal "pcx_autoincrease_percent_none", precision: 5, scale: 2
986
+ t.decimal "pcx_autoincrease_percent_yes", precision: 5, scale: 2
987
+ t.decimal "pcx_autoincrease_percent_maxperyear_1percent", precision: 5, scale: 2
988
+ t.decimal "pcx_autoincrease_percent_maxperyear_2percent", precision: 5, scale: 2
989
+ t.decimal "pcx_autoincrease_percent_maxperyear_3percent", precision: 5, scale: 2
990
+ t.decimal "pcx_autoincrease_percent_maxperyear_4percent", precision: 5, scale: 2
991
+ t.decimal "pcx_autoincrease_percent_maxperyear_5percent", precision: 5, scale: 2
992
+ t.decimal "pcx_autoincrease_percent_maxperyear_gt5percent", precision: 5, scale: 2
993
+ t.decimal "pcx_autoincrease_percent_ceiling_1percent", precision: 5, scale: 2
994
+ t.decimal "pcx_autoincrease_percent_ceiling_2percent", precision: 5, scale: 2
995
+ t.decimal "pcx_autoincrease_percent_ceiling_3percent", precision: 5, scale: 2
996
+ t.decimal "pcx_autoincrease_percent_ceiling_4percent", precision: 5, scale: 2
997
+ t.decimal "pcx_autoincrease_percent_ceiling_5percent", precision: 5, scale: 2
998
+ t.decimal "pcx_autoincrease_percent_ceiling_6percent", precision: 5, scale: 2
999
+ t.decimal "pcx_autoincrease_percent_ceiling_7percent", precision: 5, scale: 2
1000
+ t.decimal "pcx_autoincrease_percent_ceiling_8percent", precision: 5, scale: 2
1001
+ t.decimal "pcx_autoincrease_percent_ceiling_9percent", precision: 5, scale: 2
1002
+ t.decimal "pcx_autoincrease_percent_ceiling_10percent", precision: 5, scale: 2
1003
+ t.decimal "pcx_autoincrease_percent_ceiling_gt10percent", precision: 5, scale: 2
1004
+ t.decimal "pcx_pretax_percent_no", precision: 5, scale: 2
1005
+ t.decimal "pcx_pretax_percent_yes", precision: 5, scale: 2
1006
+ t.decimal "pcx_pretax_max_percent_0percent_5percent", precision: 5, scale: 2
1007
+ t.decimal "pcx_pretax_max_percent_6percent_10percent", precision: 5, scale: 2
1008
+ t.decimal "pcx_pretax_max_percent_11percent_15percent", precision: 5, scale: 2
1009
+ t.decimal "pcx_pretax_max_percent_16percent_20percent", precision: 5, scale: 2
1010
+ t.decimal "pcx_pretax_max_percent_21percent_25percent", precision: 5, scale: 2
1011
+ t.decimal "pcx_pretax_max_percent_26percent_30percent", precision: 5, scale: 2
1012
+ t.decimal "pcx_pretax_max_percent_31percent_35percent", precision: 5, scale: 2
1013
+ t.decimal "pcx_pretax_max_percent_36percent_40percent", precision: 5, scale: 2
1014
+ t.decimal "pcx_pretax_max_percent_41percent_45percent", precision: 5, scale: 2
1015
+ t.decimal "pcx_pretax_max_percent_46percent_50percent", precision: 5, scale: 2
1016
+ t.decimal "pcx_pretax_max_percent_51percent_55percent", precision: 5, scale: 2
1017
+ t.decimal "pcx_pretax_max_percent_56percent_60percent", precision: 5, scale: 2
1018
+ t.decimal "pcx_pretax_max_percent_61percent_65percent", precision: 5, scale: 2
1019
+ t.decimal "pcx_pretax_max_percent_66percent_70percent", precision: 5, scale: 2
1020
+ t.decimal "pcx_pretax_max_percent_71percent_75percent", precision: 5, scale: 2
1021
+ t.decimal "pcx_pretax_max_percent_76percent_80percent", precision: 5, scale: 2
1022
+ t.decimal "pcx_pretax_max_percent_81percent_85percent", precision: 5, scale: 2
1023
+ t.decimal "pcx_pretax_max_percent_86percent_90percent", precision: 5, scale: 2
1024
+ t.decimal "pcx_pretax_max_percent_91percent_95percent", precision: 5, scale: 2
1025
+ t.decimal "pcx_pretax_max_percent_96percent_100percent", precision: 5, scale: 2
1026
+ t.decimal "pcx_roth_percent_no", precision: 5, scale: 2
1027
+ t.decimal "pcx_roth_percent_yes", precision: 5, scale: 2
1028
+ t.decimal "pcx_roth_max_percent_0percent_5percent", precision: 5, scale: 2
1029
+ t.decimal "pcx_roth_max_percent_6percent_10percent", precision: 5, scale: 2
1030
+ t.decimal "pcx_roth_max_percent_11percent_15percent", precision: 5, scale: 2
1031
+ t.decimal "pcx_roth_max_percent_16percent_20percent", precision: 5, scale: 2
1032
+ t.decimal "pcx_roth_max_percent_21percent_25percent", precision: 5, scale: 2
1033
+ t.decimal "pcx_roth_max_percent_26percent_30percent", precision: 5, scale: 2
1034
+ t.decimal "pcx_roth_max_percent_31percent_35percent", precision: 5, scale: 2
1035
+ t.decimal "pcx_roth_max_percent_36percent_40percent", precision: 5, scale: 2
1036
+ t.decimal "pcx_roth_max_percent_41percent_45percent", precision: 5, scale: 2
1037
+ t.decimal "pcx_roth_max_percent_46percent_50percent", precision: 5, scale: 2
1038
+ t.decimal "pcx_roth_max_percent_51percent_55percent", precision: 5, scale: 2
1039
+ t.decimal "pcx_roth_max_percent_56percent_60percent", precision: 5, scale: 2
1040
+ t.decimal "pcx_roth_max_percent_61percent_65percent", precision: 5, scale: 2
1041
+ t.decimal "pcx_roth_max_percent_66percent_70percent", precision: 5, scale: 2
1042
+ t.decimal "pcx_roth_max_percent_71percent_75percent", precision: 5, scale: 2
1043
+ t.decimal "pcx_roth_max_percent_76percent_80percent", precision: 5, scale: 2
1044
+ t.decimal "pcx_roth_max_percent_81percent_85percent", precision: 5, scale: 2
1045
+ t.decimal "pcx_roth_max_percent_86percent_90percent", precision: 5, scale: 2
1046
+ t.decimal "pcx_roth_max_percent_91percent_95percent", precision: 5, scale: 2
1047
+ t.decimal "pcx_roth_max_percent_96percent_100percent", precision: 5, scale: 2
1048
+ t.decimal "pcx_catchup_percent_no", precision: 5, scale: 2
1049
+ t.decimal "pcx_catchup_percent_yes", precision: 5, scale: 2
1050
+ t.decimal "pcx_aftertax_percent_no", precision: 5, scale: 2
1051
+ t.decimal "pcx_aftertax_percent_yes", precision: 5, scale: 2
1052
+ t.decimal "pcx_aftertax_max_percent_0percent_5percent", precision: 5, scale: 2
1053
+ t.decimal "pcx_aftertax_max_percent_6percent_10percent", precision: 5, scale: 2
1054
+ t.decimal "pcx_aftertax_max_percent_11percent_15percent", precision: 5, scale: 2
1055
+ t.decimal "pcx_aftertax_max_percent_16percent_20percent", precision: 5, scale: 2
1056
+ t.decimal "pcx_aftertax_max_percent_21percent_25percent", precision: 5, scale: 2
1057
+ t.decimal "pcx_aftertax_max_percent_26percent_30percent", precision: 5, scale: 2
1058
+ t.decimal "pcx_aftertax_max_percent_31percent_35percent", precision: 5, scale: 2
1059
+ t.decimal "pcx_aftertax_max_percent_36percent_40percent", precision: 5, scale: 2
1060
+ t.decimal "pcx_aftertax_max_percent_41percent_45percent", precision: 5, scale: 2
1061
+ t.decimal "pcx_aftertax_max_percent_46percent_50percent", precision: 5, scale: 2
1062
+ t.decimal "pcx_aftertax_max_percent_51percent_55percent", precision: 5, scale: 2
1063
+ t.decimal "pcx_aftertax_max_percent_56percent_60percent", precision: 5, scale: 2
1064
+ t.decimal "pcx_aftertax_max_percent_61percent_65percent", precision: 5, scale: 2
1065
+ t.decimal "pcx_aftertax_max_percent_66percent_70percent", precision: 5, scale: 2
1066
+ t.decimal "pcx_aftertax_max_percent_71percent_75percent", precision: 5, scale: 2
1067
+ t.decimal "pcx_aftertax_max_percent_76percent_80percent", precision: 5, scale: 2
1068
+ t.decimal "pcx_aftertax_max_percent_81percent_85percent", precision: 5, scale: 2
1069
+ t.decimal "pcx_aftertax_max_percent_86percent_90percent", precision: 5, scale: 2
1070
+ t.decimal "pcx_aftertax_max_percent_91percent_95percent", precision: 5, scale: 2
1071
+ t.decimal "pcx_aftertax_max_percent_96percent_100percent", precision: 5, scale: 2
1072
+ t.decimal "pcx_rolloverin_percent_no", precision: 5, scale: 2
1073
+ t.decimal "pcx_rolloverin_percent_yes", precision: 5, scale: 2
1074
+ t.decimal "pcx_employer_matching_formula_percent_discretionary", precision: 5, scale: 2
1075
+ t.decimal "pcx_employer_matching_formula_percentage_fixed", precision: 5, scale: 2
1076
+ t.decimal "pcx_employer_matching_vesting_percent_immediate", precision: 5, scale: 2
1077
+ t.decimal "pcx_employer_matching_vesting_percent_graded_2_years", precision: 5, scale: 2
1078
+ t.decimal "pcx_employer_matching_vesting_percent_graded_3_years", precision: 5, scale: 2
1079
+ t.decimal "pcx_employer_matching_vesting_percent_graded_4_years", precision: 5, scale: 2
1080
+ t.decimal "pcx_employer_matching_vesting_percent_graded_5_years", precision: 5, scale: 2
1081
+ t.decimal "pcx_employer_matching_vesting_percent_graded_6_years", precision: 5, scale: 2
1082
+ t.decimal "pcx_employer_matching_vesting_percent_cliff_1_yrs", precision: 5, scale: 2
1083
+ t.decimal "pcx_employer_matching_vesting_percent_cliff_2_yrs", precision: 5, scale: 2
1084
+ t.decimal "pcx_employer_matching_vesting_percent_cliff_3_yrs", precision: 5, scale: 2
1085
+ t.decimal "pcx_employer_matching_vesting_percent_other", precision: 5, scale: 2
1086
+ t.decimal "pcx_employer_matching_eoy_percent_no", precision: 5, scale: 2
1087
+ t.decimal "pcx_employer_matching_eoy_percent_yes", precision: 5, scale: 2
1088
+ t.decimal "pcx_employer_matching_1000_hrs_percent_no", precision: 5, scale: 2
1089
+ t.decimal "pcx_employer_matching_1000_hrs_percent_yes", precision: 5, scale: 2
1090
+ t.decimal "pcx_employer_discretionary_percent_no", precision: 5, scale: 2
1091
+ t.decimal "pcx_employer_discretionary_percent_yes", precision: 5, scale: 2
1092
+ t.decimal "pcx_employer_discretionary_vesting_percent_immediate", precision: 5, scale: 2
1093
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_2_years", precision: 5, scale: 2
1094
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_3_years", precision: 5, scale: 2
1095
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_4_years", precision: 5, scale: 2
1096
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_5_years", precision: 5, scale: 2
1097
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_6_years", precision: 5, scale: 2
1098
+ t.decimal "pcx_employer_discretionary_vesting_percent_cliff_1_yrs", precision: 5, scale: 2
1099
+ t.decimal "pcx_employer_discretionary_vesting_percent_cliff_2_yrs", precision: 5, scale: 2
1100
+ t.decimal "pcx_employer_discretionary_vesting_percent_cliff_3_yrs", precision: 5, scale: 2
1101
+ t.decimal "pcx_employer_discretionary_vesting_percent_other", precision: 5, scale: 2
1102
+ t.decimal "pcx_employer_discretionary_eoy_percent_no", precision: 5, scale: 2
1103
+ t.decimal "pcx_employer_discretionary_eoy_percent_yes", precision: 5, scale: 2
1104
+ t.decimal "pcx_employer_discretionary_1000_hrs_percent_no", precision: 5, scale: 2
1105
+ t.decimal "pcx_employer_discretionary_1000_hrs_percent_yes", precision: 5, scale: 2
1106
+ t.decimal "pcx_employer_required_none", precision: 5, scale: 2
1107
+ t.decimal "pcx_employer_required_safe_harbor_type_percent_qnec_std", precision: 5, scale: 2
1108
+ t.decimal "pcx_employer_required_safe_harbor_type_percent_qnec_other", precision: 5, scale: 2
1109
+ t.decimal "pcx_employer_required_safe_harbor_type_percent_qmac_std", precision: 5, scale: 2
1110
+ t.decimal "pcx_employer_required_safe_harbor_type_percent_qmac_other", precision: 5, scale: 2
1111
+ t.decimal "pcx_employer_required_percent_straightpercent", precision: 5, scale: 2
1112
+ t.decimal "pcx_employer_required_percent_straightpercent_amtcap", precision: 5, scale: 2
1113
+ t.decimal "pcx_employer_required_percent_integrated", precision: 5, scale: 2
1114
+ t.decimal "pcx_employer_required_percent_pointsformula", precision: 5, scale: 2
1115
+ t.decimal "pcx_employer_required_percent_other", precision: 5, scale: 2
1116
+ t.decimal "pcx_employer_required_vesting_percent_immediate", precision: 5, scale: 2
1117
+ t.decimal "pcx_employer_required_vesting_percent_graded_2_years", precision: 5, scale: 2
1118
+ t.decimal "pcx_employer_required_vesting_percent_graded_3_years", precision: 5, scale: 2
1119
+ t.decimal "pcx_employer_required_vesting_percent_graded_4_years", precision: 5, scale: 2
1120
+ t.decimal "pcx_employer_required_vesting_percent_graded_5_years", precision: 5, scale: 2
1121
+ t.decimal "pcx_employer_required_vesting_percent_graded_6_years", precision: 5, scale: 2
1122
+ t.decimal "pcx_employer_required_vesting_percent_cliff_1_yrs", precision: 5, scale: 2
1123
+ t.decimal "pcx_employer_required_vesting_percent_cliff_2_yrs", precision: 5, scale: 2
1124
+ t.decimal "pcx_employer_required_vesting_percent_cliff_3_yrs", precision: 5, scale: 2
1125
+ t.decimal "pcx_employer_required_vesting_percent_other", precision: 5, scale: 2
1126
+ t.decimal "pcx_employer_required_eoy_percent_no", precision: 5, scale: 2
1127
+ t.decimal "pcx_employer_required_eoy_percent_yes", precision: 5, scale: 2
1128
+ t.decimal "pcx_employer_required_1000_hrs_percent_no", precision: 5, scale: 2
1129
+ t.decimal "pcx_employer_required_1000_hrs_percent_yes", precision: 5, scale: 2
1130
+ t.decimal "pcx_target_date_funds_no", precision: 5, scale: 2
1131
+ t.decimal "pcx_target_date_funds_yes", precision: 5, scale: 2
1132
+ t.decimal "pcx_risk_based_funds_no", precision: 5, scale: 2
1133
+ t.decimal "pcx_risk_based_funds_yes", precision: 5, scale: 2
1134
+ t.decimal "pcx_model_portfolios_from_core_no", precision: 5, scale: 2
1135
+ t.decimal "pcx_model_portfolios_from_core_yes", precision: 5, scale: 2
1136
+ t.decimal "pcx_managed_account_from_core_no", precision: 5, scale: 2
1137
+ t.decimal "pcx_managed_account_from_core_yes", precision: 5, scale: 2
1138
+ t.decimal "pcx_default_all_ees_qdia_from_core_no", precision: 5, scale: 2
1139
+ t.decimal "pcx_default_all_ees_qdia_from_core_yes", precision: 5, scale: 2
1140
+ t.integer "pcx_number_of_core_options_from_core_no"
1141
+ t.integer "pcx_number_of_core_options_from_core_yes"
1142
+ t.integer "pcx_number_of_core_assetclasses_from_core_no"
1143
+ t.integer "pcx_number_of_core_assetclasses_from_core_yes"
1144
+ t.decimal "pcx_auto_rebalance_percent_no", precision: 5, scale: 2
1145
+ t.decimal "pcx_auto_rebalance_percent_yes", precision: 5, scale: 2
1146
+ t.decimal "pcx_sda_percent_no", precision: 5, scale: 2
1147
+ t.decimal "pcx_sda_percent_yes", precision: 5, scale: 2
1148
+ t.decimal "pcx_company_stock_percent_no", precision: 5, scale: 2
1149
+ t.decimal "pcx_company_stock_percent_yes", precision: 5, scale: 2
1150
+ t.decimal "pcx_loans_allowed_percent_no", precision: 5, scale: 2
1151
+ t.decimal "pcx_loans_allowed_percent_yes", precision: 5, scale: 2
1152
+ t.decimal "pcx_loan_types_allowed_percent_general_only", precision: 5, scale: 2
1153
+ t.decimal "pcx_loan_types_allowed_percent_residential_only", precision: 5, scale: 2
1154
+ t.decimal "pcx_loan_types_allowed_percent_general_and_residential", precision: 5, scale: 2
1155
+ t.decimal "pcx_max_loans_allowed_percent_1", precision: 5, scale: 2
1156
+ t.decimal "pcx_max_loans_allowed_percent_2", precision: 5, scale: 2
1157
+ t.decimal "pcx_max_loans_allowed_percent_3", precision: 5, scale: 2
1158
+ t.decimal "pcx_max_loans_allowed_percent_4", precision: 5, scale: 2
1159
+ t.decimal "pcx_max_loans_allowed_percent_5", precision: 5, scale: 2
1160
+ t.decimal "pcx_max_loans_allowed_percent_gt5", precision: 5, scale: 2
1161
+ t.decimal "pcx_age_59_5_withdrawals_percent_no", precision: 5, scale: 2
1162
+ t.decimal "pcx_age_59_5_withdrawals_percent_yes", precision: 5, scale: 2
1163
+ t.decimal "pcx_hardship_withdrawals_percent_no", precision: 5, scale: 2
1164
+ t.decimal "pcx_hardship_withdrawals_percent_yes", precision: 5, scale: 2
1165
+ t.decimal "pcx_hardship_loans_percent_no", precision: 5, scale: 2
1166
+ t.decimal "pcx_hardship_loans_percent_yes", precision: 5, scale: 2
1167
+ t.decimal "pcx_hardship_withdrawals_and_hardship_loans_percent_yes", precision: 5, scale: 2
1168
+ t.decimal "pcx_installment_payments_percent_no", precision: 5, scale: 2
1169
+ t.decimal "pcx_installment_payments_percent_yes", precision: 5, scale: 2
1170
+ t.decimal "pcx_annuities_percent_no", precision: 5, scale: 2
1171
+ t.decimal "pcx_annuities_percent_yes", precision: 5, scale: 2
1172
+ t.decimal "pcx_cash_out_percent_none", precision: 5, scale: 2
1173
+ t.decimal "pcx_cash_out_percent_amt1000", precision: 5, scale: 2
1174
+ t.decimal "pcx_cash_out_percent_amt5000", precision: 5, scale: 2
1175
+ t.decimal "pcx_cash_out_percent_other", precision: 5, scale: 2
1176
+ t.decimal "pcx_lifetime_annuity_option_percent_no", precision: 5, scale: 2
1177
+ t.decimal "pcx_lifetime_annuity_option_percent_yes", precision: 5, scale: 2
1178
+ t.decimal "pcx_lifetime_income_service_no", precision: 5, scale: 2
1179
+ t.decimal "pcx_lifetime_income_service_yes", precision: 5, scale: 2
1180
+ t.decimal "pcx_valuation_frequency_percent_daily", precision: 5, scale: 2
1181
+ t.decimal "pcx_valuation_frequency_percent_annual", precision: 5, scale: 2
1182
+ t.decimal "pcx_valuation_frequency_percent_semi_annual", precision: 5, scale: 2
1183
+ t.decimal "pcx_valuation_frequency_percent_quarterly", precision: 5, scale: 2
1184
+ t.decimal "pcx_valuation_frequency_percent_monthly", precision: 5, scale: 2
1185
+ end
1186
+
1187
+ create_table "bmg_plan_complexity_fees_plans", force: true do |t|
1188
+ t.date "vintage_date"
1189
+ t.integer "plan_id"
1190
+ t.integer "pcx_score"
1191
+ end
1192
+
1193
+ create_table "bmg_psm_groups", force: true do |t|
1194
+ t.date "vintage_date"
1195
+ t.integer "naics_2_digit_market_segment_id"
1196
+ t.integer "naics_3_digit_market_segment_id"
1197
+ end
1198
+
1199
+ create_table "bmg_psm_masters", force: true do |t|
1200
+ t.string "name", limit: 64
1201
+ end
1202
+
1203
+ create_table "bmg_psm_singles", force: true do |t|
1204
+ t.integer "bmg_psm_group_id"
1205
+ t.integer "bmg_psm_master_id"
1206
+ t.decimal "percent_responding", precision: 5, scale: 2
1207
+ t.decimal "value_low", precision: 5, scale: 2
1208
+ t.decimal "value_5th", precision: 5, scale: 2
1209
+ t.decimal "value_25th", precision: 5, scale: 2
1210
+ t.decimal "value_50th", precision: 5, scale: 2
1211
+ t.decimal "value_75th", precision: 5, scale: 2
1212
+ t.decimal "value_95th", precision: 5, scale: 2
1213
+ t.decimal "value_high", precision: 5, scale: 2
1214
+ end
1215
+
1216
+ create_table "bmg_rk_investment_fees", force: true do |t|
1217
+ t.integer "market_segment_id"
1218
+ t.integer "fbi_asset_class_id"
1219
+ t.integer "investment_strategy_id"
1220
+ t.decimal "to_rk_25th", precision: 8, scale: 5
1221
+ t.decimal "to_rk_50th", precision: 8, scale: 5
1222
+ t.decimal "to_rk_75th", precision: 8, scale: 5
1223
+ end
1224
+
1225
+ create_table "bmg_rk_masters", force: true do |t|
1226
+ t.date "vintage_date"
1227
+ t.integer "rk_bmg_assets_low"
1228
+ t.integer "rk_bmg_assets_50th"
1229
+ t.integer "rk_bmg_assets_high"
1230
+ t.integer "rk_bmg_participants_low"
1231
+ t.integer "rk_bmg_participants_high"
1232
+ t.integer "rk_bmg_participants_avgbalance_low"
1233
+ t.integer "rk_bmg_participants_avgbalance_high"
1234
+ t.decimal "rk_bmg_correlation_coefficient", precision: 6, scale: 3
1235
+ t.decimal "rk_bmg_regressionline_slope_value", precision: 8, scale: 5
1236
+ t.decimal "rk_bmg_regressionline_constant_value", precision: 7, scale: 2
1237
+ t.integer "rk_total_plans"
1238
+ t.integer "rk_planstype_401k"
1239
+ t.integer "rk_planstype_403b"
1240
+ t.integer "rk_planstype_other"
1241
+ t.integer "rk_plans_insco"
1242
+ t.integer "rk_plans_mutualfunds"
1243
+ t.integer "rk_plans_bank"
1244
+ t.integer "rk_plans_tpa"
1245
+ t.integer "rk_plans_other"
1246
+ t.integer "rk_total_rks"
1247
+ t.integer "rk_rkbusinessmodel_insco"
1248
+ t.integer "rk_rkbusinessmodel_mutualfunds"
1249
+ t.integer "rk_rkbusinessmodel_bank"
1250
+ t.integer "rk_rkbusinessmodel_tpa"
1251
+ t.integer "rk_rkbusinessmodel_other"
1252
+ t.decimal "rk_totalfees_dollars_5th", precision: 12, scale: 2
1253
+ t.decimal "rk_totalfees_dollars_25th", precision: 12, scale: 2
1254
+ t.decimal "rk_totalfees_dollars_50th", precision: 12, scale: 2
1255
+ t.decimal "rk_totalfees_dollars_75th", precision: 12, scale: 2
1256
+ t.decimal "rk_totalfees_dollars_95th", precision: 12, scale: 2
1257
+ t.decimal "rk_totalfees_bps_5th", precision: 7, scale: 4
1258
+ t.decimal "rk_totalfees_bps_25th", precision: 7, scale: 4
1259
+ t.decimal "rk_totalfees_bps_50th", precision: 7, scale: 4
1260
+ t.decimal "rk_totalfees_bps_75th", precision: 7, scale: 4
1261
+ t.decimal "rk_totalfees_bps_95th", precision: 7, scale: 4
1262
+ t.decimal "rk_totalfees_perpart_5th", precision: 9, scale: 2
1263
+ t.decimal "rk_totalfees_perpart_25th", precision: 9, scale: 2
1264
+ t.decimal "rk_totalfees_perpart_50th", precision: 9, scale: 2
1265
+ t.decimal "rk_totalfees_perpart_75th", precision: 9, scale: 2
1266
+ t.decimal "rk_totalfees_perpart_95th", precision: 9, scale: 2
1267
+ t.decimal "rk_ter_aggressive_allocation_investmentfees_to_rk_25th", precision: 8, scale: 5
1268
+ t.decimal "rk_ter_aggressive_allocation_investmentfees_to_rk_50th", precision: 8, scale: 5
1269
+ t.decimal "rk_ter_aggressive_allocation_investmentfees_to_rk_75th", precision: 8, scale: 5
1270
+ t.decimal "rk_ter_bank_loan_investmentfees_to_rk_25th", precision: 8, scale: 5
1271
+ t.decimal "rk_ter_bank_loan_investmentfees_to_rk_50th", precision: 8, scale: 5
1272
+ t.decimal "rk_ter_bank_loan_investmentfees_to_rk_75th", precision: 8, scale: 5
1273
+ t.decimal "rk_ter_bear_market_investmentfees_to_rk_25th", precision: 8, scale: 5
1274
+ t.decimal "rk_ter_bear_market_investmentfees_to_rk_50th", precision: 8, scale: 5
1275
+ t.decimal "rk_ter_bear_market_investmentfees_to_rk_75th", precision: 8, scale: 5
1276
+ t.decimal "rk_ter_cash_investmentfees_to_rk_25th", precision: 8, scale: 5
1277
+ t.decimal "rk_ter_cash_investmentfees_to_rk_50th", precision: 8, scale: 5
1278
+ t.decimal "rk_ter_cash_investmentfees_to_rk_75th", precision: 8, scale: 5
1279
+ t.decimal "rk_ter_china_region_investmentfees_to_rk_25th", precision: 8, scale: 5
1280
+ t.decimal "rk_ter_china_region_investmentfees_to_rk_50th", precision: 8, scale: 5
1281
+ t.decimal "rk_ter_china_region_investmentfees_to_rk_75th", precision: 8, scale: 5
1282
+ t.decimal "rk_ter_commodities_agriculture_investmentfees_to_rk_25th", precision: 8, scale: 5
1283
+ t.decimal "rk_ter_commodities_agriculture_investmentfees_to_rk_50th", precision: 8, scale: 5
1284
+ t.decimal "rk_ter_commodities_agriculture_investmentfees_to_rk_75th", precision: 8, scale: 5
1285
+ t.decimal "rk_ter_commodities_broad_basket_investmentfees_to_rk_25th", precision: 8, scale: 5
1286
+ t.decimal "rk_ter_commodities_broad_basket_investmentfees_to_rk_50th", precision: 8, scale: 5
1287
+ t.decimal "rk_ter_commodities_broad_basket_investmentfees_to_rk_75th", precision: 8, scale: 5
1288
+ t.decimal "rk_ter_commodities_energy_investmentfees_to_rk_25th", precision: 8, scale: 5
1289
+ t.decimal "rk_ter_commodities_energy_investmentfees_to_rk_50th", precision: 8, scale: 5
1290
+ t.decimal "rk_ter_commodities_energy_investmentfees_to_rk_75th", precision: 8, scale: 5
1291
+ t.decimal "rk_ter_commodities_industrial_metals_investmentfees_to_rk_25th", precision: 8, scale: 5
1292
+ t.decimal "rk_ter_commodities_industrial_metals_investmentfees_to_rk_50th", precision: 8, scale: 5
1293
+ t.decimal "rk_ter_commodities_industrial_metals_investmentfees_to_rk_75th", precision: 8, scale: 5
1294
+ t.decimal "rk_ter_commodities_miscellaneous_investmentfees_to_rk_25th", precision: 8, scale: 5
1295
+ t.decimal "rk_ter_commodities_miscellaneous_investmentfees_to_rk_50th", precision: 8, scale: 5
1296
+ t.decimal "rk_ter_commodities_miscellaneous_investmentfees_to_rk_75th", precision: 8, scale: 5
1297
+ t.decimal "rk_ter_commodities_precious_metals_investmentfees_to_rk_25th", precision: 8, scale: 5
1298
+ t.decimal "rk_ter_commodities_precious_metals_investmentfees_to_rk_50th", precision: 8, scale: 5
1299
+ t.decimal "rk_ter_commodities_precious_metals_investmentfees_to_rk_75th", precision: 8, scale: 5
1300
+ t.decimal "rk_ter_communications_investmentfees_to_rk_25th", precision: 8, scale: 5
1301
+ t.decimal "rk_ter_communications_investmentfees_to_rk_50th", precision: 8, scale: 5
1302
+ t.decimal "rk_ter_communications_investmentfees_to_rk_75th", precision: 8, scale: 5
1303
+ t.decimal "rk_ter_conservative_allocation_investmentfees_to_rk_25th", precision: 8, scale: 5
1304
+ t.decimal "rk_ter_conservative_allocation_investmentfees_to_rk_50th", precision: 8, scale: 5
1305
+ t.decimal "rk_ter_conservative_allocation_investmentfees_to_rk_75th", precision: 8, scale: 5
1306
+ t.decimal "rk_ter_consumer_cyclical_investmentfees_to_rk_25th", precision: 8, scale: 5
1307
+ t.decimal "rk_ter_consumer_cyclical_investmentfees_to_rk_50th", precision: 8, scale: 5
1308
+ t.decimal "rk_ter_consumer_cyclical_investmentfees_to_rk_75th", precision: 8, scale: 5
1309
+ t.decimal "rk_ter_consumer_defensive_investmentfees_to_rk_25th", precision: 8, scale: 5
1310
+ t.decimal "rk_ter_consumer_defensive_investmentfees_to_rk_50th", precision: 8, scale: 5
1311
+ t.decimal "rk_ter_consumer_defensive_investmentfees_to_rk_75th", precision: 8, scale: 5
1312
+ t.decimal "rk_ter_convertibles_investmentfees_to_rk_25th", precision: 8, scale: 5
1313
+ t.decimal "rk_ter_convertibles_investmentfees_to_rk_50th", precision: 8, scale: 5
1314
+ t.decimal "rk_ter_convertibles_investmentfees_to_rk_75th", precision: 8, scale: 5
1315
+ t.decimal "rk_ter_currency_investmentfees_to_rk_25th", precision: 8, scale: 5
1316
+ t.decimal "rk_ter_currency_investmentfees_to_rk_50th", precision: 8, scale: 5
1317
+ t.decimal "rk_ter_currency_investmentfees_to_rk_75th", precision: 8, scale: 5
1318
+ t.decimal "rk_ter_diversified_emerging_mkts_investmentfees_to_rk_25th", precision: 8, scale: 5
1319
+ t.decimal "rk_ter_diversified_emerging_mkts_investmentfees_to_rk_50th", precision: 8, scale: 5
1320
+ t.decimal "rk_ter_diversified_emerging_mkts_investmentfees_to_rk_75th", precision: 8, scale: 5
1321
+ t.decimal "rk_ter_diversified_pacific_asia_investmentfees_to_rk_25th", precision: 8, scale: 5
1322
+ t.decimal "rk_ter_diversified_pacific_asia_investmentfees_to_rk_50th", precision: 8, scale: 5
1323
+ t.decimal "rk_ter_diversified_pacific_asia_investmentfees_to_rk_75th", precision: 8, scale: 5
1324
+ t.decimal "rk_ter_emerging_markets_bond_investmentfees_to_rk_25th", precision: 8, scale: 5
1325
+ t.decimal "rk_ter_emerging_markets_bond_investmentfees_to_rk_50th", precision: 8, scale: 5
1326
+ t.decimal "rk_ter_emerging_markets_bond_investmentfees_to_rk_75th", precision: 8, scale: 5
1327
+ t.decimal "rk_ter_equity_energy_investmentfees_to_rk_25th", precision: 8, scale: 5
1328
+ t.decimal "rk_ter_equity_energy_investmentfees_to_rk_50th", precision: 8, scale: 5
1329
+ t.decimal "rk_ter_equity_energy_investmentfees_to_rk_75th", precision: 8, scale: 5
1330
+ t.decimal "rk_ter_equity_precious_metals_investmentfees_to_rk_25th", precision: 8, scale: 5
1331
+ t.decimal "rk_ter_equity_precious_metals_investmentfees_to_rk_50th", precision: 8, scale: 5
1332
+ t.decimal "rk_ter_equity_precious_metals_investmentfees_to_rk_75th", precision: 8, scale: 5
1333
+ t.decimal "rk_ter_europe_stock_investmentfees_to_rk_25th", precision: 8, scale: 5
1334
+ t.decimal "rk_ter_europe_stock_investmentfees_to_rk_50th", precision: 8, scale: 5
1335
+ t.decimal "rk_ter_europe_stock_investmentfees_to_rk_75th", precision: 8, scale: 5
1336
+ t.decimal "rk_ter_financial_investmentfees_to_rk_25th", precision: 8, scale: 5
1337
+ t.decimal "rk_ter_financial_investmentfees_to_rk_50th", precision: 8, scale: 5
1338
+ t.decimal "rk_ter_financial_investmentfees_to_rk_75th", precision: 8, scale: 5
1339
+ t.decimal "rk_ter_foreign_large_blend_investmentfees_to_rk_25th", precision: 8, scale: 5
1340
+ t.decimal "rk_ter_foreign_large_blend_investmentfees_to_rk_50th", precision: 8, scale: 5
1341
+ t.decimal "rk_ter_foreign_large_blend_investmentfees_to_rk_75th", precision: 8, scale: 5
1342
+ t.decimal "rk_ter_foreign_large_growth_investmentfees_to_rk_25th", precision: 8, scale: 5
1343
+ t.decimal "rk_ter_foreign_large_growth_investmentfees_to_rk_50th", precision: 8, scale: 5
1344
+ t.decimal "rk_ter_foreign_large_growth_investmentfees_to_rk_75th", precision: 8, scale: 5
1345
+ t.decimal "rk_ter_foreign_large_value_investmentfees_to_rk_25th", precision: 8, scale: 5
1346
+ t.decimal "rk_ter_foreign_large_value_investmentfees_to_rk_50th", precision: 8, scale: 5
1347
+ t.decimal "rk_ter_foreign_large_value_investmentfees_to_rk_75th", precision: 8, scale: 5
1348
+ t.decimal "rk_ter_foreign_small_mid_blend_investmentfees_to_rk_25th", precision: 8, scale: 5
1349
+ t.decimal "rk_ter_foreign_small_mid_blend_investmentfees_to_rk_50th", precision: 8, scale: 5
1350
+ t.decimal "rk_ter_foreign_small_mid_blend_investmentfees_to_rk_75th", precision: 8, scale: 5
1351
+ t.decimal "rk_ter_foreign_small_mid_growth_investmentfees_to_rk_25th", precision: 8, scale: 5
1352
+ t.decimal "rk_ter_foreign_small_mid_growth_investmentfees_to_rk_50th", precision: 8, scale: 5
1353
+ t.decimal "rk_ter_foreign_small_mid_growth_investmentfees_to_rk_75th", precision: 8, scale: 5
1354
+ t.decimal "rk_ter_foreign_small_mid_value_investmentfees_to_rk_25th", precision: 8, scale: 5
1355
+ t.decimal "rk_ter_foreign_small_mid_value_investmentfees_to_rk_50th", precision: 8, scale: 5
1356
+ t.decimal "rk_ter_foreign_small_mid_value_investmentfees_to_rk_75th", precision: 8, scale: 5
1357
+ t.decimal "rk_ter_general_account_investmentfees_to_rk_25th", precision: 8, scale: 5
1358
+ t.decimal "rk_ter_general_account_investmentfees_to_rk_50th", precision: 8, scale: 5
1359
+ t.decimal "rk_ter_general_account_investmentfees_to_rk_75th", precision: 8, scale: 5
1360
+ t.decimal "rk_ter_global_real_estate_investmentfees_to_rk_25th", precision: 8, scale: 5
1361
+ t.decimal "rk_ter_global_real_estate_investmentfees_to_rk_50th", precision: 8, scale: 5
1362
+ t.decimal "rk_ter_global_real_estate_investmentfees_to_rk_75th", precision: 8, scale: 5
1363
+ t.decimal "rk_ter_health_investmentfees_to_rk_25th", precision: 8, scale: 5
1364
+ t.decimal "rk_ter_health_investmentfees_to_rk_50th", precision: 8, scale: 5
1365
+ t.decimal "rk_ter_health_investmentfees_to_rk_75th", precision: 8, scale: 5
1366
+ t.decimal "rk_ter_high_yield_bond_investmentfees_to_rk_25th", precision: 8, scale: 5
1367
+ t.decimal "rk_ter_high_yield_bond_investmentfees_to_rk_50th", precision: 8, scale: 5
1368
+ t.decimal "rk_ter_high_yield_bond_investmentfees_to_rk_75th", precision: 8, scale: 5
1369
+ t.decimal "rk_ter_high_yield_muni_investmentfees_to_rk_25th", precision: 8, scale: 5
1370
+ t.decimal "rk_ter_high_yield_muni_investmentfees_to_rk_50th", precision: 8, scale: 5
1371
+ t.decimal "rk_ter_high_yield_muni_investmentfees_to_rk_75th", precision: 8, scale: 5
1372
+ t.decimal "rk_ter_india_equity_investmentfees_to_rk_25th", precision: 8, scale: 5
1373
+ t.decimal "rk_ter_india_equity_investmentfees_to_rk_50th", precision: 8, scale: 5
1374
+ t.decimal "rk_ter_india_equity_investmentfees_to_rk_75th", precision: 8, scale: 5
1375
+ t.decimal "rk_ter_industrials_investmentfees_to_rk_25th", precision: 8, scale: 5
1376
+ t.decimal "rk_ter_industrials_investmentfees_to_rk_50th", precision: 8, scale: 5
1377
+ t.decimal "rk_ter_industrials_investmentfees_to_rk_75th", precision: 8, scale: 5
1378
+ t.decimal "rk_ter_inflation_protected_bond_investmentfees_to_rk_25th", precision: 8, scale: 5
1379
+ t.decimal "rk_ter_inflation_protected_bond_investmentfees_to_rk_50th", precision: 8, scale: 5
1380
+ t.decimal "rk_ter_inflation_protected_bond_investmentfees_to_rk_75th", precision: 8, scale: 5
1381
+ t.decimal "rk_ter_intermediate_government_investmentfees_to_rk_25th", precision: 8, scale: 5
1382
+ t.decimal "rk_ter_intermediate_government_investmentfees_to_rk_50th", precision: 8, scale: 5
1383
+ t.decimal "rk_ter_intermediate_government_investmentfees_to_rk_75th", precision: 8, scale: 5
1384
+ t.decimal "rk_ter_intermediate_term_bond_investmentfees_to_rk_25th", precision: 8, scale: 5
1385
+ t.decimal "rk_ter_intermediate_term_bond_investmentfees_to_rk_50th", precision: 8, scale: 5
1386
+ t.decimal "rk_ter_intermediate_term_bond_investmentfees_to_rk_75th", precision: 8, scale: 5
1387
+ t.decimal "rk_ter_japan_stock_investmentfees_to_rk_25th", precision: 8, scale: 5
1388
+ t.decimal "rk_ter_japan_stock_investmentfees_to_rk_50th", precision: 8, scale: 5
1389
+ t.decimal "rk_ter_japan_stock_investmentfees_to_rk_75th", precision: 8, scale: 5
1390
+ t.decimal "rk_ter_large_blend_investmentfees_to_rk_25th", precision: 8, scale: 5
1391
+ t.decimal "rk_ter_large_blend_investmentfees_to_rk_50th", precision: 8, scale: 5
1392
+ t.decimal "rk_ter_large_blend_investmentfees_to_rk_75th", precision: 8, scale: 5
1393
+ t.decimal "rk_ter_large_growth_investmentfees_to_rk_25th", precision: 8, scale: 5
1394
+ t.decimal "rk_ter_large_growth_investmentfees_to_rk_50th", precision: 8, scale: 5
1395
+ t.decimal "rk_ter_large_growth_investmentfees_to_rk_75th", precision: 8, scale: 5
1396
+ t.decimal "rk_ter_large_value_investmentfees_to_rk_25th", precision: 8, scale: 5
1397
+ t.decimal "rk_ter_large_value_investmentfees_to_rk_50th", precision: 8, scale: 5
1398
+ t.decimal "rk_ter_large_value_investmentfees_to_rk_75th", precision: 8, scale: 5
1399
+ t.decimal "rk_ter_latin_america_stock_investmentfees_to_rk_25th", precision: 8, scale: 5
1400
+ t.decimal "rk_ter_latin_america_stock_investmentfees_to_rk_50th", precision: 8, scale: 5
1401
+ t.decimal "rk_ter_latin_america_stock_investmentfees_to_rk_75th", precision: 8, scale: 5
1402
+ t.decimal "rk_ter_leveraged_net_long_investmentfees_to_rk_25th", precision: 8, scale: 5
1403
+ t.decimal "rk_ter_leveraged_net_long_investmentfees_to_rk_50th", precision: 8, scale: 5
1404
+ t.decimal "rk_ter_leveraged_net_long_investmentfees_to_rk_75th", precision: 8, scale: 5
1405
+ t.decimal "rk_ter_long_government_investmentfees_to_rk_25th", precision: 8, scale: 5
1406
+ t.decimal "rk_ter_long_government_investmentfees_to_rk_50th", precision: 8, scale: 5
1407
+ t.decimal "rk_ter_long_government_investmentfees_to_rk_75th", precision: 8, scale: 5
1408
+ t.decimal "rk_ter_long_short_equity_investmentfees_to_rk_25th", precision: 8, scale: 5
1409
+ t.decimal "rk_ter_long_short_equity_investmentfees_to_rk_50th", precision: 8, scale: 5
1410
+ t.decimal "rk_ter_long_short_equity_investmentfees_to_rk_75th", precision: 8, scale: 5
1411
+ t.decimal "rk_ter_long_term_bond_investmentfees_to_rk_25th", precision: 8, scale: 5
1412
+ t.decimal "rk_ter_long_term_bond_investmentfees_to_rk_50th", precision: 8, scale: 5
1413
+ t.decimal "rk_ter_long_term_bond_investmentfees_to_rk_75th", precision: 8, scale: 5
1414
+ t.decimal "rk_ter_managed_futures_investmentfees_to_rk_25th", precision: 8, scale: 5
1415
+ t.decimal "rk_ter_managed_futures_investmentfees_to_rk_50th", precision: 8, scale: 5
1416
+ t.decimal "rk_ter_managed_futures_investmentfees_to_rk_75th", precision: 8, scale: 5
1417
+ t.decimal "rk_ter_market_neutral_investmentfees_to_rk_25th", precision: 8, scale: 5
1418
+ t.decimal "rk_ter_market_neutral_investmentfees_to_rk_50th", precision: 8, scale: 5
1419
+ t.decimal "rk_ter_market_neutral_investmentfees_to_rk_75th", precision: 8, scale: 5
1420
+ t.decimal "rk_ter_mid_cap_blend_investmentfees_to_rk_25th", precision: 8, scale: 5
1421
+ t.decimal "rk_ter_mid_cap_blend_investmentfees_to_rk_50th", precision: 8, scale: 5
1422
+ t.decimal "rk_ter_mid_cap_blend_investmentfees_to_rk_75th", precision: 8, scale: 5
1423
+ t.decimal "rk_ter_mid_cap_growth_investmentfees_to_rk_25th", precision: 8, scale: 5
1424
+ t.decimal "rk_ter_mid_cap_growth_investmentfees_to_rk_50th", precision: 8, scale: 5
1425
+ t.decimal "rk_ter_mid_cap_growth_investmentfees_to_rk_75th", precision: 8, scale: 5
1426
+ t.decimal "rk_ter_mid_cap_value_investmentfees_to_rk_25th", precision: 8, scale: 5
1427
+ t.decimal "rk_ter_mid_cap_value_investmentfees_to_rk_50th", precision: 8, scale: 5
1428
+ t.decimal "rk_ter_mid_cap_value_investmentfees_to_rk_75th", precision: 8, scale: 5
1429
+ t.decimal "rk_ter_miscellaneous_sector_investmentfees_to_rk_25th", precision: 8, scale: 5
1430
+ t.decimal "rk_ter_miscellaneous_sector_investmentfees_to_rk_50th", precision: 8, scale: 5
1431
+ t.decimal "rk_ter_miscellaneous_sector_investmentfees_to_rk_75th", precision: 8, scale: 5
1432
+ t.decimal "rk_ter_moderate_allocation_investmentfees_to_rk_25th", precision: 8, scale: 5
1433
+ t.decimal "rk_ter_moderate_allocation_investmentfees_to_rk_50th", precision: 8, scale: 5
1434
+ t.decimal "rk_ter_moderate_allocation_investmentfees_to_rk_75th", precision: 8, scale: 5
1435
+ t.decimal "rk_ter_money_market_taxable_investmentfees_to_rk_25th", precision: 8, scale: 5
1436
+ t.decimal "rk_ter_money_market_taxable_investmentfees_to_rk_50th", precision: 8, scale: 5
1437
+ t.decimal "rk_ter_money_market_taxable_investmentfees_to_rk_75th", precision: 8, scale: 5
1438
+ t.decimal "rk_ter_money_market_tax_free_investmentfees_to_rk_25th", precision: 8, scale: 5
1439
+ t.decimal "rk_ter_money_market_tax_free_investmentfees_to_rk_50th", precision: 8, scale: 5
1440
+ t.decimal "rk_ter_money_market_tax_free_investmentfees_to_rk_75th", precision: 8, scale: 5
1441
+ t.decimal "rk_ter_multialternative_investmentfees_to_rk_25th", precision: 8, scale: 5
1442
+ t.decimal "rk_ter_multialternative_investmentfees_to_rk_50th", precision: 8, scale: 5
1443
+ t.decimal "rk_ter_multialternative_investmentfees_to_rk_75th", precision: 8, scale: 5
1444
+ t.decimal "rk_ter_multisector_bond_investmentfees_to_rk_25th", precision: 8, scale: 5
1445
+ t.decimal "rk_ter_multisector_bond_investmentfees_to_rk_50th", precision: 8, scale: 5
1446
+ t.decimal "rk_ter_multisector_bond_investmentfees_to_rk_75th", precision: 8, scale: 5
1447
+ t.decimal "rk_ter_muni_california_intermediate_investmentfees_to_rk_25th", precision: 8, scale: 5
1448
+ t.decimal "rk_ter_muni_california_intermediate_investmentfees_to_rk_50th", precision: 8, scale: 5
1449
+ t.decimal "rk_ter_muni_california_intermediate_investmentfees_to_rk_75th", precision: 8, scale: 5
1450
+ t.decimal "rk_ter_muni_california_long_investmentfees_to_rk_25th", precision: 8, scale: 5
1451
+ t.decimal "rk_ter_muni_california_long_investmentfees_to_rk_50th", precision: 8, scale: 5
1452
+ t.decimal "rk_ter_muni_california_long_investmentfees_to_rk_75th", precision: 8, scale: 5
1453
+ t.decimal "rk_ter_muni_florida_investmentfees_to_rk_25th", precision: 8, scale: 5
1454
+ t.decimal "rk_ter_muni_florida_investmentfees_to_rk_50th", precision: 8, scale: 5
1455
+ t.decimal "rk_ter_muni_florida_investmentfees_to_rk_75th", precision: 8, scale: 5
1456
+ t.decimal "rk_ter_muni_massachusetts_investmentfees_to_rk_25th", precision: 8, scale: 5
1457
+ t.decimal "rk_ter_muni_massachusetts_investmentfees_to_rk_50th", precision: 8, scale: 5
1458
+ t.decimal "rk_ter_muni_massachusetts_investmentfees_to_rk_75th", precision: 8, scale: 5
1459
+ t.decimal "rk_ter_muni_minnesota_investmentfees_to_rk_25th", precision: 8, scale: 5
1460
+ t.decimal "rk_ter_muni_minnesota_investmentfees_to_rk_50th", precision: 8, scale: 5
1461
+ t.decimal "rk_ter_muni_minnesota_investmentfees_to_rk_75th", precision: 8, scale: 5
1462
+ t.decimal "rk_ter_muni_national_interm_investmentfees_to_rk_25th", precision: 8, scale: 5
1463
+ t.decimal "rk_ter_muni_national_interm_investmentfees_to_rk_50th", precision: 8, scale: 5
1464
+ t.decimal "rk_ter_muni_national_interm_investmentfees_to_rk_75th", precision: 8, scale: 5
1465
+ t.decimal "rk_ter_muni_national_long_investmentfees_to_rk_25th", precision: 8, scale: 5
1466
+ t.decimal "rk_ter_muni_national_long_investmentfees_to_rk_50th", precision: 8, scale: 5
1467
+ t.decimal "rk_ter_muni_national_long_investmentfees_to_rk_75th", precision: 8, scale: 5
1468
+ t.decimal "rk_ter_muni_national_short_investmentfees_to_rk_25th", precision: 8, scale: 5
1469
+ t.decimal "rk_ter_muni_national_short_investmentfees_to_rk_50th", precision: 8, scale: 5
1470
+ t.decimal "rk_ter_muni_national_short_investmentfees_to_rk_75th", precision: 8, scale: 5
1471
+ t.decimal "rk_ter_muni_new_jersey_investmentfees_to_rk_25th", precision: 8, scale: 5
1472
+ t.decimal "rk_ter_muni_new_jersey_investmentfees_to_rk_50th", precision: 8, scale: 5
1473
+ t.decimal "rk_ter_muni_new_jersey_investmentfees_to_rk_75th", precision: 8, scale: 5
1474
+ t.decimal "rk_ter_muni_new_york_intermediate_investmentfees_to_rk_25th", precision: 8, scale: 5
1475
+ t.decimal "rk_ter_muni_new_york_intermediate_investmentfees_to_rk_50th", precision: 8, scale: 5
1476
+ t.decimal "rk_ter_muni_new_york_intermediate_investmentfees_to_rk_75th", precision: 8, scale: 5
1477
+ t.decimal "rk_ter_muni_new_york_long_investmentfees_to_rk_25th", precision: 8, scale: 5
1478
+ t.decimal "rk_ter_muni_new_york_long_investmentfees_to_rk_50th", precision: 8, scale: 5
1479
+ t.decimal "rk_ter_muni_new_york_long_investmentfees_to_rk_75th", precision: 8, scale: 5
1480
+ t.decimal "rk_ter_muni_ohio_investmentfees_to_rk_25th", precision: 8, scale: 5
1481
+ t.decimal "rk_ter_muni_ohio_investmentfees_to_rk_50th", precision: 8, scale: 5
1482
+ t.decimal "rk_ter_muni_ohio_investmentfees_to_rk_75th", precision: 8, scale: 5
1483
+ t.decimal "rk_ter_muni_pennsylvania_investmentfees_to_rk_25th", precision: 8, scale: 5
1484
+ t.decimal "rk_ter_muni_pennsylvania_investmentfees_to_rk_50th", precision: 8, scale: 5
1485
+ t.decimal "rk_ter_muni_pennsylvania_investmentfees_to_rk_75th", precision: 8, scale: 5
1486
+ t.decimal "rk_ter_muni_single_state_interm_investmentfees_to_rk_25th", precision: 8, scale: 5
1487
+ t.decimal "rk_ter_muni_single_state_interm_investmentfees_to_rk_50th", precision: 8, scale: 5
1488
+ t.decimal "rk_ter_muni_single_state_interm_investmentfees_to_rk_75th", precision: 8, scale: 5
1489
+ t.decimal "rk_ter_muni_single_state_long_investmentfees_to_rk_25th", precision: 8, scale: 5
1490
+ t.decimal "rk_ter_muni_single_state_long_investmentfees_to_rk_50th", precision: 8, scale: 5
1491
+ t.decimal "rk_ter_muni_single_state_long_investmentfees_to_rk_75th", precision: 8, scale: 5
1492
+ t.decimal "rk_ter_muni_single_state_short_investmentfees_to_rk_25th", precision: 8, scale: 5
1493
+ t.decimal "rk_ter_muni_single_state_short_investmentfees_to_rk_50th", precision: 8, scale: 5
1494
+ t.decimal "rk_ter_muni_single_state_short_investmentfees_to_rk_75th", precision: 8, scale: 5
1495
+ t.decimal "rk_ter_natural_resources_investmentfees_to_rk_25th", precision: 8, scale: 5
1496
+ t.decimal "rk_ter_natural_resources_investmentfees_to_rk_50th", precision: 8, scale: 5
1497
+ t.decimal "rk_ter_natural_resources_investmentfees_to_rk_75th", precision: 8, scale: 5
1498
+ t.decimal "rk_ter_nontraditional_bond_investmentfees_to_rk_25th", precision: 8, scale: 5
1499
+ t.decimal "rk_ter_nontraditional_bond_investmentfees_to_rk_50th", precision: 8, scale: 5
1500
+ t.decimal "rk_ter_nontraditional_bond_investmentfees_to_rk_75th", precision: 8, scale: 5
1501
+ t.decimal "rk_ter_pacific_asia_ex_japan_stk_investmentfees_to_rk_25th", precision: 8, scale: 5
1502
+ t.decimal "rk_ter_pacific_asia_ex_japan_stk_investmentfees_to_rk_50th", precision: 8, scale: 5
1503
+ t.decimal "rk_ter_pacific_asia_ex_japan_stk_investmentfees_to_rk_75th", precision: 8, scale: 5
1504
+ t.decimal "rk_ter_private_equity_investmentfees_to_rk_25th", precision: 8, scale: 5
1505
+ t.decimal "rk_ter_private_equity_investmentfees_to_rk_50th", precision: 8, scale: 5
1506
+ t.decimal "rk_ter_private_equity_investmentfees_to_rk_75th", precision: 8, scale: 5
1507
+ t.decimal "rk_ter_real_estate_investmentfees_to_rk_25th", precision: 8, scale: 5
1508
+ t.decimal "rk_ter_real_estate_investmentfees_to_rk_50th", precision: 8, scale: 5
1509
+ t.decimal "rk_ter_real_estate_investmentfees_to_rk_75th", precision: 8, scale: 5
1510
+ t.decimal "rk_ter_retirement_income_investmentfees_to_rk_25th", precision: 8, scale: 5
1511
+ t.decimal "rk_ter_retirement_income_investmentfees_to_rk_50th", precision: 8, scale: 5
1512
+ t.decimal "rk_ter_retirement_income_investmentfees_to_rk_75th", precision: 8, scale: 5
1513
+ t.decimal "rk_ter_short_government_investmentfees_to_rk_25th", precision: 8, scale: 5
1514
+ t.decimal "rk_ter_short_government_investmentfees_to_rk_50th", precision: 8, scale: 5
1515
+ t.decimal "rk_ter_short_government_investmentfees_to_rk_75th", precision: 8, scale: 5
1516
+ t.decimal "rk_ter_short_term_bond_investmentfees_to_rk_25th", precision: 8, scale: 5
1517
+ t.decimal "rk_ter_short_term_bond_investmentfees_to_rk_50th", precision: 8, scale: 5
1518
+ t.decimal "rk_ter_short_term_bond_investmentfees_to_rk_75th", precision: 8, scale: 5
1519
+ t.decimal "rk_ter_small_blend_investmentfees_to_rk_25th", precision: 8, scale: 5
1520
+ t.decimal "rk_ter_small_blend_investmentfees_to_rk_50th", precision: 8, scale: 5
1521
+ t.decimal "rk_ter_small_blend_investmentfees_to_rk_75th", precision: 8, scale: 5
1522
+ t.decimal "rk_ter_small_growth_investmentfees_to_rk_25th", precision: 8, scale: 5
1523
+ t.decimal "rk_ter_small_growth_investmentfees_to_rk_50th", precision: 8, scale: 5
1524
+ t.decimal "rk_ter_small_growth_investmentfees_to_rk_75th", precision: 8, scale: 5
1525
+ t.decimal "rk_ter_small_value_investmentfees_to_rk_25th", precision: 8, scale: 5
1526
+ t.decimal "rk_ter_small_value_investmentfees_to_rk_50th", precision: 8, scale: 5
1527
+ t.decimal "rk_ter_small_value_investmentfees_to_rk_75th", precision: 8, scale: 5
1528
+ t.decimal "rk_ter_stable_value_investmentfees_to_rk_25th", precision: 8, scale: 5
1529
+ t.decimal "rk_ter_stable_value_investmentfees_to_rk_50th", precision: 8, scale: 5
1530
+ t.decimal "rk_ter_stable_value_investmentfees_to_rk_75th", precision: 8, scale: 5
1531
+ t.decimal "rk_ter_target_date_2000_2010_investmentfees_to_rk_25th", precision: 8, scale: 5
1532
+ t.decimal "rk_ter_target_date_2000_2010_investmentfees_to_rk_50th", precision: 8, scale: 5
1533
+ t.decimal "rk_ter_target_date_2000_2010_investmentfees_to_rk_75th", precision: 8, scale: 5
1534
+ t.decimal "rk_ter_target_date_2011_2015_investmentfees_to_rk_25th", precision: 8, scale: 5
1535
+ t.decimal "rk_ter_target_date_2011_2015_investmentfees_to_rk_50th", precision: 8, scale: 5
1536
+ t.decimal "rk_ter_target_date_2011_2015_investmentfees_to_rk_75th", precision: 8, scale: 5
1537
+ t.decimal "rk_ter_target_date_2016_2020_investmentfees_to_rk_25th", precision: 8, scale: 5
1538
+ t.decimal "rk_ter_target_date_2016_2020_investmentfees_to_rk_50th", precision: 8, scale: 5
1539
+ t.decimal "rk_ter_target_date_2016_2020_investmentfees_to_rk_75th", precision: 8, scale: 5
1540
+ t.decimal "rk_ter_target_date_2021_2025_investmentfees_to_rk_25th", precision: 8, scale: 5
1541
+ t.decimal "rk_ter_target_date_2021_2025_investmentfees_to_rk_50th", precision: 8, scale: 5
1542
+ t.decimal "rk_ter_target_date_2021_2025_investmentfees_to_rk_75th", precision: 8, scale: 5
1543
+ t.decimal "rk_ter_target_date_2026_2030_investmentfees_to_rk_25th", precision: 8, scale: 5
1544
+ t.decimal "rk_ter_target_date_2026_2030_investmentfees_to_rk_50th", precision: 8, scale: 5
1545
+ t.decimal "rk_ter_target_date_2026_2030_investmentfees_to_rk_75th", precision: 8, scale: 5
1546
+ t.decimal "rk_ter_target_date_2031_2035_investmentfees_to_rk_25th", precision: 8, scale: 5
1547
+ t.decimal "rk_ter_target_date_2031_2035_investmentfees_to_rk_50th", precision: 8, scale: 5
1548
+ t.decimal "rk_ter_target_date_2031_2035_investmentfees_to_rk_75th", precision: 8, scale: 5
1549
+ t.decimal "rk_ter_target_date_2036_2040_investmentfees_to_rk_25th", precision: 8, scale: 5
1550
+ t.decimal "rk_ter_target_date_2036_2040_investmentfees_to_rk_50th", precision: 8, scale: 5
1551
+ t.decimal "rk_ter_target_date_2036_2040_investmentfees_to_rk_75th", precision: 8, scale: 5
1552
+ t.decimal "rk_ter_target_date_2041_2045_investmentfees_to_rk_25th", precision: 8, scale: 5
1553
+ t.decimal "rk_ter_target_date_2041_2045_investmentfees_to_rk_50th", precision: 8, scale: 5
1554
+ t.decimal "rk_ter_target_date_2041_2045_investmentfees_to_rk_75th", precision: 8, scale: 5
1555
+ t.decimal "rk_ter_target_date_2046_2050_investmentfees_to_rk_25th", precision: 8, scale: 5
1556
+ t.decimal "rk_ter_target_date_2046_2050_investmentfees_to_rk_50th", precision: 8, scale: 5
1557
+ t.decimal "rk_ter_target_date_2046_2050_investmentfees_to_rk_75th", precision: 8, scale: 5
1558
+ t.decimal "rk_ter_target_date_2051_plus_investmentfees_to_rk_25th", precision: 8, scale: 5
1559
+ t.decimal "rk_ter_target_date_2051_plus_investmentfees_to_rk_50th", precision: 8, scale: 5
1560
+ t.decimal "rk_ter_target_date_2051_plus_investmentfees_to_rk_75th", precision: 8, scale: 5
1561
+ t.decimal "rk_ter_technology_investmentfees_to_rk_25th", precision: 8, scale: 5
1562
+ t.decimal "rk_ter_technology_investmentfees_to_rk_50th", precision: 8, scale: 5
1563
+ t.decimal "rk_ter_technology_investmentfees_to_rk_75th", precision: 8, scale: 5
1564
+ t.decimal "rk_ter_trading_inverse_commodities_investmentfees_to_rk_25th", precision: 8, scale: 5
1565
+ t.decimal "rk_ter_trading_inverse_commodities_investmentfees_to_rk_50th", precision: 8, scale: 5
1566
+ t.decimal "rk_ter_trading_inverse_commodities_investmentfees_to_rk_75th", precision: 8, scale: 5
1567
+ t.decimal "rk_ter_trading_inverse_debt_investmentfees_to_rk_25th", precision: 8, scale: 5
1568
+ t.decimal "rk_ter_trading_inverse_debt_investmentfees_to_rk_50th", precision: 8, scale: 5
1569
+ t.decimal "rk_ter_trading_inverse_debt_investmentfees_to_rk_75th", precision: 8, scale: 5
1570
+ t.decimal "rk_ter_trading_inverse_equity_investmentfees_to_rk_25th", precision: 8, scale: 5
1571
+ t.decimal "rk_ter_trading_inverse_equity_investmentfees_to_rk_50th", precision: 8, scale: 5
1572
+ t.decimal "rk_ter_trading_inverse_equity_investmentfees_to_rk_75th", precision: 8, scale: 5
1573
+ t.decimal "rk_ter_trading_leveraged_commodities_investmentfees_to_rk_25th", precision: 8, scale: 5
1574
+ t.decimal "rk_ter_trading_leveraged_commodities_investmentfees_to_rk_50th", precision: 8, scale: 5
1575
+ t.decimal "rk_ter_trading_leveraged_commodities_investmentfees_to_rk_75th", precision: 8, scale: 5
1576
+ t.decimal "rk_ter_trading_leveraged_debt_investmentfees_to_rk_25th", precision: 8, scale: 5
1577
+ t.decimal "rk_ter_trading_leveraged_debt_investmentfees_to_rk_50th", precision: 8, scale: 5
1578
+ t.decimal "rk_ter_trading_leveraged_debt_investmentfees_to_rk_75th", precision: 8, scale: 5
1579
+ t.decimal "rk_ter_trading_leveraged_equity_investmentfees_to_rk_25th", precision: 8, scale: 5
1580
+ t.decimal "rk_ter_trading_leveraged_equity_investmentfees_to_rk_50th", precision: 8, scale: 5
1581
+ t.decimal "rk_ter_trading_leveraged_equity_investmentfees_to_rk_75th", precision: 8, scale: 5
1582
+ t.decimal "rk_ter_trading_miscellaneous_investmentfees_to_rk_25th", precision: 8, scale: 5
1583
+ t.decimal "rk_ter_trading_miscellaneous_investmentfees_to_rk_50th", precision: 8, scale: 5
1584
+ t.decimal "rk_ter_trading_miscellaneous_investmentfees_to_rk_75th", precision: 8, scale: 5
1585
+ t.decimal "rk_ter_ultrashort_bond_investmentfees_to_rk_25th", precision: 8, scale: 5
1586
+ t.decimal "rk_ter_ultrashort_bond_investmentfees_to_rk_50th", precision: 8, scale: 5
1587
+ t.decimal "rk_ter_ultrashort_bond_investmentfees_to_rk_75th", precision: 8, scale: 5
1588
+ t.decimal "rk_ter_utilities_investmentfees_to_rk_25th", precision: 8, scale: 5
1589
+ t.decimal "rk_ter_utilities_investmentfees_to_rk_50th", precision: 8, scale: 5
1590
+ t.decimal "rk_ter_utilities_investmentfees_to_rk_75th", precision: 8, scale: 5
1591
+ t.decimal "rk_ter_volatility_investmentfees_to_rk_25th", precision: 8, scale: 5
1592
+ t.decimal "rk_ter_volatility_investmentfees_to_rk_50th", precision: 8, scale: 5
1593
+ t.decimal "rk_ter_volatility_investmentfees_to_rk_75th", precision: 8, scale: 5
1594
+ t.decimal "rk_ter_world_allocation_investmentfees_to_rk_25th", precision: 8, scale: 5
1595
+ t.decimal "rk_ter_world_allocation_investmentfees_to_rk_50th", precision: 8, scale: 5
1596
+ t.decimal "rk_ter_world_allocation_investmentfees_to_rk_75th", precision: 8, scale: 5
1597
+ t.decimal "rk_ter_world_bond_investmentfees_to_rk_25th", precision: 8, scale: 5
1598
+ t.decimal "rk_ter_world_bond_investmentfees_to_rk_50th", precision: 8, scale: 5
1599
+ t.decimal "rk_ter_world_bond_investmentfees_to_rk_75th", precision: 8, scale: 5
1600
+ t.decimal "rk_ter_world_stock_investmentfees_to_rk_25th", precision: 8, scale: 5
1601
+ t.decimal "rk_ter_world_stock_investmentfees_to_rk_50th", precision: 8, scale: 5
1602
+ t.decimal "rk_ter_world_stock_investmentfees_to_rk_75th", precision: 8, scale: 5
1603
+ t.decimal "rk_loanorigination_percent_plans_with_fee", precision: 5, scale: 2
1604
+ t.decimal "rk_loanmaintenance_percent_plans_with_fee", precision: 5, scale: 2
1605
+ t.decimal "rk_hardshipapproval_percent_plans_with_fee", precision: 5, scale: 2
1606
+ t.decimal "rk_hardshipprocessing_percent_plans_with_fee", precision: 5, scale: 2
1607
+ t.decimal "rk_qdroapproval_percent_plans_with_fee", precision: 5, scale: 2
1608
+ t.decimal "rk_qdroprocessing_percent_plans_with_fee", precision: 5, scale: 2
1609
+ t.decimal "rk_periodicpayment_setup_percent_plans_with_fee", precision: 5, scale: 2
1610
+ t.decimal "rk_periodicpayment_processing_percent_plans_with_fee", precision: 5, scale: 2
1611
+ t.decimal "rk_nonperiodicpayment_processing_percent_plans_with_fee", precision: 5, scale: 2
1612
+ t.decimal "managed_accounts_percentoffering", precision: 5, scale: 2
1613
+ t.decimal "managed_accounts_percent_321fiduciary", precision: 5, scale: 2
1614
+ t.decimal "managed_accounts_percent_338fiduciary", precision: 5, scale: 2
1615
+ t.decimal "managed_accounts_fee_10kacctbalance_25th_321_fiduciary", precision: 7, scale: 4
1616
+ t.decimal "managed_accounts_fee_10kacctbalance_50th_321_fiduciary", precision: 7, scale: 4
1617
+ t.decimal "managed_accounts_fee_10kacctbalance_75th_321_fiduciary", precision: 7, scale: 4
1618
+ t.decimal "managed_accounts_fee_25kacctbalance_25th_321_fiduciary", precision: 7, scale: 4
1619
+ t.decimal "managed_accounts_fee_25kacctbalance_50th_321_fiduciary", precision: 7, scale: 4
1620
+ t.decimal "managed_accounts_fee_25kacctbalance_75th_321_fiduciary", precision: 7, scale: 4
1621
+ t.decimal "managed_accounts_fee_50kacctbalance_25th_321_fiduciary", precision: 7, scale: 4
1622
+ t.decimal "managed_accounts_fee_50kacctbalance_50th_321_fiduciary", precision: 7, scale: 4
1623
+ t.decimal "managed_accounts_fee_50kacctbalance_75th_321_fiduciary", precision: 7, scale: 4
1624
+ t.decimal "managed_accounts_fee_100kacctbalance_25th_321_fiduciary", precision: 7, scale: 4
1625
+ t.decimal "managed_accounts_fee_100kacctbalance_50th_321_fiduciary", precision: 7, scale: 4
1626
+ t.decimal "managed_accounts_fee_100kacctbalance_75th_321_fiduciary", precision: 7, scale: 4
1627
+ t.decimal "managed_accounts_fee_250kacctbalance_25th_321_fiduciary", precision: 7, scale: 4
1628
+ t.decimal "managed_accounts_fee_250kacctbalance_50th_321_fiduciary", precision: 7, scale: 4
1629
+ t.decimal "managed_accounts_fee_250kacctbalance_75th_321_fiduciary", precision: 7, scale: 4
1630
+ t.decimal "managed_accounts_fee_500kacctbalance_25th_321_fiduciary", precision: 7, scale: 4
1631
+ t.decimal "managed_accounts_fee_500kacctbalance_50th_321_fiduciary", precision: 7, scale: 4
1632
+ t.decimal "managed_accounts_fee_500kacctbalance_75th_321_fiduciary", precision: 7, scale: 4
1633
+ t.decimal "managed_accounts_fee_10kacctbalance_25th_338_fiduciary", precision: 7, scale: 4
1634
+ t.decimal "managed_accounts_fee_10kacctbalance_50th_338_fiduciary", precision: 7, scale: 4
1635
+ t.decimal "managed_accounts_fee_10kacctbalance_75th_338_fiduciary", precision: 7, scale: 4
1636
+ t.decimal "managed_accounts_fee_25kacctbalance_25th_338_fiduciary", precision: 7, scale: 4
1637
+ t.decimal "managed_accounts_fee_25kacctbalance_50th_338_fiduciary", precision: 7, scale: 4
1638
+ t.decimal "managed_accounts_fee_25kacctbalance_75th_338_fiduciary", precision: 7, scale: 4
1639
+ t.decimal "managed_accounts_fee_50kacctbalance_25th_338_fiduciary", precision: 7, scale: 4
1640
+ t.decimal "managed_accounts_fee_50kacctbalance_50th_338_fiduciary", precision: 7, scale: 4
1641
+ t.decimal "managed_accounts_fee_50kacctbalance_75th_338_fiduciary", precision: 7, scale: 4
1642
+ t.decimal "managed_accounts_fee_100kacctbalance_25th_338_fiduciary", precision: 7, scale: 4
1643
+ t.decimal "managed_accounts_fee_100kacctbalance_50th_338_fiduciary", precision: 7, scale: 4
1644
+ t.decimal "managed_accounts_fee_100kacctbalance_75th_338_fiduciary", precision: 7, scale: 4
1645
+ t.decimal "managed_accounts_fee_250kacctbalance_25th_338_fiduciary", precision: 7, scale: 4
1646
+ t.decimal "managed_accounts_fee_250kacctbalance_50th_338_fiduciary", precision: 7, scale: 4
1647
+ t.decimal "managed_accounts_fee_250kacctbalance_75th_338_fiduciary", precision: 7, scale: 4
1648
+ t.decimal "managed_accounts_fee_500kacctbalance_25th_338_fiduciary", precision: 7, scale: 4
1649
+ t.decimal "managed_accounts_fee_500kacctbalance_50th_338_fiduciary", precision: 7, scale: 4
1650
+ t.decimal "managed_accounts_fee_500kacctbalance_75th_338_fiduciary", precision: 7, scale: 4
1651
+ t.decimal "sda_percentoffering", precision: 5, scale: 2
1652
+ t.decimal "sda_parts_using_25th", precision: 5, scale: 2
1653
+ t.decimal "sda_parts_using_50th", precision: 5, scale: 2
1654
+ t.decimal "sda_parts_using_75th", precision: 5, scale: 2
1655
+ t.decimal "sda_assets_percent_25th", precision: 5, scale: 2
1656
+ t.decimal "sda_assets_percent_50th", precision: 5, scale: 2
1657
+ t.decimal "sda_assets_percent_75th", precision: 5, scale: 2
1658
+ t.decimal "sda_fee_employerannual_25th", precision: 9, scale: 2
1659
+ t.decimal "sda_fee_employerannual_50th", precision: 9, scale: 2
1660
+ t.decimal "sda_fee_employerannual_75th", precision: 9, scale: 2
1661
+ t.decimal "sda_fee_participantminimum_25th", precision: 9, scale: 2
1662
+ t.decimal "sda_fee_participantminimum_50th", precision: 9, scale: 2
1663
+ t.decimal "sda_fee_participantminimum_75th", precision: 9, scale: 2
1664
+ t.decimal "sda_fee_internetstock_25th", precision: 9, scale: 2
1665
+ t.decimal "sda_fee_internetstock_50th", precision: 9, scale: 2
1666
+ t.decimal "sda_fee_internetstock_75th", precision: 9, scale: 2
1667
+ t.decimal "sda_fee_phoneassistedstock_25th", precision: 9, scale: 2
1668
+ t.decimal "sda_fee_phoneassistedstock_50th", precision: 9, scale: 2
1669
+ t.decimal "sda_fee_phoneassistedstock_75th", precision: 9, scale: 2
1670
+ t.integer "pcx_benchmark_group_id_score_5th"
1671
+ t.integer "pcx_benchmark_group_id_score_50th"
1672
+ t.integer "pcx_benchmark_group_id_score_95th"
1673
+ t.decimal "pcx_part_of_controlled_group_percent_yes", precision: 5, scale: 2
1674
+ t.decimal "pcx_part_of_controlled_group_percent_no", precision: 5, scale: 2
1675
+ t.decimal "pcx_eligservice_percent_immediate", precision: 5, scale: 2
1676
+ t.decimal "pcx_eligservice_percent_1_months", precision: 5, scale: 2
1677
+ t.decimal "pcx_eligservice_percent_2_months", precision: 5, scale: 2
1678
+ t.decimal "pcx_eligservice_percent_3_months", precision: 5, scale: 2
1679
+ t.decimal "pcx_eligservice_percent_4_months", precision: 5, scale: 2
1680
+ t.decimal "pcx_eligservice_percent_5_months", precision: 5, scale: 2
1681
+ t.decimal "pcx_eligservice_percent_6_months", precision: 5, scale: 2
1682
+ t.decimal "pcx_eligservice_percent_7_months", precision: 5, scale: 2
1683
+ t.decimal "pcx_eligservice_percent_8_months", precision: 5, scale: 2
1684
+ t.decimal "pcx_eligservice_percent_9_months", precision: 5, scale: 2
1685
+ t.decimal "pcx_eligservice_percent_10_months", precision: 5, scale: 2
1686
+ t.decimal "pcx_eligservice_percent_11_months", precision: 5, scale: 2
1687
+ t.decimal "pcx_eligservice_percent_12_months", precision: 5, scale: 2
1688
+ t.decimal "pcx_eligservice_percent_gt12_months", precision: 5, scale: 2
1689
+ t.decimal "pcx_eligservice_percent_multiple", precision: 5, scale: 2
1690
+ t.decimal "pcx_eligage_percent_none", precision: 5, scale: 2
1691
+ t.decimal "pcx_eligage_percent_less_than_18", precision: 5, scale: 2
1692
+ t.decimal "pcx_eligage_percent_18_to_18_99", precision: 5, scale: 2
1693
+ t.decimal "pcx_eligage_percent_19_to_19_99", precision: 5, scale: 2
1694
+ t.decimal "pcx_eligage_percent_20_to_20_99", precision: 5, scale: 2
1695
+ t.decimal "pcx_eligage_percent_21", precision: 5, scale: 2
1696
+ t.decimal "pcx_eligage_percent_multiple", precision: 5, scale: 2
1697
+ t.decimal "pcx_entry_date_percent_immediate", precision: 5, scale: 2
1698
+ t.decimal "pcx_entry_date_percent_monthly", precision: 5, scale: 2
1699
+ t.decimal "pcx_entry_date_percent_quarterly", precision: 5, scale: 2
1700
+ t.decimal "pcx_entry_date_percent_semi_annually", precision: 5, scale: 2
1701
+ t.decimal "pcx_entry_date_percent_annually", precision: 5, scale: 2
1702
+ t.decimal "pcx_entry_date_percent_other", precision: 5, scale: 2
1703
+ t.decimal "pcx_autoenroll_percent_none", precision: 5, scale: 2
1704
+ t.decimal "pcx_autoenroll_percent_yes_new_hires", precision: 5, scale: 2
1705
+ t.decimal "pcx_autoenroll_percent_yes_all_employees", precision: 5, scale: 2
1706
+ t.decimal "pcx_autoenroll_start_1percent", precision: 5, scale: 2
1707
+ t.decimal "pcx_autoenroll_start_2percent", precision: 5, scale: 2
1708
+ t.decimal "pcx_autoenroll_start_3percent", precision: 5, scale: 2
1709
+ t.decimal "pcx_autoenroll_start_4percent", precision: 5, scale: 2
1710
+ t.decimal "pcx_autoenroll_start_5percent", precision: 5, scale: 2
1711
+ t.decimal "pcx_autoenroll_start_6percent", precision: 5, scale: 2
1712
+ t.decimal "pcx_autoenroll_start_7percent", precision: 5, scale: 2
1713
+ t.decimal "pcx_autoenroll_start_8percent", precision: 5, scale: 2
1714
+ t.decimal "pcx_autoenroll_start_9percent", precision: 5, scale: 2
1715
+ t.decimal "pcx_autoenroll_start_10percent", precision: 5, scale: 2
1716
+ t.decimal "pcx_autoenroll_start_gt10percent", precision: 5, scale: 2
1717
+ t.decimal "pcx_autoincrease_percent_none", precision: 5, scale: 2
1718
+ t.decimal "pcx_autoincrease_percent_yes", precision: 5, scale: 2
1719
+ t.decimal "pcx_autoincrease_percent_maxperyear_1percent", precision: 5, scale: 2
1720
+ t.decimal "pcx_autoincrease_percent_maxperyear_2percent", precision: 5, scale: 2
1721
+ t.decimal "pcx_autoincrease_percent_maxperyear_3percent", precision: 5, scale: 2
1722
+ t.decimal "pcx_autoincrease_percent_maxperyear_4percent", precision: 5, scale: 2
1723
+ t.decimal "pcx_autoincrease_percent_maxperyear_5percent", precision: 5, scale: 2
1724
+ t.decimal "pcx_autoincrease_percent_maxperyear_gt5percent", precision: 5, scale: 2
1725
+ t.decimal "pcx_autoincrease_percent_ceiling_1percent", precision: 5, scale: 2
1726
+ t.decimal "pcx_autoincrease_percent_ceiling_2percent", precision: 5, scale: 2
1727
+ t.decimal "pcx_autoincrease_percent_ceiling_3percent", precision: 5, scale: 2
1728
+ t.decimal "pcx_autoincrease_percent_ceiling_4percent", precision: 5, scale: 2
1729
+ t.decimal "pcx_autoincrease_percent_ceiling_5percent", precision: 5, scale: 2
1730
+ t.decimal "pcx_autoincrease_percent_ceiling_6percent", precision: 5, scale: 2
1731
+ t.decimal "pcx_autoincrease_percent_ceiling_7percent", precision: 5, scale: 2
1732
+ t.decimal "pcx_autoincrease_percent_ceiling_8percent", precision: 5, scale: 2
1733
+ t.decimal "pcx_autoincrease_percent_ceiling_9percent", precision: 5, scale: 2
1734
+ t.decimal "pcx_autoincrease_percent_ceiling_10percent", precision: 5, scale: 2
1735
+ t.decimal "pcx_autoincrease_percent_ceiling_gt10percent", precision: 5, scale: 2
1736
+ t.decimal "pcx_pretax_percent_no", precision: 5, scale: 2
1737
+ t.decimal "pcx_pretax_percent_yes", precision: 5, scale: 2
1738
+ t.decimal "pcx_pretax_max_percent_0percent_5percent", precision: 5, scale: 2
1739
+ t.decimal "pcx_pretax_max_percent_6percent_10percent", precision: 5, scale: 2
1740
+ t.decimal "pcx_pretax_max_percent_11percent_15percent", precision: 5, scale: 2
1741
+ t.decimal "pcx_pretax_max_percent_16percent_20percent", precision: 5, scale: 2
1742
+ t.decimal "pcx_pretax_max_percent_21percent_25percent", precision: 5, scale: 2
1743
+ t.decimal "pcx_pretax_max_percent_26percent_30percent", precision: 5, scale: 2
1744
+ t.decimal "pcx_pretax_max_percent_31percent_35percent", precision: 5, scale: 2
1745
+ t.decimal "pcx_pretax_max_percent_36percent_40percent", precision: 5, scale: 2
1746
+ t.decimal "pcx_pretax_max_percent_41percent_45percent", precision: 5, scale: 2
1747
+ t.decimal "pcx_pretax_max_percent_46percent_50percent", precision: 5, scale: 2
1748
+ t.decimal "pcx_pretax_max_percent_51percent_55percent", precision: 5, scale: 2
1749
+ t.decimal "pcx_pretax_max_percent_56percent_60percent", precision: 5, scale: 2
1750
+ t.decimal "pcx_pretax_max_percent_61percent_65percent", precision: 5, scale: 2
1751
+ t.decimal "pcx_pretax_max_percent_66percent_70percent", precision: 5, scale: 2
1752
+ t.decimal "pcx_pretax_max_percent_71percent_75percent", precision: 5, scale: 2
1753
+ t.decimal "pcx_pretax_max_percent_76percent_80percent", precision: 5, scale: 2
1754
+ t.decimal "pcx_pretax_max_percent_81percent_85percent", precision: 5, scale: 2
1755
+ t.decimal "pcx_pretax_max_percent_86percent_90percent", precision: 5, scale: 2
1756
+ t.decimal "pcx_pretax_max_percent_91percent_95percent", precision: 5, scale: 2
1757
+ t.decimal "pcx_pretax_max_percent_96percent_100percent", precision: 5, scale: 2
1758
+ t.decimal "pcx_roth_percent_no", precision: 5, scale: 2
1759
+ t.decimal "pcx_roth_percent_yes", precision: 5, scale: 2
1760
+ t.decimal "pcx_roth_max_percent_0percent_5percent", precision: 5, scale: 2
1761
+ t.decimal "pcx_roth_max_percent_6percent_10percent", precision: 5, scale: 2
1762
+ t.decimal "pcx_roth_max_percent_11percent_15percent", precision: 5, scale: 2
1763
+ t.decimal "pcx_roth_max_percent_16percent_20percent", precision: 5, scale: 2
1764
+ t.decimal "pcx_roth_max_percent_21percent_25percent", precision: 5, scale: 2
1765
+ t.decimal "pcx_roth_max_percent_26percent_30percent", precision: 5, scale: 2
1766
+ t.decimal "pcx_roth_max_percent_31percent_35percent", precision: 5, scale: 2
1767
+ t.decimal "pcx_roth_max_percent_36percent_40percent", precision: 5, scale: 2
1768
+ t.decimal "pcx_roth_max_percent_41percent_45percent", precision: 5, scale: 2
1769
+ t.decimal "pcx_roth_max_percent_46percent_50percent", precision: 5, scale: 2
1770
+ t.decimal "pcx_roth_max_percent_51percent_55percent", precision: 5, scale: 2
1771
+ t.decimal "pcx_roth_max_percent_56percent_60percent", precision: 5, scale: 2
1772
+ t.decimal "pcx_roth_max_percent_61percent_65percent", precision: 5, scale: 2
1773
+ t.decimal "pcx_roth_max_percent_66percent_70percent", precision: 5, scale: 2
1774
+ t.decimal "pcx_roth_max_percent_71percent_75percent", precision: 5, scale: 2
1775
+ t.decimal "pcx_roth_max_percent_76percent_80percent", precision: 5, scale: 2
1776
+ t.decimal "pcx_roth_max_percent_81percent_85percent", precision: 5, scale: 2
1777
+ t.decimal "pcx_roth_max_percent_86percent_90percent", precision: 5, scale: 2
1778
+ t.decimal "pcx_roth_max_percent_91percent_95percent", precision: 5, scale: 2
1779
+ t.decimal "pcx_roth_max_percent_96percent_100percent", precision: 5, scale: 2
1780
+ t.decimal "pcx_catchup_percent_no", precision: 5, scale: 2
1781
+ t.decimal "pcx_catchup_percent_yes", precision: 5, scale: 2
1782
+ t.decimal "pcx_aftertax_percent_no", precision: 5, scale: 2
1783
+ t.decimal "pcx_aftertax_percent_yes", precision: 5, scale: 2
1784
+ t.decimal "pcx_aftertax_max_percent_0percent_5percent", precision: 5, scale: 2
1785
+ t.decimal "pcx_aftertax_max_percent_6percent_10percent", precision: 5, scale: 2
1786
+ t.decimal "pcx_aftertax_max_percent_11percent_15percent", precision: 5, scale: 2
1787
+ t.decimal "pcx_aftertax_max_percent_16percent_20percent", precision: 5, scale: 2
1788
+ t.decimal "pcx_aftertax_max_percent_21percent_25percent", precision: 5, scale: 2
1789
+ t.decimal "pcx_aftertax_max_percent_26percent_30percent", precision: 5, scale: 2
1790
+ t.decimal "pcx_aftertax_max_percent_31percent_35percent", precision: 5, scale: 2
1791
+ t.decimal "pcx_aftertax_max_percent_36percent_40percent", precision: 5, scale: 2
1792
+ t.decimal "pcx_aftertax_max_percent_41percent_45percent", precision: 5, scale: 2
1793
+ t.decimal "pcx_aftertax_max_percent_46percent_50percent", precision: 5, scale: 2
1794
+ t.decimal "pcx_aftertax_max_percent_51percent_55percent", precision: 5, scale: 2
1795
+ t.decimal "pcx_aftertax_max_percent_56percent_60percent", precision: 5, scale: 2
1796
+ t.decimal "pcx_aftertax_max_percent_61percent_65percent", precision: 5, scale: 2
1797
+ t.decimal "pcx_aftertax_max_percent_66percent_70percent", precision: 5, scale: 2
1798
+ t.decimal "pcx_aftertax_max_percent_71percent_75percent", precision: 5, scale: 2
1799
+ t.decimal "pcx_aftertax_max_percent_76percent_80percent", precision: 5, scale: 2
1800
+ t.decimal "pcx_aftertax_max_percent_81percent_85percent", precision: 5, scale: 2
1801
+ t.decimal "pcx_aftertax_max_percent_86percent_90percent", precision: 5, scale: 2
1802
+ t.decimal "pcx_aftertax_max_percent_91percent_95percent", precision: 5, scale: 2
1803
+ t.decimal "pcx_aftertax_max_percent_96percent_100percent", precision: 5, scale: 2
1804
+ t.decimal "pcx_rolloverin_percent_no", precision: 5, scale: 2
1805
+ t.decimal "pcx_rolloverin_percent_yes", precision: 5, scale: 2
1806
+ t.decimal "pcx_employer_matching_formula_percent_discretionary", precision: 5, scale: 2
1807
+ t.decimal "pcx_employer_matching_formula_percentage_fixed", precision: 5, scale: 2
1808
+ t.decimal "pcx_employer_matching_vesting_percent_immediate", precision: 5, scale: 2
1809
+ t.decimal "pcx_employer_matching_vesting_percent_graded_2_years", precision: 5, scale: 2
1810
+ t.decimal "pcx_employer_matching_vesting_percent_graded_3_years", precision: 5, scale: 2
1811
+ t.decimal "pcx_employer_matching_vesting_percent_graded_4_years", precision: 5, scale: 2
1812
+ t.decimal "pcx_employer_matching_vesting_percent_graded_5_years", precision: 5, scale: 2
1813
+ t.decimal "pcx_employer_matching_vesting_percent_graded_6_years", precision: 5, scale: 2
1814
+ t.decimal "pcx_employer_matching_vesting_percent_cliff_1_yrs", precision: 5, scale: 2
1815
+ t.decimal "pcx_employer_matching_vesting_percent_cliff_2_yrs", precision: 5, scale: 2
1816
+ t.decimal "pcx_employer_matching_vesting_percent_cliff_3_yrs", precision: 5, scale: 2
1817
+ t.decimal "pcx_employer_matching_vesting_percent_other", precision: 5, scale: 2
1818
+ t.decimal "pcx_employer_matching_eoy_percent_no", precision: 5, scale: 2
1819
+ t.decimal "pcx_employer_matching_eoy_percent_yes", precision: 5, scale: 2
1820
+ t.decimal "pcx_employer_matching_1000_hrs_percent_no", precision: 5, scale: 2
1821
+ t.decimal "pcx_employer_matching_1000_hrs_percent_yes", precision: 5, scale: 2
1822
+ t.decimal "pcx_employer_discretionary_percent_no", precision: 5, scale: 2
1823
+ t.decimal "pcx_employer_discretionary_percent_yes", precision: 5, scale: 2
1824
+ t.decimal "pcx_employer_discretionary_vesting_percent_immediate", precision: 5, scale: 2
1825
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_2_years", precision: 5, scale: 2
1826
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_3_years", precision: 5, scale: 2
1827
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_4_years", precision: 5, scale: 2
1828
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_5_years", precision: 5, scale: 2
1829
+ t.decimal "pcx_employer_discretionary_vesting_percent_graded_6_years", precision: 5, scale: 2
1830
+ t.decimal "pcx_employer_discretionary_vesting_percent_cliff_1_yrs", precision: 5, scale: 2
1831
+ t.decimal "pcx_employer_discretionary_vesting_percent_cliff_2_yrs", precision: 5, scale: 2
1832
+ t.decimal "pcx_employer_discretionary_vesting_percent_cliff_3_yrs", precision: 5, scale: 2
1833
+ t.decimal "pcx_employer_discretionary_vesting_percent_other", precision: 5, scale: 2
1834
+ t.decimal "pcx_employer_discretionary_eoy_percent_no", precision: 5, scale: 2
1835
+ t.decimal "pcx_employer_discretionary_eoy_percent_yes", precision: 5, scale: 2
1836
+ t.decimal "pcx_employer_discretionary_1000_hrs_percent_no", precision: 5, scale: 2
1837
+ t.decimal "pcx_employer_discretionary_1000_hrs_percent_yes", precision: 5, scale: 2
1838
+ t.decimal "pcx_employer_required_none", precision: 5, scale: 2
1839
+ t.decimal "pcx_employer_required_safe_harbor_type_percent_qnec_std", precision: 5, scale: 2
1840
+ t.decimal "pcx_employer_required_safe_harbor_type_percent_qnec_other", precision: 5, scale: 2
1841
+ t.decimal "pcx_employer_required_safe_harbor_type_percent_qmac_std", precision: 5, scale: 2
1842
+ t.decimal "pcx_employer_required_safe_harbor_type_percent_qmac_other", precision: 5, scale: 2
1843
+ t.decimal "pcx_employer_required_percent_straightpercent", precision: 5, scale: 2
1844
+ t.decimal "pcx_employer_required_percent_straightpercent_amtcap", precision: 5, scale: 2
1845
+ t.decimal "pcx_employer_required_percent_integrated", precision: 5, scale: 2
1846
+ t.decimal "pcx_employer_required_percent_pointsformula", precision: 5, scale: 2
1847
+ t.decimal "pcx_employer_required_percent_other", precision: 5, scale: 2
1848
+ t.decimal "pcx_employer_required_vesting_percent_immediate", precision: 5, scale: 2
1849
+ t.decimal "pcx_employer_required_vesting_percent_graded_2_years", precision: 5, scale: 2
1850
+ t.decimal "pcx_employer_required_vesting_percent_graded_3_years", precision: 5, scale: 2
1851
+ t.decimal "pcx_employer_required_vesting_percent_graded_4_years", precision: 5, scale: 2
1852
+ t.decimal "pcx_employer_required_vesting_percent_graded_5_years", precision: 5, scale: 2
1853
+ t.decimal "pcx_employer_required_vesting_percent_graded_6_years", precision: 5, scale: 2
1854
+ t.decimal "pcx_employer_required_vesting_percent_cliff_1_yrs", precision: 5, scale: 2
1855
+ t.decimal "pcx_employer_required_vesting_percent_cliff_2_yrs", precision: 5, scale: 2
1856
+ t.decimal "pcx_employer_required_vesting_percent_cliff_3_yrs", precision: 5, scale: 2
1857
+ t.decimal "pcx_employer_required_vesting_percent_other", precision: 5, scale: 2
1858
+ t.decimal "pcx_employer_required_eoy_percent_no", precision: 5, scale: 2
1859
+ t.decimal "pcx_employer_required_eoy_percent_yes", precision: 5, scale: 2
1860
+ t.decimal "pcx_employer_required_1000_hrs_percent_no", precision: 5, scale: 2
1861
+ t.decimal "pcx_employer_required_1000_hrs_percent_yes", precision: 5, scale: 2
1862
+ t.decimal "pcx_target_date_funds_no", precision: 5, scale: 2
1863
+ t.decimal "pcx_target_date_funds_yes", precision: 5, scale: 2
1864
+ t.decimal "pcx_risk_based_funds_no", precision: 5, scale: 2
1865
+ t.decimal "pcx_risk_based_funds_yes", precision: 5, scale: 2
1866
+ t.decimal "pcx_model_portfolios_from_core_no", precision: 5, scale: 2
1867
+ t.decimal "pcx_model_portfolios_from_core_yes", precision: 5, scale: 2
1868
+ t.decimal "pcx_managed_account_from_core_no", precision: 5, scale: 2
1869
+ t.decimal "pcx_managed_account_from_core_yes", precision: 5, scale: 2
1870
+ t.decimal "pcx_default_all_ees_qdia_from_core_no", precision: 5, scale: 2
1871
+ t.decimal "pcx_default_all_ees_qdia_from_core_yes", precision: 5, scale: 2
1872
+ t.integer "pcx_number_of_core_options_from_core_no"
1873
+ t.integer "pcx_number_of_core_options_from_core_yes"
1874
+ t.integer "pcx_number_of_core_assetclasses_from_core_no"
1875
+ t.integer "pcx_number_of_core_assetclasses_from_core_yes"
1876
+ t.decimal "pcx_auto_rebalance_percent_no", precision: 5, scale: 2
1877
+ t.decimal "pcx_auto_rebalance_percent_yes", precision: 5, scale: 2
1878
+ t.decimal "pcx_sda_percent_no", precision: 5, scale: 2
1879
+ t.decimal "pcx_sda_percent_yes", precision: 5, scale: 2
1880
+ t.decimal "pcx_company_stock_percent_no", precision: 5, scale: 2
1881
+ t.decimal "pcx_company_stock_percent_yes", precision: 5, scale: 2
1882
+ t.decimal "pcx_loans_allowed_percent_no", precision: 5, scale: 2
1883
+ t.decimal "pcx_loans_allowed_percent_yes", precision: 5, scale: 2
1884
+ t.decimal "pcx_loan_types_allowed_percent_general_only", precision: 5, scale: 2
1885
+ t.decimal "pcx_loan_types_allowed_percent_residential_only", precision: 5, scale: 2
1886
+ t.decimal "pcx_loan_types_allowed_percent_general_and_residential", precision: 5, scale: 2
1887
+ t.decimal "pcx_max_loans_allowed_percent_1", precision: 5, scale: 2
1888
+ t.decimal "pcx_max_loans_allowed_percent_2", precision: 5, scale: 2
1889
+ t.decimal "pcx_max_loans_allowed_percent_3", precision: 5, scale: 2
1890
+ t.decimal "pcx_max_loans_allowed_percent_4", precision: 5, scale: 2
1891
+ t.decimal "pcx_max_loans_allowed_percent_5", precision: 5, scale: 2
1892
+ t.decimal "pcx_max_loans_allowed_percent_gt5", precision: 5, scale: 2
1893
+ t.decimal "pcx_age_59_5_withdrawals_percent_no", precision: 5, scale: 2
1894
+ t.decimal "pcx_age_59_5_withdrawals_percent_yes", precision: 5, scale: 2
1895
+ t.decimal "pcx_hardship_withdrawals_percent_no", precision: 5, scale: 2
1896
+ t.decimal "pcx_hardship_withdrawals_percent_yes", precision: 5, scale: 2
1897
+ t.decimal "pcx_hardship_loans_percent_no", precision: 5, scale: 2
1898
+ t.decimal "pcx_hardship_loans_percent_yes", precision: 5, scale: 2
1899
+ t.decimal "pcx_hardship_withdrawals_and_hardship_loans_percent_yes", precision: 5, scale: 2
1900
+ t.decimal "pcx_installment_payments_percent_no", precision: 5, scale: 2
1901
+ t.decimal "pcx_installment_payments_percent_yes", precision: 5, scale: 2
1902
+ t.decimal "pcx_annuities_percent_no", precision: 5, scale: 2
1903
+ t.decimal "pcx_annuities_percent_yes", precision: 5, scale: 2
1904
+ t.decimal "pcx_cash_out_percent_none", precision: 5, scale: 2
1905
+ t.decimal "pcx_cash_out_percent_amt1000", precision: 5, scale: 2
1906
+ t.decimal "pcx_cash_out_percent_amt5000", precision: 5, scale: 2
1907
+ t.decimal "pcx_cash_out_percent_other", precision: 5, scale: 2
1908
+ t.decimal "pcx_lifetime_annuity_option_percent_no", precision: 5, scale: 2
1909
+ t.decimal "pcx_lifetime_annuity_option_percent_yes", precision: 5, scale: 2
1910
+ t.decimal "pcx_lifetime_income_service_no", precision: 5, scale: 2
1911
+ t.decimal "pcx_lifetime_income_service_yes", precision: 5, scale: 2
1912
+ t.decimal "pcx_valuation_frequency_percent_daily", precision: 5, scale: 2
1913
+ t.decimal "pcx_valuation_frequency_percent_annual", precision: 5, scale: 2
1914
+ t.decimal "pcx_valuation_frequency_percent_semi_annual", precision: 5, scale: 2
1915
+ t.decimal "pcx_valuation_frequency_percent_quarterly", precision: 5, scale: 2
1916
+ t.decimal "pcx_valuation_frequency_percent_monthly", precision: 5, scale: 2
1917
+ end
1918
+
1919
+ create_table "bmg_rk_plans", force: true do |t|
1920
+ t.integer "bmg_rk_master_id"
1921
+ t.date "vintage_date"
1922
+ t.integer "plan_id"
1923
+ t.integer "total_participants"
1924
+ t.integer "total_assets"
1925
+ t.integer "average_balance"
1926
+ t.integer "total_rk_fees"
1927
+ t.integer "total_rk_fees_per_participant"
1928
+ end
1929
+
1930
+ create_table "bmg_tpa_investment_fees", force: true do |t|
1931
+ t.integer "market_segment_id"
1932
+ t.integer "fbi_asset_class_id"
1933
+ t.integer "investment_strategy_id"
1934
+ t.decimal "to_tpa_25th", precision: 8, scale: 5
1935
+ t.decimal "to_tpa_50th", precision: 8, scale: 5
1936
+ t.decimal "to_tpa_75th", precision: 8, scale: 5
1937
+ end
1938
+
1939
+ create_table "bmg_tpa_masters", force: true do |t|
1940
+ t.date "vintage_date"
1941
+ t.integer "tpa_bmg_assets_low"
1942
+ t.integer "tpa_bmg_assets_50th"
1943
+ t.integer "tpa_bmg_assets_high"
1944
+ t.integer "tpa_bmg_participants_low"
1945
+ t.integer "tpa_bmg_participants_high"
1946
+ t.integer "tpa_bmg_participants_avgbalance_low"
1947
+ t.integer "tpa_bmg_participants_avgbalance_high"
1948
+ t.decimal "tpa_bmg_correlation_coefficient", precision: 6, scale: 3
1949
+ t.decimal "tpa_bmg_regressionline_slope_value", precision: 8, scale: 5
1950
+ t.decimal "tpa_bmg_regressionline_constant_value", precision: 7, scale: 2
1951
+ t.integer "tpa_total_plans"
1952
+ t.integer "tpa_planstype_401k"
1953
+ t.integer "tpa_planstype_403b"
1954
+ t.integer "tpa_planstype_other"
1955
+ t.integer "tpa_plans_insco"
1956
+ t.integer "tpa_plans_mutualfunds"
1957
+ t.integer "tpa_plans_bank"
1958
+ t.integer "tpa_plans_tpa"
1959
+ t.integer "tpa_plans_other"
1960
+ t.integer "tpa_total_tpas"
1961
+ t.integer "tpa_rkbusinessmodel_insco"
1962
+ t.integer "tpa_rkbusinessmodel_mutualfunds"
1963
+ t.integer "tpa_rkbusinessmodel_bank"
1964
+ t.integer "tpa_rkbusinessmodel_tpa"
1965
+ t.integer "tpa_rkbusinessmodel_other"
1966
+ t.decimal "tpa_totalfees_dollars_5th", precision: 12, scale: 2
1967
+ t.decimal "tpa_totalfees_dollars_25th", precision: 12, scale: 2
1968
+ t.decimal "tpa_totalfees_dollars_50th", precision: 12, scale: 2
1969
+ t.decimal "tpa_totalfees_dollars_75th", precision: 12, scale: 2
1970
+ t.decimal "tpa_totalfees_dollars_95th", precision: 12, scale: 2
1971
+ t.decimal "tpa_totalfees_bps_5th", precision: 7, scale: 4
1972
+ t.decimal "tpa_totalfees_bps_25th", precision: 7, scale: 4
1973
+ t.decimal "tpa_totalfees_bps_50th", precision: 7, scale: 4
1974
+ t.decimal "tpa_totalfees_bps_75th", precision: 7, scale: 4
1975
+ t.decimal "tpa_totalfees_bps_95th", precision: 7, scale: 4
1976
+ t.decimal "tpa_totalfees_perpart_5th", precision: 9, scale: 2
1977
+ t.decimal "tpa_totalfees_perpart_25th", precision: 9, scale: 2
1978
+ t.decimal "tpa_totalfees_perpart_50th", precision: 9, scale: 2
1979
+ t.decimal "tpa_totalfees_perpart_75th", precision: 9, scale: 2
1980
+ t.decimal "tpa_totalfees_perpart_95th", precision: 9, scale: 2
1981
+ t.decimal "tpa_loanorigination_percent_plans_with_fee", precision: 5, scale: 2
1982
+ t.decimal "tpa_loanorigination_25th", precision: 7, scale: 2
1983
+ t.decimal "tpa_loanorigination_50th", precision: 7, scale: 2
1984
+ t.decimal "tpa_loanorigination_75th", precision: 7, scale: 2
1985
+ t.decimal "tpa_hardshipapproval_percent_plans_with_fee", precision: 5, scale: 2
1986
+ t.decimal "tpa_hardshipapproval_25th", precision: 7, scale: 2
1987
+ t.decimal "tpa_hardshipapproval_50th", precision: 7, scale: 2
1988
+ t.decimal "tpa_hardshipapproval_75th", precision: 7, scale: 2
1989
+ t.decimal "tpa_qdroapproval_percent_plans_with_fee", precision: 5, scale: 2
1990
+ t.decimal "tpa_qdroapproval_25th", precision: 7, scale: 2
1991
+ t.decimal "tpa_qdroapproval_50th", precision: 7, scale: 2
1992
+ t.decimal "tpa_qdroapproval_75th", precision: 7, scale: 2
1993
+ t.decimal "tpa_periodicpayment_setup_percent_plans_with_fee", precision: 5, scale: 2
1994
+ t.decimal "tpa_periodicpayment_setup_25th", precision: 7, scale: 2
1995
+ t.decimal "tpa_periodicpayment_setup_50th", precision: 7, scale: 2
1996
+ t.decimal "tpa_periodicpayment_setup_75th", precision: 7, scale: 2
1997
+ end
1998
+
1999
+ create_table "bmg_tpa_plans", force: true do |t|
2000
+ t.integer "bmg_tpa_master_id"
2001
+ t.date "vintage_date"
2002
+ t.integer "plan_id"
2003
+ t.integer "total_participants"
2004
+ t.integer "total_assets"
2005
+ t.integer "average_balance"
2006
+ t.integer "total_tpa_fees"
2007
+ t.integer "total_tpa_fees_per_participant"
2008
+ end
2009
+
2010
+ create_table "brokerage_platform_lists", force: true do |t|
2011
+ t.string "name", limit: 150
2012
+ t.string "address_1", limit: 100
2013
+ t.string "address_2", limit: 50
2014
+ t.string "city", limit: 100
2015
+ t.integer "state_id"
2016
+ t.integer "zip_code_id"
2017
+ t.string "phone_number", limit: 20
2018
+ t.string "website"
2019
+ end
2020
+
2021
+ create_table "business_models", force: true do |t|
2022
+ t.integer "duty_id"
2023
+ t.string "name", limit: 32
2024
+ end
2025
+
2026
+ create_table "clients", force: true do |t|
2027
+ t.integer "company_id"
2028
+ t.string "referred_by", limit: 150
2029
+ t.date "disclosure_subscription_date"
2030
+ t.date "dc_benchmarking_v2_subscription_date"
2031
+ t.date "benchmarking_subscription_date"
2032
+ t.date "db_benchmarking_subscription_date"
2033
+ t.date "retirement_outcomes_evaluation_subscription_date"
2034
+ t.date "plan_profile_subscription_date"
2035
+ t.date "form_5500_provider_subscription_date"
2036
+ t.date "disclosure_expiration_date"
2037
+ t.date "dc_benchmarking_v2_expiration_date"
2038
+ t.date "benchmarking_expiration_date"
2039
+ t.date "db_benchmarking_expiration_date"
2040
+ t.date "retirement_outcomes_evaluation_expiration_date"
2041
+ t.date "plan_profile_expiration_date"
2042
+ t.date "form_5500_provider_expiration_date"
2043
+ t.integer "data_and_report_cycle_id"
2044
+ t.integer "cover_page_logo_location"
2045
+ t.boolean "is_cover_page_logo_overridden_by_advisor"
2046
+ t.text "cover_page_info"
2047
+ t.boolean "is_cover_page_info_overridden_by_advisor"
2048
+ t.text "cover_page_disclaimer"
2049
+ t.text "benchmarking_page_bottom_disclaimer"
2050
+ t.text "benchmarking_back_page_disclosures"
2051
+ t.text "roe_page_bottom_disclaimer"
2052
+ t.text "roe_back_page_disclosures"
2053
+ t.text "plan_profile_page_bottom_disclaimer"
2054
+ t.text "plan_profile_back_page_disclosures"
2055
+ t.text "form_5500_output_page_bottom_disclaimer"
2056
+ t.text "form_5500_output_roe_back_page_disclosures"
2057
+ t.datetime "created_at"
2058
+ t.datetime "updated_at"
2059
+ end
2060
+
2061
+ create_table "cola_by_fips", force: true do |t|
2062
+ t.integer "fips_code"
2063
+ t.decimal "FIPS_Code_COLA", precision: 6, scale: 1
2064
+ t.string "FIPS_County", limit: 100
2065
+ t.integer "calendar_year"
2066
+ end
2067
+
2068
+ create_table "companies", force: true do |t|
2069
+ t.integer "enterprise_id"
2070
+ t.integer "rk_tpa_type_id"
2071
+ t.integer "business_model_id"
2072
+ t.integer "finra_code"
2073
+ t.integer "ein"
2074
+ t.integer "duns"
2075
+ t.string "name", limit: 150
2076
+ t.string "address_1", limit: 100
2077
+ t.string "address_2", limit: 50
2078
+ t.string "city", limit: 100
2079
+ t.integer "state_id"
2080
+ t.integer "zip_code_id"
2081
+ t.string "phone_number", limit: 32
2082
+ t.string "website"
2083
+ t.boolean "is_5500"
2084
+ t.integer "naics_6_digits"
2085
+ t.string "customer_identifier", limit: 150
2086
+ t.integer "internet_capability"
2087
+ t.boolean "needs_review"
2088
+ t.datetime "created_at"
2089
+ t.datetime "updated_at"
2090
+ t.boolean "has_instantiated_plans"
2091
+ end
2092
+
2093
+ add_index "companies", ["ein"], name: "index_companies_on_ein", unique: true, using: :btree
2094
+ add_index "companies", ["name"], name: "name_ix", using: :btree
2095
+
2096
+ create_table "custodians", force: true do |t|
2097
+ t.string "name"
2098
+ t.datetime "created_at"
2099
+ t.datetime "updated_at"
2100
+ end
2101
+
2102
+ create_table "data_and_report_cycles", force: true do |t|
2103
+ t.string "name", limit: 32
2104
+ end
2105
+
2106
+ create_table "disclosure408_b2_report_types", force: true do |t|
2107
+ t.string "name", limit: 24
2108
+ end
2109
+
2110
+ create_table "disclosure408_b2_reports", force: true do |t|
2111
+ t.integer "report_id"
2112
+ t.integer "user_id_payor"
2113
+ t.integer "user_id_primary_sponsor_contact"
2114
+ t.integer "disclosure_type_id"
2115
+ t.date "disclosure_initiated_date"
2116
+ t.date "actual_disclosure_delivery_date"
2117
+ t.integer "disclosure_binary_locator"
2118
+ t.date "disclosure_data_set_date"
2119
+ t.string "disclosure_data_set_string", limit: 1
2120
+ end
2121
+
2122
+ create_table "disclosure_deliveries", force: true do |t|
2123
+ t.string "email_to"
2124
+ t.string "email_cc"
2125
+ t.string "email_bcc"
2126
+ t.string "email_subject"
2127
+ t.string "email_attachment"
2128
+ t.text "email_body"
2129
+ t.string "email_status", default: "New"
2130
+ t.datetime "created_at"
2131
+ t.datetime "updated_at"
2132
+ t.integer "disclosure_id"
2133
+ t.boolean "email_sent", default: false
2134
+ end
2135
+
2136
+ create_table "disclosure_fee_values", force: true do |t|
2137
+ t.decimal "amount", precision: 10, scale: 3
2138
+ t.string "amount_type"
2139
+ t.integer "frequency"
2140
+ t.integer "timing"
2141
+ t.integer "payor"
2142
+ t.datetime "effective_date"
2143
+ t.integer "plan_service_id"
2144
+ t.integer "disclosure_id"
2145
+ t.integer "disclosure_fee_id"
2146
+ end
2147
+
2148
+ create_table "disclosure_fees", force: true do |t|
2149
+ t.integer "order"
2150
+ t.string "name"
2151
+ t.string "amount_type"
2152
+ t.boolean "effective_date"
2153
+ t.string "title"
2154
+ t.text "description"
2155
+ t.string "frequency_title"
2156
+ t.string "fee_type"
2157
+ end
2158
+
2159
+ create_table "disclosure_meetings", force: true do |t|
2160
+ t.integer "disclosure_id"
2161
+ t.integer "number_of_meetings"
2162
+ t.integer "annual_hours"
2163
+ t.integer "travel_days"
2164
+ t.integer "miles_driven"
2165
+ t.decimal "airfare", precision: 10, scale: 0
2166
+ t.decimal "hotel", precision: 10, scale: 0
2167
+ t.boolean "billed_separately"
2168
+ t.integer "purpose"
2169
+ t.datetime "created_at"
2170
+ t.datetime "updated_at"
2171
+ end
2172
+
2173
+ create_table "disclosure_types", force: true do |t|
2174
+ t.string "service_provider_type"
2175
+ t.string "name"
2176
+ t.string "display_name"
2177
+ t.boolean "disabled"
2178
+ t.boolean "investments"
2179
+ end
2180
+
2181
+ create_table "disclosures", force: true do |t|
2182
+ t.boolean "include_advisor_fees"
2183
+ t.boolean "bdria_payout"
2184
+ t.integer "bdria_payout_percentage"
2185
+ t.string "plan_name"
2186
+ t.decimal "plan_assets", precision: 16, scale: 3
2187
+ t.decimal "plan_assets_under_advisement", precision: 16, scale: 3
2188
+ t.integer "plan_participants"
2189
+ t.string "plan_custodian"
2190
+ t.boolean "plan_has_minimum_fee"
2191
+ t.decimal "plan_minimum_fee", precision: 8, scale: 2
2192
+ t.boolean "plan_minimum_fee_dollar"
2193
+ t.boolean "plan_has_maximum_fee"
2194
+ t.decimal "plan_maximum_fee", precision: 8, scale: 2
2195
+ t.boolean "plan_maximum_fee_dollar"
2196
+ t.string "rpf_name"
2197
+ t.string "rpf_email"
2198
+ t.string "rpf_address_line_1"
2199
+ t.string "rpf_address_line_2"
2200
+ t.string "rpf_address_zip_code"
2201
+ t.string "rpf_address_city"
2202
+ t.string "rpf_address_state"
2203
+ t.boolean "use_standard_clause"
2204
+ t.text "custom_clause"
2205
+ t.integer "disclosure_type_id"
2206
+ t.boolean "include_frequency"
2207
+ t.integer "recordkeeper_id"
2208
+ t.integer "custodian_id"
2209
+ t.boolean "make_formal_referral"
2210
+ t.integer "service_provider_type"
2211
+ t.string "service_provider_name"
2212
+ t.integer "user_id"
2213
+ t.integer "alder_plan_id"
2214
+ t.datetime "created_at", null: false
2215
+ t.datetime "updated_at", null: false
2216
+ t.integer "split_code_id"
2217
+ t.boolean "fees_effective_immediately"
2218
+ t.integer "fee_template_id"
2219
+ t.integer "plan_fiduciary_status_id"
2220
+ t.string "company_name"
2221
+ t.string "enterprise_name"
2222
+ t.string "short_name"
2223
+ end
2224
+
2225
+ create_table "document_type_categories", force: true do |t|
2226
+ t.string "name", limit: 16
2227
+ end
2228
+
2229
+ create_table "document_type_masters", force: true do |t|
2230
+ t.string "document_type_master_code", limit: 4
2231
+ t.integer "document_type_category_id"
2232
+ t.string "document_type", limit: 30
2233
+ end
2234
+
2235
+ create_table "duties", force: true do |t|
2236
+ t.string "name", limit: 32
2237
+ end
2238
+
2239
+ create_table "enterprises", force: true do |t|
2240
+ t.integer "enterprise_id_legacy"
2241
+ t.integer "dun_and_bradstreet_number"
2242
+ t.string "name", limit: 150
2243
+ t.integer "company_id"
2244
+ end
2245
+
2246
+ create_table "extract_advisor_key_maps", force: true do |t|
2247
+ t.integer "user_id"
2248
+ t.integer "client_id"
2249
+ t.string "recordkeeper_foreign_key", limit: 64
2250
+ end
2251
+
2252
+ create_table "fbi_asset_classes", force: true do |t|
2253
+ t.integer "fbi_asset_class_code"
2254
+ t.string "asset_class_name", limit: 30
2255
+ t.integer "applicable_tier_of_3_tier_menu"
2256
+ t.integer "risk_based_sort_order"
2257
+ t.string "category_investment_structure", limit: 100
2258
+ end
2259
+
2260
+ create_table "fee_templates", force: true do |t|
2261
+ t.string "name"
2262
+ t.boolean "transfer_plan"
2263
+ t.decimal "transfer_plan_amount", precision: 16, scale: 3
2264
+ t.boolean "transfer_plan_amount_dollar"
2265
+ t.integer "transfer_plan_frequency"
2266
+ t.integer "transfer_plan_timing"
2267
+ t.integer "transfer_plan_payor"
2268
+ t.boolean "new_contributions"
2269
+ t.datetime "new_contributions_effective_date"
2270
+ t.decimal "new_contributions_amount", precision: 16, scale: 3
2271
+ t.boolean "new_contributions_amount_dollar"
2272
+ t.integer "new_contributions_frequency"
2273
+ t.integer "new_contributions_timing"
2274
+ t.integer "new_contributions_payor"
2275
+ t.boolean "assets"
2276
+ t.datetime "assets_effective_date"
2277
+ t.decimal "assets_amount", precision: 16, scale: 3
2278
+ t.boolean "assets_amount_dollar"
2279
+ t.integer "assets_frequency"
2280
+ t.integer "assets_timing"
2281
+ t.integer "assets_payor"
2282
+ t.boolean "twelveb1"
2283
+ t.datetime "twelveb1_effective_date"
2284
+ t.decimal "twelveb1_amount", precision: 10, scale: 0
2285
+ t.boolean "twelveb1_amount_dollar"
2286
+ t.integer "twelveb1_frequency"
2287
+ t.integer "twelveb1_timing"
2288
+ t.integer "twelveb1_payor"
2289
+ t.boolean "flat"
2290
+ t.decimal "flat_amount", precision: 16, scale: 3
2291
+ t.boolean "flat_amount_dollar"
2292
+ t.integer "flat_frequency"
2293
+ t.integer "flat_timing"
2294
+ t.integer "flat_payor"
2295
+ t.boolean "hourly"
2296
+ t.decimal "hourly_amount", precision: 16, scale: 3
2297
+ t.integer "hourly_frequency"
2298
+ t.integer "hourly_timing"
2299
+ t.integer "hourly_payor"
2300
+ t.boolean "other"
2301
+ t.string "other_description"
2302
+ t.decimal "other_amount", precision: 16, scale: 3
2303
+ t.boolean "other_amount_dollar"
2304
+ t.integer "other_frequency"
2305
+ t.integer "other_timing"
2306
+ t.integer "other_payor"
2307
+ t.boolean "tiered"
2308
+ t.boolean "tiered_incremental"
2309
+ t.decimal "tiered_amount", precision: 16, scale: 3
2310
+ t.boolean "tiered_amount_dollar"
2311
+ t.integer "tiered_frequency"
2312
+ t.integer "tiered_timing"
2313
+ t.integer "tiered_payor"
2314
+ t.datetime "created_at", null: false
2315
+ t.datetime "updated_at", null: false
2316
+ t.boolean "effective_immediately"
2317
+ t.decimal "hourly_rate", precision: 16, scale: 3
2318
+ t.boolean "tiered_fee_dollar"
2319
+ end
2320
+
2321
+ create_table "fee_tiers", force: true do |t|
2322
+ t.integer "fee_template_id"
2323
+ t.integer "number"
2324
+ t.decimal "end_point", precision: 16, scale: 3
2325
+ t.decimal "amount", precision: 16, scale: 3
2326
+ t.datetime "created_at", null: false
2327
+ t.datetime "updated_at", null: false
2328
+ t.integer "disclosure_id"
2329
+ end
2330
+
2331
+ create_table "fee_types", force: true do |t|
2332
+ t.string "name", limit: 32
2333
+ end
2334
+
2335
+ create_table "fiduciary_status_types", force: true do |t|
2336
+ t.string "name", limit: 16
2337
+ end
2338
+
2339
+ create_table "form5500_pension_benefit_codes", force: true do |t|
2340
+ t.string "pension_benefit_code", limit: 2
2341
+ t.string "description", limit: 800
2342
+ end
2343
+
2344
+ create_table "form5500_schedule_c_service_providers", force: true do |t|
2345
+ t.string "dept_of_labor_pension_benefit_code", limit: 2
2346
+ t.string "description", limit: 200
2347
+ end
2348
+
2349
+ create_table "form5500s", force: true do |t|
2350
+ t.integer "ein_plan_code", limit: 8
2351
+ t.integer "company_id"
2352
+ t.integer "plan_number_3_digit"
2353
+ t.string "plan_name", limit: 200
2354
+ t.date "plan_effective_date"
2355
+ t.date "plan_year_ending"
2356
+ t.integer "number_of_participants_with_acct_balances"
2357
+ t.integer "schedule_h_total_assets", limit: 8
2358
+ end
2359
+
2360
+ add_index "form5500s", ["company_id"], name: "company_id_ix", using: :btree
2361
+ add_index "form5500s", ["plan_name"], name: "plan_name_ix", using: :btree
2362
+
2363
+ create_table "form5500s_form5500_pension_benefit_codes", id: false, force: true do |t|
2364
+ t.integer "Form5500_id"
2365
+ t.integer "Form5500PensionBenefitCode_id"
2366
+ end
2367
+
2368
+ create_table "form5500s_form5500_schedule_c_service_providers", id: false, force: true do |t|
2369
+ t.integer "Form5500_id"
2370
+ t.integer "Form5500ScheduleCServiceProvider_id"
2371
+ end
2372
+
2373
+ create_table "general_accounts", force: true do |t|
2374
+ t.integer "recordkeeper_product_guide_id"
2375
+ t.integer "client_id"
2376
+ t.integer "asset_beginning"
2377
+ t.integer "asset_end"
2378
+ t.integer "participant_beginning"
2379
+ t.integer "participant_end"
2380
+ t.decimal "current_rate_new_money", precision: 9, scale: 5
2381
+ t.decimal "minimum_rate_new_money", precision: 9, scale: 5
2382
+ t.decimal "blended_minimum_rate", precision: 9, scale: 5
2383
+ t.decimal "blended_1yr", precision: 9, scale: 5
2384
+ t.decimal "blended_3yr", precision: 9, scale: 5
2385
+ t.decimal "blended_5yr", precision: 9, scale: 5
2386
+ t.integer "percent_current_rate_reset"
2387
+ t.integer "percent_minimum_rate_reset"
2388
+ t.integer "percent_blended_rate_reset"
2389
+ t.string "credit_quality_guarantor_agency", limit: 1
2390
+ t.string "credit_quality_guarantor_agency_rating", limit: 10
2391
+ t.integer "mva_number_of_months"
2392
+ end
2393
+
2394
+ create_table "general_accounts_templates", force: true do |t|
2395
+ t.integer "client_id"
2396
+ t.integer "asset_beginning"
2397
+ t.integer "asset_end"
2398
+ t.integer "participant_beginning"
2399
+ t.integer "participant_end"
2400
+ t.decimal "currentrate_newmoney", precision: 9, scale: 5
2401
+ t.decimal "minimumrate_newmoney", precision: 9, scale: 5
2402
+ t.decimal "blendedminimumrate", precision: 9, scale: 5
2403
+ t.decimal "blended1yr", precision: 9, scale: 5
2404
+ t.decimal "blended3yr", precision: 9, scale: 5
2405
+ t.decimal "blended5yr", precision: 9, scale: 5
2406
+ t.integer "percent_currentratereset"
2407
+ t.integer "percent_minimumratereset"
2408
+ t.integer "percent_blendedratereset"
2409
+ t.integer "rating_agency"
2410
+ t.integer "rating_value"
2411
+ t.integer "mva_number_of_months"
2412
+ end
2413
+
2414
+ create_table "instrument_types", force: true do |t|
2415
+ t.string "instrument_type_code"
2416
+ t.string "instrument_description", limit: 20
2417
+ end
2418
+
2419
+ create_table "intervals", force: true do |t|
2420
+ t.string "name"
2421
+ end
2422
+
2423
+ create_table "investment_data_providers", force: true do |t|
2424
+ t.integer "investment_data_provider_code"
2425
+ t.integer "instrument_type_id"
2426
+ t.integer "enterprise_id"
2427
+ t.integer "rk_tpa_list_id"
2428
+ t.string "investment_data_provider_name", limit: 50
2429
+ end
2430
+
2431
+ create_table "investment_lists", force: true do |t|
2432
+ t.integer "security_id_legacy"
2433
+ t.integer "investment_data_provider_id"
2434
+ t.date "as_of"
2435
+ t.string "cusip", limit: 13
2436
+ t.string "ticker", limit: 15
2437
+ t.string "morningstar_investment_vehicle_code", limit: 15
2438
+ t.string "provider_security_code", limit: 30
2439
+ t.string "name", limit: 96
2440
+ t.date "inception_date"
2441
+ t.date "prospectus_date"
2442
+ t.string "fund_family_code", limit: 10
2443
+ t.string "fund_family_name", limit: 50
2444
+ t.integer "assets"
2445
+ t.string "website_address", limit: 256
2446
+ t.integer "instrument_type_id"
2447
+ t.string "asset_category", limit: 32
2448
+ t.string "morningstar_category", limit: 32
2449
+ t.integer "fbi_asset_class_id"
2450
+ t.boolean "fbi_auto_diversifed_indicator"
2451
+ t.boolean "active_passive_indicator"
2452
+ t.string "share_class_name", limit: 16
2453
+ t.string "share_class_code", limit: 10
2454
+ t.boolean "fbi_index_fund_indicator"
2455
+ t.boolean "fbi_index_neither_fund_indicator"
2456
+ t.decimal "total_expense_ratio", precision: 5, scale: 2
2457
+ t.decimal "net_expense_ratio", precision: 5, scale: 2
2458
+ t.decimal "actual_management_fee", precision: 6, scale: 4
2459
+ t.decimal "12b_1_fee", precision: 4, scale: 2
2460
+ t.decimal "front_load", precision: 5, scale: 2
2461
+ t.decimal "deferred_load", precision: 4, scale: 2
2462
+ t.decimal "redemption_fee", precision: 4, scale: 2
2463
+ t.integer "redemption_days"
2464
+ t.integer "redemption_time_period"
2465
+ t.date "month_end_date"
2466
+ t.decimal "trailing_total_returns_1_year_returns", precision: 5, scale: 2
2467
+ t.decimal "trailing_total_returns_3_year_returns", precision: 5, scale: 2
2468
+ t.decimal "trailing_total_returns_5_year_returns", precision: 5, scale: 2
2469
+ t.decimal "trailing_total_returns_10_year_returns", precision: 5, scale: 2
2470
+ end
2471
+
2472
+ create_table "investment_strategies", force: true do |t|
2473
+ t.string "name", limit: 32
2474
+ end
2475
+
2476
+ create_table "investment_vehicles", force: true do |t|
2477
+ t.string "name", limit: 32
2478
+ end
2479
+
2480
+ create_table "investments", force: true do |t|
2481
+ t.integer "disclosure_id"
2482
+ t.integer "ms_fund_id"
2483
+ t.integer "assets"
2484
+ end
2485
+
2486
+ create_table "managed_accounts", force: true do |t|
2487
+ t.integer "recordkeeper_product_guide_id"
2488
+ t.integer "client_id"
2489
+ t.integer "asset_beginning"
2490
+ t.integer "asset_end"
2491
+ t.integer "participant_beginning"
2492
+ t.integer "participant_end"
2493
+ t.integer "fiduciary_status_id"
2494
+ t.integer "ma_employer_annual_fee"
2495
+ t.integer "ma_participant_minimum_fee"
2496
+ t.decimal "ma_fee_for_10k", precision: 7, scale: 4
2497
+ t.decimal "ma_fee_for_25k", precision: 7, scale: 4
2498
+ t.decimal "ma_fee_for_50k", precision: 7, scale: 4
2499
+ t.decimal "ma_fee_for_100k", precision: 7, scale: 4
2500
+ t.decimal "ma_fee_for_250k", precision: 7, scale: 4
2501
+ t.decimal "ma_fee_for_500k", precision: 7, scale: 4
2502
+ t.string "ma_service_provider", limit: 100
2503
+ end
2504
+
2505
+ create_table "managed_accounts_templates", force: true do |t|
2506
+ t.integer "client_id"
2507
+ t.integer "asset_beginning"
2508
+ t.integer "asset_end"
2509
+ t.integer "participant_beginning"
2510
+ t.integer "participant_end"
2511
+ t.integer "fiduciary_status_id"
2512
+ t.integer "ma_employer_annual_fee"
2513
+ t.integer "ma_participant_minimum_fee"
2514
+ t.decimal "ma_fee_for_10k", precision: 7, scale: 4
2515
+ t.decimal "ma_fee_for_25k", precision: 7, scale: 4
2516
+ t.decimal "ma_fee_for_50k", precision: 7, scale: 4
2517
+ t.decimal "ma_fee_for_100k", precision: 7, scale: 4
2518
+ t.decimal "ma_fee_for_250k", precision: 7, scale: 4
2519
+ t.decimal "ma_fee_for_500k", precision: 7, scale: 4
2520
+ t.string "ma_service_provider", limit: 100
2521
+ end
2522
+
2523
+ create_table "market_segments", force: true do |t|
2524
+ t.integer "duty_id"
2525
+ t.string "description", limit: 20
2526
+ t.integer "start_assets", limit: 8
2527
+ t.integer "end_assets", limit: 8
2528
+ end
2529
+
2530
+ create_table "matching_methods", force: true do |t|
2531
+ t.integer "bmg_employer_contribution_id"
2532
+ t.integer "bmg_contribution_type_id"
2533
+ t.decimal "contribution_percent_5th", precision: 7, scale: 4
2534
+ t.decimal "contribution_percent_25th", precision: 7, scale: 4
2535
+ t.decimal "contribution_percent_50th", precision: 7, scale: 4
2536
+ t.decimal "contribution_percent_75th", precision: 7, scale: 4
2537
+ t.decimal "contribution_percent_95th", precision: 7, scale: 4
2538
+ t.decimal "percent_plans_no_dollar_limit_percent", precision: 5, scale: 2
2539
+ t.decimal "percent_plans_with_dollar_limit_percent", precision: 5, scale: 2
2540
+ t.integer "dollar_limitation_5th"
2541
+ t.integer "dollar_limitation_25th"
2542
+ t.integer "dollar_limitation_50th"
2543
+ t.integer "dollar_limitation_75th"
2544
+ t.integer "dollar_limitation_95th"
2545
+ t.decimal "percent_plans_vesting_immediate", precision: 5, scale: 2
2546
+ t.decimal "percent_plans_vesting_graded_2_years", precision: 5, scale: 2
2547
+ t.decimal "percent_plans_vesting_graded_3_years", precision: 5, scale: 2
2548
+ t.decimal "percent_plans_vesting_graded_4_years", precision: 5, scale: 2
2549
+ t.decimal "percent_plans_vesting_graded_5_years", precision: 5, scale: 2
2550
+ t.decimal "percent_plans_vesting_graded_6_years", precision: 5, scale: 2
2551
+ t.decimal "percent_plans_vesting_cliff_1_yrs", precision: 5, scale: 2
2552
+ t.decimal "percent_plans_vesting_cliff_2_yrs", precision: 5, scale: 2
2553
+ t.decimal "percent_plans_vesting_cliff_3_yrs", precision: 5, scale: 2
2554
+ t.decimal "percent_plans_vesting_other", precision: 5, scale: 2
2555
+ t.decimal "percent_plans_eoy_requirement_percent_no", precision: 5, scale: 2
2556
+ t.decimal "percent_plans_eoy_requirement_percent_yes", precision: 5, scale: 2
2557
+ t.decimal "percent_plans_1000hrs_requirement_percent_no", precision: 5, scale: 2
2558
+ t.decimal "percent_plans_1000hrs_requirement_percent_yes", precision: 5, scale: 2
2559
+ end
2560
+
2561
+ create_table "model_strategies", force: true do |t|
2562
+ t.string "name", limit: 32
2563
+ end
2564
+
2565
+ create_table "ms_funds", force: true do |t|
2566
+ t.string "name", limit: 100
2567
+ t.string "ticker", limit: 10
2568
+ t.float "net_expense_ratio"
2569
+ t.float "average_net_assets"
2570
+ t.datetime "created_at", null: false
2571
+ t.datetime "updated_at", null: false
2572
+ t.decimal "actual12B1", precision: 8, scale: 5
2573
+ end
2574
+
2575
+ create_table "naics2_digit_codes", force: true do |t|
2576
+ t.integer "code"
2577
+ t.string "description", limit: 100
2578
+ end
2579
+
2580
+ create_table "naics2_digit_comp_data", force: true do |t|
2581
+ t.integer "naics_2_digit_code"
2582
+ t.integer "naics_2_digit_id_median_comp"
2583
+ t.integer "naics_2_digit_id_median_SalaryWages"
2584
+ t.decimal "naics_2_digit_id_avg_turnover", precision: 4, scale: 2
2585
+ t.integer "calendar_year"
2586
+ end
2587
+
2588
+ create_table "naics3_digit_codes", force: true do |t|
2589
+ t.integer "naics_3_digit_code"
2590
+ t.string "naics_3_digit_description", limit: 100
2591
+ end
2592
+
2593
+ create_table "naics3_digit_comp_data", force: true do |t|
2594
+ t.integer "naics_3_digit_code"
2595
+ t.integer "naics_3_digit_id_median_comp"
2596
+ t.decimal "naics_3_digit_id_avg_turnover", precision: 4, scale: 2
2597
+ t.integer "calendar_year"
2598
+ end
2599
+
2600
+ create_table "other_fees", force: true do |t|
2601
+ t.integer "recordkeeper_product_guide_id"
2602
+ t.string "description", limit: 60
2603
+ t.integer "type"
2604
+ t.integer "amount_amt"
2605
+ t.decimal "amount_bps", precision: 8, scale: 5
2606
+ t.integer "amount_bps_assets"
2607
+ t.integer "payment_term_id"
2608
+ t.date "payment_date"
2609
+ t.integer "volumes"
2610
+ t.integer "recipient_type_id"
2611
+ t.string "recipient_name", limit: 60
2612
+ t.boolean "is_recipient_affiliated"
2613
+ t.integer "payor_type_id"
2614
+ t.string "payor_name", limit: 60
2615
+ end
2616
+
2617
+ create_table "participant_activity_fee_templates", force: true do |t|
2618
+ t.integer "client_id"
2619
+ t.integer "duty_id"
2620
+ t.integer "asset_beginning"
2621
+ t.integer "asset_end"
2622
+ t.integer "participant_beginning"
2623
+ t.integer "participant_end"
2624
+ t.integer "annual_per_participant_advice_fee"
2625
+ t.integer "loan_origination_fee"
2626
+ t.integer "loan_maintenance_fee"
2627
+ t.integer "hardship_approval_fee"
2628
+ t.integer "qdro_approval_fee"
2629
+ t.integer "qdro_processing_fee"
2630
+ t.integer "periodic_payment_setup_fee"
2631
+ t.integer "periodic_payment_processing_fee"
2632
+ t.integer "nonperiodic_payment_setup_fee"
2633
+ t.integer "nonperiodic_payment_processing_fee"
2634
+ end
2635
+
2636
+ create_table "participant_activity_fees", force: true do |t|
2637
+ t.integer "recordkeeper_product_guide_id"
2638
+ t.integer "asset_beginning"
2639
+ t.integer "asset_end"
2640
+ t.integer "participant_beginning"
2641
+ t.integer "participant_end"
2642
+ t.integer "annual_per_participant_advice_fee"
2643
+ t.integer "loan_origination_fee"
2644
+ t.integer "loan_maintenance_fee"
2645
+ t.integer "hardship_approval_fee"
2646
+ t.integer "qdro_approval_fee"
2647
+ t.integer "qdro_processing_fee"
2648
+ t.integer "periodic_payment_setup_fee"
2649
+ t.integer "periodic_payment_processing_fee"
2650
+ t.integer "nonperiodic_payment_setup_fee"
2651
+ t.integer "nonperiodic_payment_processing_fee"
2652
+ end
2653
+
2654
+ create_table "payment_terms", force: true do |t|
2655
+ t.string "name", limit: 16
2656
+ end
2657
+
2658
+ create_table "payor_types", force: true do |t|
2659
+ t.string "code", limit: 1
2660
+ t.string "name", limit: 32
2661
+ end
2662
+
2663
+ create_table "people", force: true do |t|
2664
+ t.integer "company_id"
2665
+ t.string "first_name", limit: 128
2666
+ t.string "middle_name", limit: 128
2667
+ t.string "last_name", limit: 128
2668
+ t.string "address_1", limit: 200
2669
+ t.string "address_2", limit: 100
2670
+ t.string "city", limit: 100
2671
+ t.integer "state_id"
2672
+ t.integer "zip_code_id"
2673
+ t.string "title", limit: 150
2674
+ t.string "department", limit: 150
2675
+ t.string "person_email", limit: 150
2676
+ t.string "work_phone", limit: 20
2677
+ t.string "cell_phone", limit: 20
2678
+ t.string "home_phone", limit: 20
2679
+ t.string "fax", limit: 20
2680
+ t.integer "user_id_assistant"
2681
+ t.date "birth_date"
2682
+ t.boolean "needs_review"
2683
+ t.datetime "created_at"
2684
+ t.datetime "updated_at"
2685
+ end
2686
+
2687
+ create_table "principal_exams", force: true do |t|
2688
+ t.integer "principal_exam_code"
2689
+ t.string "principal_exam_description", limit: 100
2690
+ end
2691
+
2692
+ create_table "product_guides", force: true do |t|
2693
+ t.integer "plan_id"
2694
+ t.string "name", limit: 30
2695
+ t.string "description", limit: 150
2696
+ t.datetime "created_at"
2697
+ t.datetime "updated_at"
2698
+ end
2699
+
2700
+ create_table "qdia_investments", force: true do |t|
2701
+ t.integer "investment_list_id"
2702
+ t.integer "fbi_asset_class_id"
2703
+ t.decimal "allocation", precision: 5, scale: 2
2704
+ end
2705
+
2706
+ create_table "rating_agencies", force: true do |t|
2707
+ t.string "name", limit: 32
2708
+ end
2709
+
2710
+
2711
+ add_index "zip_codes", ["zip_code"], name: "index_zip_codes_on_zip_code", unique: true, using: :btree
2712
+
2713
+ end
2714
+
2715
+ expect(result.name).to eq 'rating_agencies'
2716
+ expect(described_class.search_cache('rating_agencies').name).to eq 'rating_agencies'
2717
+ expect(described_class.search_cache('advisor_fee_groups')).to eq nil
2718
+
2719
+ end
2720
+
2721
+ end