mas-rad_core 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/serializers/adviser_serializer.rb +0 -1
- data/app/serializers/firm_serializer.rb +0 -1
- data/app/serializers/office_serializer.rb +0 -1
- data/lib/mas/rad_core/version.rb +1 -1
- data/spec/dummy/config/database.yml +1 -0
- data/spec/dummy/log/development.log +934 -0
- data/spec/dummy/log/test.log +27186 -29009
- metadata +82 -82
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3e2423738fd760516099a4b1c5cd8f8444c4cd2
|
4
|
+
data.tar.gz: 7de8f9c300c3591dd877e49eb35b4693e2b92174
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25846eda1809b387ddf18ffd2f739067f7f291980f84097885bcdde6a5995e65118043673959adedf738a7e1efc84efbdff4034b6d2026c792ddf31fd2a4f68c
|
7
|
+
data.tar.gz: 6de5842a09f5bd8ee385f041296aa1edf4256e46e36317d9e859241377be60d70d124c903ddac2abfae98d4bedc65ea1ddd0d495971ea3622caf384f51e962c7
|
data/lib/mas/rad_core/version.rb
CHANGED
@@ -0,0 +1,934 @@
|
|
1
|
+
[1m[36m (30.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
+
[1m[35m (1.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
+
Migrating to CreateLookupFirms (20141211110031)
|
5
|
+
[1m[35m (0.2ms)[0m BEGIN
|
6
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/oliversharpe/Repo/mas-rad_core/db/migrate/20141211110031_create_lookup_firms.rb:8)
|
7
|
+
[1m[36m (44.2ms)[0m [1mCREATE TABLE "lookup_firms" ("id" serial primary key, "fca_number" integer NOT NULL, "registered_name" character varying DEFAULT '' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
8
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_lookup_firms_on_fca_number" ON "lookup_firms" ("fca_number")
|
9
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141211110031"]]
|
10
|
+
[1m[35m (26.6ms)[0m COMMIT
|
11
|
+
Migrating to CreatePrincipals (20141221140208)
|
12
|
+
[1m[36m (25.2ms)[0m [1mBEGIN[0m
|
13
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block (2 levels) in change at /Users/oliversharpe/Repo/mas-rad_core/db/migrate/20141221140208_create_principals.rb:19)
|
14
|
+
[1m[35m (6.3ms)[0m CREATE TABLE "principals" ("id" serial primary key, "fca_number" integer, "token" character varying, "website_address" character varying, "first_name" character varying, "last_name" character varying, "job_title" character varying, "email_address" character varying, "telephone_number" character varying, "confirmed_disclaimer" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
15
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_principals_on_fca_number" ON "principals" ("fca_number")[0m
|
16
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_principals_on_token" ON "principals" ("token")
|
17
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141221140208"]]
|
18
|
+
[1m[35m (0.4ms)[0m COMMIT
|
19
|
+
Migrating to AddLastSignInAtToPrincipal (20141222150416)
|
20
|
+
[1m[36m (40.6ms)[0m [1mBEGIN[0m
|
21
|
+
[1m[35m (3.5ms)[0m ALTER TABLE "principals" ADD "last_sign_in_at" timestamp
|
22
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141222150416"]]
|
23
|
+
[1m[35m (0.3ms)[0m COMMIT
|
24
|
+
Migrating to CreateLookupSubsidiaries (20141230112136)
|
25
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
26
|
+
[1m[35m (30.1ms)[0m CREATE TABLE "lookup_subsidiaries" ("id" serial primary key, "fca_number" integer NOT NULL, "name" character varying DEFAULT '' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
27
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_lookup_subsidiaries_on_fca_number" ON "lookup_subsidiaries" ("fca_number")[0m
|
28
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141230112136"]]
|
29
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
30
|
+
Migrating to RemoveLastSignInAtFromPrincipals (20150106115732)
|
31
|
+
[1m[35m (24.9ms)[0m BEGIN
|
32
|
+
[1m[36m (1.1ms)[0m [1mALTER TABLE "principals" DROP "last_sign_in_at"[0m
|
33
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150106115732"]]
|
34
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
35
|
+
Migrating to CreateLookupAdvisers (20150114144343)
|
36
|
+
[1m[35m (0.1ms)[0m BEGIN
|
37
|
+
[1m[36m (25.7ms)[0m [1mCREATE TABLE "lookup_advisers" ("id" serial primary key, "reference_number" character varying NOT NULL, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
38
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150114144343"]]
|
39
|
+
[1m[36m (1.1ms)[0m [1mCOMMIT[0m
|
40
|
+
Migrating to CreateFirms (20150114151447)
|
41
|
+
[1m[35m (25.6ms)[0m BEGIN
|
42
|
+
[1m[36m (2.4ms)[0m [1mCREATE TABLE "firms" ("id" serial primary key, "fca_number" integer NOT NULL, "registered_name" character varying NOT NULL, "email_address" character varying, "telephone_number" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
43
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "index_firms_on_fca_number" ON "firms" ("fca_number")
|
44
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150114151447"]]
|
45
|
+
[1m[35m (0.4ms)[0m COMMIT
|
46
|
+
Migrating to AddAddressToFirm (20150115130949)
|
47
|
+
[1m[36m (25.2ms)[0m [1mBEGIN[0m
|
48
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "firms" ADD "address_line_one" character varying
|
49
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "firms" ADD "address_line_two" character varying[0m
|
50
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "firms" ADD "address_town" character varying
|
51
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "firms" ADD "address_county" character varying[0m
|
52
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "firms" ADD "address_postcode" character varying
|
53
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150115130949"]]
|
54
|
+
[1m[35m (0.2ms)[0m COMMIT
|
55
|
+
Migrating to CreateInPersonAdviceMethods (20150119102735)
|
56
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
57
|
+
[1m[35m (25.9ms)[0m CREATE TABLE "in_person_advice_methods" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
58
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "firms_in_person_advice_methods" ("firm_id" integer NOT NULL, "in_person_advice_method_id" integer NOT NULL) [0m
|
59
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "firms_in_person_advice_methods_index" ON "firms_in_person_advice_methods" ("firm_id", "in_person_advice_method_id")
|
60
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150119102735"]]
|
61
|
+
[1m[35m (0.3ms)[0m COMMIT
|
62
|
+
Migrating to CreateOtherAdviceMethods (20150119111754)
|
63
|
+
[1m[36m (25.6ms)[0m [1mBEGIN[0m
|
64
|
+
[1m[35m (2.8ms)[0m CREATE TABLE "other_advice_methods" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
65
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "firms_other_advice_methods" ("firm_id" integer NOT NULL, "other_advice_method_id" integer NOT NULL) [0m
|
66
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "firms_other_advice_methods_index" ON "firms_other_advice_methods" ("firm_id", "other_advice_method_id")
|
67
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150119111754"]]
|
68
|
+
[1m[35m (0.3ms)[0m COMMIT
|
69
|
+
Migrating to AddFreeInitialMeetingToFirm (20150119114218)
|
70
|
+
[1m[36m (25.0ms)[0m [1mBEGIN[0m
|
71
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "firms" ADD "free_initial_meeting" boolean
|
72
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150119114218"]]
|
73
|
+
[1m[35m (0.4ms)[0m COMMIT
|
74
|
+
Migrating to CreateInitialMeetingDurations (20150119125208)
|
75
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
76
|
+
[1m[35m (25.2ms)[0m CREATE TABLE "initial_meeting_durations" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
77
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "firms" ADD "initial_meeting_duration_id" integer[0m
|
78
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_firms_on_initial_meeting_duration_id" ON "firms" ("initial_meeting_duration_id")
|
79
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150119125208"]]
|
80
|
+
[1m[35m (0.5ms)[0m COMMIT
|
81
|
+
Migrating to CreateInitialAdviceFeeStructures (20150119152325)
|
82
|
+
[1m[36m (25.7ms)[0m [1mBEGIN[0m
|
83
|
+
[1m[35m (2.9ms)[0m CREATE TABLE "initial_advice_fee_structures" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
84
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "firms_initial_advice_fee_structures" ("firm_id" integer NOT NULL, "initial_advice_fee_structure_id" integer NOT NULL) [0m
|
85
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "firms_initial_advice_fee_structures_index" ON "firms_initial_advice_fee_structures" ("firm_id", "initial_advice_fee_structure_id")
|
86
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150119152325"]]
|
87
|
+
[1m[35m (0.3ms)[0m COMMIT
|
88
|
+
Migrating to CreateOngoingAdviceFeeStructures (20150119152336)
|
89
|
+
[1m[36m (24.7ms)[0m [1mBEGIN[0m
|
90
|
+
[1m[35m (3.0ms)[0m CREATE TABLE "ongoing_advice_fee_structures" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
91
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "firms_ongoing_advice_fee_structures" ("firm_id" integer NOT NULL, "ongoing_advice_fee_structure_id" integer NOT NULL) [0m
|
92
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "firms_ongoing_advice_fee_structures_index" ON "firms_ongoing_advice_fee_structures" ("firm_id", "ongoing_advice_fee_structure_id")
|
93
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150119152336"]]
|
94
|
+
[1m[35m (0.4ms)[0m COMMIT
|
95
|
+
Migrating to CreateAllowedPaymentMethods (20150120133717)
|
96
|
+
[1m[36m (25.4ms)[0m [1mBEGIN[0m
|
97
|
+
[1m[35m (2.8ms)[0m CREATE TABLE "allowed_payment_methods" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
98
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "allowed_payment_methods_firms" ("firm_id" integer NOT NULL, "allowed_payment_method_id" integer NOT NULL) [0m
|
99
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "firms_allowed_payment_methods_index" ON "allowed_payment_methods_firms" ("firm_id", "allowed_payment_method_id")
|
100
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150120133717"]]
|
101
|
+
[1m[35m (0.3ms)[0m COMMIT
|
102
|
+
Migrating to AddMinimumFixedFeeToFirm (20150120141928)
|
103
|
+
[1m[36m (39.7ms)[0m [1mBEGIN[0m
|
104
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "firms" ADD "minimum_fixed_fee" integer
|
105
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150120141928"]]
|
106
|
+
[1m[35m (2.1ms)[0m COMMIT
|
107
|
+
Migrating to CreateInvestmentSizes (20150120150738)
|
108
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
109
|
+
[1m[35m (34.3ms)[0m CREATE TABLE "investment_sizes" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
110
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "firms_investment_sizes" ("firm_id" integer NOT NULL, "investment_size_id" integer NOT NULL) [0m
|
111
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "firms_investment_sizes_index" ON "firms_investment_sizes" ("firm_id", "investment_size_id")
|
112
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150120150738"]]
|
113
|
+
[1m[35m (0.3ms)[0m COMMIT
|
114
|
+
Migrating to CreateAdvisers (20150121110757)
|
115
|
+
[1m[36m (26.0ms)[0m [1mBEGIN[0m
|
116
|
+
[1m[35m (2.6ms)[0m CREATE TABLE "advisers" ("id" serial primary key, "reference_number" character varying NOT NULL, "name" character varying NOT NULL, "firm_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
117
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150121110757"]]
|
118
|
+
[1m[35m (0.4ms)[0m COMMIT
|
119
|
+
Migrating to AddBusinessIncomeBreakdownFieldsToFirm (20150121123437)
|
120
|
+
[1m[36m (25.3ms)[0m [1mBEGIN[0m
|
121
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "firms" ADD "retirement_income_products_percent" integer
|
122
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "firms" ADD "pension_transfer_percent" integer[0m
|
123
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "firms" ADD "long_term_care_percent" integer
|
124
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "firms" ADD "equity_release_percent" integer[0m
|
125
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "firms" ADD "inheritance_tax_and_estate_planning_percent" integer
|
126
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "firms" ADD "wills_and_probate_percent" integer[0m
|
127
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "firms" ADD "other_percent" integer
|
128
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150121123437"]]
|
129
|
+
[1m[35m (0.3ms)[0m COMMIT
|
130
|
+
Migrating to CreateQualifications (20150121134845)
|
131
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
132
|
+
[1m[35m (26.1ms)[0m CREATE TABLE "qualifications" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
133
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "advisers_qualifications" ("adviser_id" integer NOT NULL, "qualification_id" integer NOT NULL) [0m
|
134
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "advisers_qualifications_index" ON "advisers_qualifications" ("adviser_id", "qualification_id")
|
135
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150121134845"]]
|
136
|
+
[1m[35m (0.4ms)[0m COMMIT
|
137
|
+
Migrating to CreateAccreditations (20150121154458)
|
138
|
+
[1m[36m (25.6ms)[0m [1mBEGIN[0m
|
139
|
+
[1m[35m (3.7ms)[0m CREATE TABLE "accreditations" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
140
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "accreditations_advisers" ("adviser_id" integer NOT NULL, "accreditation_id" integer NOT NULL) [0m
|
141
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "advisers_accreditations_index" ON "accreditations_advisers" ("adviser_id", "accreditation_id")
|
142
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150121154458"]]
|
143
|
+
[1m[35m (0.3ms)[0m COMMIT
|
144
|
+
Migrating to CreateProfessionalStandings (20150121173015)
|
145
|
+
[1m[36m (25.6ms)[0m [1mBEGIN[0m
|
146
|
+
[1m[35m (2.4ms)[0m CREATE TABLE "professional_standings" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
147
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "advisers_professional_standings" ("adviser_id" integer NOT NULL, "professional_standing_id" integer NOT NULL) [0m
|
148
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "advisers_professional_standings_index" ON "advisers_professional_standings" ("adviser_id", "professional_standing_id")
|
149
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150121173015"]]
|
150
|
+
[1m[35m (0.5ms)[0m COMMIT
|
151
|
+
Migrating to CreateProfessionalBodies (20150121181341)
|
152
|
+
[1m[36m (25.8ms)[0m [1mBEGIN[0m
|
153
|
+
[1m[35m (2.6ms)[0m CREATE TABLE "professional_bodies" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
154
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "advisers_professional_bodies" ("adviser_id" integer NOT NULL, "professional_body_id" integer NOT NULL) [0m
|
155
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "advisers_professional_bodies_index" ON "advisers_professional_bodies" ("adviser_id", "professional_body_id")
|
156
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150121181341"]]
|
157
|
+
[1m[35m (0.4ms)[0m COMMIT
|
158
|
+
Migrating to AddConfirmedDisclaimerToAdvisers (20150121183728)
|
159
|
+
[1m[36m (26.0ms)[0m [1mBEGIN[0m
|
160
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "advisers" ADD "confirmed_disclaimer" boolean NOT NULL
|
161
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150121183728"]]
|
162
|
+
[1m[35m (0.3ms)[0m COMMIT
|
163
|
+
Migrating to AddGeographicalFieldsToAdviser (20150124124350)
|
164
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
165
|
+
[1m[35m (26.7ms)[0m ALTER TABLE "advisers" ADD "postcode" character varying DEFAULT '' NOT NULL
|
166
|
+
[1m[36m (2.4ms)[0m [1mALTER TABLE "advisers" ADD "travel_distance" integer DEFAULT 0 NOT NULL[0m
|
167
|
+
[1m[35m (2.6ms)[0m ALTER TABLE "advisers" ADD "covers_whole_of_uk" boolean DEFAULT 'f' NOT NULL
|
168
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150124124350"]]
|
169
|
+
[1m[35m (1.7ms)[0m COMMIT
|
170
|
+
Migrating to AddParentIdToFirms (20150125145457)
|
171
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
172
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "firms" ADD "parent_id" integer
|
173
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150125145457"]]
|
174
|
+
[1m[35m (23.1ms)[0m COMMIT
|
175
|
+
Migrating to RemoveUniqueConstraintFromFirmsFcaNumber (20150125164156)
|
176
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
177
|
+
[1m[35m (0.3ms)[0m DROP INDEX "index_firms_on_fca_number"
|
178
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150125164156"]]
|
179
|
+
[1m[35m (22.3ms)[0m COMMIT
|
180
|
+
Migrating to AddOrderingOnReferenceData (20150127084858)
|
181
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
182
|
+
[1m[35m (29.5ms)[0m ALTER TABLE "accreditations" ADD "order" integer DEFAULT 0 NOT NULL
|
183
|
+
[1m[36mAccreditation Load (0.8ms)[0m [1mSELECT "accreditations".* FROM "accreditations" ORDER BY "accreditations"."id" ASC[0m
|
184
|
+
[1m[35m (2.3ms)[0m ALTER TABLE "allowed_payment_methods" ADD "order" integer DEFAULT 0 NOT NULL
|
185
|
+
[1m[36mAllowedPaymentMethod Load (0.4ms)[0m [1mSELECT "allowed_payment_methods".* FROM "allowed_payment_methods" ORDER BY "allowed_payment_methods"."id" ASC[0m
|
186
|
+
[1m[35m (2.1ms)[0m ALTER TABLE "in_person_advice_methods" ADD "order" integer DEFAULT 0 NOT NULL
|
187
|
+
[1m[36mInPersonAdviceMethod Load (0.4ms)[0m [1mSELECT "in_person_advice_methods".* FROM "in_person_advice_methods" ORDER BY "in_person_advice_methods"."id" ASC[0m
|
188
|
+
[1m[35m (2.2ms)[0m ALTER TABLE "initial_advice_fee_structures" ADD "order" integer DEFAULT 0 NOT NULL
|
189
|
+
[1m[36mInitialAdviceFeeStructure Load (0.3ms)[0m [1mSELECT "initial_advice_fee_structures".* FROM "initial_advice_fee_structures" ORDER BY "initial_advice_fee_structures"."id" ASC[0m
|
190
|
+
[1m[35m (2.5ms)[0m ALTER TABLE "initial_meeting_durations" ADD "order" integer DEFAULT 0 NOT NULL
|
191
|
+
[1m[36mInitialMeetingDuration Load (0.4ms)[0m [1mSELECT "initial_meeting_durations".* FROM "initial_meeting_durations" ORDER BY "initial_meeting_durations"."id" ASC[0m
|
192
|
+
[1m[35m (2.5ms)[0m ALTER TABLE "investment_sizes" ADD "order" integer DEFAULT 0 NOT NULL
|
193
|
+
[1m[36mInvestmentSize Load (0.4ms)[0m [1mSELECT "investment_sizes".* FROM "investment_sizes" ORDER BY "investment_sizes"."id" ASC[0m
|
194
|
+
[1m[35m (2.7ms)[0m ALTER TABLE "ongoing_advice_fee_structures" ADD "order" integer DEFAULT 0 NOT NULL
|
195
|
+
[1m[36mOngoingAdviceFeeStructure Load (0.4ms)[0m [1mSELECT "ongoing_advice_fee_structures".* FROM "ongoing_advice_fee_structures" ORDER BY "ongoing_advice_fee_structures"."id" ASC[0m
|
196
|
+
[1m[35m (2.6ms)[0m ALTER TABLE "other_advice_methods" ADD "order" integer DEFAULT 0 NOT NULL
|
197
|
+
[1m[36mOtherAdviceMethod Load (0.5ms)[0m [1mSELECT "other_advice_methods".* FROM "other_advice_methods" ORDER BY "other_advice_methods"."id" ASC[0m
|
198
|
+
[1m[35m (2.9ms)[0m ALTER TABLE "professional_bodies" ADD "order" integer DEFAULT 0 NOT NULL
|
199
|
+
[1m[36mProfessionalBody Load (0.3ms)[0m [1mSELECT "professional_bodies".* FROM "professional_bodies" ORDER BY "professional_bodies"."id" ASC[0m
|
200
|
+
[1m[35m (45.3ms)[0m ALTER TABLE "professional_standings" ADD "order" integer DEFAULT 0 NOT NULL
|
201
|
+
[1m[36mProfessionalStanding Load (0.4ms)[0m [1mSELECT "professional_standings".* FROM "professional_standings" ORDER BY "professional_standings"."id" ASC[0m
|
202
|
+
[1m[35m (45.5ms)[0m ALTER TABLE "qualifications" ADD "order" integer DEFAULT 0 NOT NULL
|
203
|
+
[1m[36mQualification Load (0.6ms)[0m [1mSELECT "qualifications".* FROM "qualifications" ORDER BY "qualifications"."id" ASC[0m
|
204
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150127084858"]]
|
205
|
+
[1m[36m (4.0ms)[0m [1mCOMMIT[0m
|
206
|
+
Migrating to RemoveCoversWholeOfUkFromAdvisers (20150209144836)
|
207
|
+
[1m[35m (0.4ms)[0m BEGIN
|
208
|
+
[1m[36mAdviser Load (0.3ms)[0m [1mSELECT "advisers".* FROM "advisers" WHERE "advisers"."covers_whole_of_uk" = $1 ORDER BY "advisers"."id" ASC LIMIT 1000[0m [["covers_whole_of_uk", "t"]]
|
209
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "advisers" DROP "covers_whole_of_uk"
|
210
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150209144836"]]
|
211
|
+
[1m[35m (39.5ms)[0m COMMIT
|
212
|
+
Migrating to AddLatitudeAndLongitudeToFirm (20150210113610)
|
213
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
214
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "firms" ADD "latitude" float
|
215
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "firms" ADD "longitude" float[0m
|
216
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150210113610"]]
|
217
|
+
[1m[36m (21.6ms)[0m [1mCOMMIT[0m
|
218
|
+
Migrating to AddLatitudeAndLongitudeToAdvisers (20150222092417)
|
219
|
+
[1m[35m (0.3ms)[0m BEGIN
|
220
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "advisers" ADD "latitude" float[0m
|
221
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "advisers" ADD "longitude" float
|
222
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150222092417"]]
|
223
|
+
[1m[35m (22.4ms)[0m COMMIT
|
224
|
+
Migrating to AddCyNameToOtherAdviceMethods (20150228095315)
|
225
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
226
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "other_advice_methods" ADD "cy_name" character varying
|
227
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150228095315"]]
|
228
|
+
[1m[35m (22.9ms)[0m COMMIT
|
229
|
+
Migrating to AddCyNameToInvestmentSize (20150305150719)
|
230
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
231
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "investment_sizes" ADD "cy_name" character varying
|
232
|
+
[1m[36mInvestmentSize Load (0.4ms)[0m [1mSELECT "investment_sizes".* FROM "investment_sizes" ORDER BY "investment_sizes"."order" ASC[0m
|
233
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150305150719"]]
|
234
|
+
[1m[36m (22.2ms)[0m [1mCOMMIT[0m
|
235
|
+
Migrating to AddIndexOnLookupAdvisersReferenceNumber (20150423154732)
|
236
|
+
[1m[35m (0.2ms)[0m BEGIN
|
237
|
+
[1m[36m (24.1ms)[0m [1mCREATE UNIQUE INDEX "index_lookup_advisers_on_reference_number" ON "lookup_advisers" ("reference_number")[0m
|
238
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150423154732"]]
|
239
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
240
|
+
Migrating to ChangePercentageFieldsToBooleanFieldsOnFirm (20150630143001)
|
241
|
+
[1m[35m (0.2ms)[0m BEGIN
|
242
|
+
[1m[36m (25.4ms)[0m [1mALTER TABLE "firms" ADD "retirement_income_products_flag" boolean DEFAULT 'f' NOT NULL[0m
|
243
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "firms" SET "retirement_income_products_flag" = 't' WHERE (retirement_income_products_percent > 0)
|
244
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "firms" DROP "retirement_income_products_percent"[0m
|
245
|
+
[1m[35m (3.2ms)[0m ALTER TABLE "firms" ADD "pension_transfer_flag" boolean DEFAULT 'f' NOT NULL
|
246
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "firms" SET "pension_transfer_flag" = 't' WHERE (pension_transfer_percent > 0)[0m
|
247
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "firms" DROP "pension_transfer_percent"
|
248
|
+
[1m[36m (3.2ms)[0m [1mALTER TABLE "firms" ADD "long_term_care_flag" boolean DEFAULT 'f' NOT NULL[0m
|
249
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "firms" SET "long_term_care_flag" = 't' WHERE (long_term_care_percent > 0)
|
250
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "firms" DROP "long_term_care_percent"[0m
|
251
|
+
[1m[35m (3.1ms)[0m ALTER TABLE "firms" ADD "equity_release_flag" boolean DEFAULT 'f' NOT NULL
|
252
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "firms" SET "equity_release_flag" = 't' WHERE (equity_release_percent > 0)[0m
|
253
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "firms" DROP "equity_release_percent"
|
254
|
+
[1m[36m (3.6ms)[0m [1mALTER TABLE "firms" ADD "inheritance_tax_and_estate_planning_flag" boolean DEFAULT 'f' NOT NULL[0m
|
255
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "firms" SET "inheritance_tax_and_estate_planning_flag" = 't' WHERE (inheritance_tax_and_estate_planning_percent > 0)
|
256
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "firms" DROP "inheritance_tax_and_estate_planning_percent"[0m
|
257
|
+
[1m[35m (3.2ms)[0m ALTER TABLE "firms" ADD "wills_and_probate_flag" boolean DEFAULT 'f' NOT NULL
|
258
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "firms" SET "wills_and_probate_flag" = 't' WHERE (wills_and_probate_percent > 0)[0m
|
259
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "firms" DROP "wills_and_probate_percent"
|
260
|
+
[1m[36m (3.4ms)[0m [1mALTER TABLE "firms" ADD "other_flag" boolean DEFAULT 'f' NOT NULL[0m
|
261
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "firms" SET "other_flag" = 't' WHERE (other_percent > 0)
|
262
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "firms" DROP "other_percent"[0m
|
263
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150630143001"]]
|
264
|
+
[1m[36m (3.3ms)[0m [1mCOMMIT[0m
|
265
|
+
Migrating to MoveWebsiteFromPrincipalsToFirms (20150706102943)
|
266
|
+
[1m[35m (0.2ms)[0m BEGIN
|
267
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "firms" ADD "website_address" character varying[0m
|
268
|
+
[1m[35mPrincipal Load (0.4ms)[0m SELECT "principals".* FROM "principals"
|
269
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "principals" DROP "website_address"[0m
|
270
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150706102943"]]
|
271
|
+
[1m[36m (40.5ms)[0m [1mCOMMIT[0m
|
272
|
+
Migrating to RemoveOtherFlagFromFirms (20150716123032)
|
273
|
+
[1m[35m (0.2ms)[0m BEGIN
|
274
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "firms" DROP "other_flag"[0m
|
275
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150716123032"]]
|
276
|
+
[1m[36m (39.6ms)[0m [1mCOMMIT[0m
|
277
|
+
Migrating to AddInvestingCheckboxesToFirms (20150806143047)
|
278
|
+
[1m[35m (0.2ms)[0m BEGIN
|
279
|
+
[1m[36m (46.6ms)[0m [1mALTER TABLE "firms" ADD "ethical_investing_flag" boolean DEFAULT 'f' NOT NULL[0m
|
280
|
+
[1m[35m (3.1ms)[0m ALTER TABLE "firms" ADD "sharia_investing_flag" boolean DEFAULT 'f' NOT NULL
|
281
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150806143047"]]
|
282
|
+
[1m[35m (1.2ms)[0m COMMIT
|
283
|
+
Migrating to AddLanguagesToFirm (20150807134551)
|
284
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
285
|
+
[1m[35m (32.8ms)[0m ALTER TABLE "firms" ADD "languages" text[] DEFAULT '{}' NOT NULL
|
286
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150807134551"]]
|
287
|
+
[1m[35m (0.8ms)[0m COMMIT
|
288
|
+
Migrating to CreateOffices (20150812140642)
|
289
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
290
|
+
[1m[35m (23.9ms)[0m CREATE TABLE "offices" ("id" serial primary key, "address_line_one" character varying NOT NULL, "address_line_two" character varying, "address_town" character varying NOT NULL, "address_county" character varying, "address_postcode" character varying NOT NULL, "email_address" character varying, "telephone_number" character varying, "disabled_access" boolean DEFAULT 'f' NOT NULL, "firm_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
291
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150812140642"]]
|
292
|
+
[1m[35m (0.4ms)[0m COMMIT
|
293
|
+
Migrating to RemoveConfirmedDisclaimerFromAdvisers (20150813103046)
|
294
|
+
[1m[36m (26.0ms)[0m [1mBEGIN[0m
|
295
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "advisers" DROP "confirmed_disclaimer"
|
296
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150813103046"]]
|
297
|
+
[1m[35m (0.3ms)[0m COMMIT
|
298
|
+
Migrating to AddStatusToFirms (20150817141257)
|
299
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
300
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "firms" ADD "status" integer
|
301
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150817141257"]]
|
302
|
+
[1m[35m (23.3ms)[0m COMMIT
|
303
|
+
Migrating to MoveFirmAddressToOffice (20150825090822)
|
304
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
305
|
+
[1m[35mMoveFirmAddressToOffice::Firm Load (0.5ms)[0m SELECT "firms".* FROM "firms" WHERE ("firms"."address_line_one" IS NOT NULL)
|
306
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "firms" DROP "address_line_one"[0m
|
307
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "firms" DROP "address_line_two"
|
308
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "firms" DROP "address_town"[0m
|
309
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "firms" DROP "address_county"
|
310
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "firms" DROP "address_postcode"[0m
|
311
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150825090822"]]
|
312
|
+
[1m[36m (17.5ms)[0m [1mCOMMIT[0m
|
313
|
+
Migrating to RemoveFirmEmailAndPhone (20150930140851)
|
314
|
+
[1m[35m (0.2ms)[0m BEGIN
|
315
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "firms" DROP "email_address"[0m
|
316
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "firms" DROP "telephone_number"
|
317
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150930140851"]]
|
318
|
+
[1m[35m (20.6ms)[0m COMMIT
|
319
|
+
Migrating to AddDefaultValueToMinimumFixedFee (20151102113518)
|
320
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
321
|
+
[1m[35mAddDefaultValueToMinimumFixedFee::Firm Load (0.4ms)[0m SELECT "firms".* FROM "firms" WHERE "firms"."minimum_fixed_fee" IS NULL
|
322
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "firms" ALTER COLUMN "minimum_fixed_fee" SET DEFAULT 0[0m
|
323
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102113518"]]
|
324
|
+
[1m[36m (20.2ms)[0m [1mCOMMIT[0m
|
325
|
+
Migrating to AddLatitudeAndLongitudeToOffice (20151103161642)
|
326
|
+
[1m[35m (0.2ms)[0m BEGIN
|
327
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "offices" ADD "latitude" float[0m
|
328
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "offices" ADD "longitude" float
|
329
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20151103161642"]]
|
330
|
+
[1m[35m (22.3ms)[0m COMMIT
|
331
|
+
Migrating to RemoveLatitudeAndLongitudeFromFirm (20151111132037)
|
332
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
333
|
+
[1m[35mRemoveLatitudeAndLongitudeFromFirm::Firm Load (0.6ms)[0m SELECT "firms".* FROM "firms" WHERE ("firms"."latitude" IS NOT NULL) AND ("firms"."longitude" IS NOT NULL) ORDER BY "firms"."id" ASC LIMIT 1000
|
334
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "firms" DROP "latitude"[0m
|
335
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "firms" DROP "longitude"
|
336
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20151111132037"]]
|
337
|
+
[1m[35m (18.7ms)[0m COMMIT
|
338
|
+
Migrating to AddBypassReferenceNumberCheckToAdvisers (20160205150033)
|
339
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
340
|
+
[1m[35m (26.4ms)[0m ALTER TABLE "advisers" ADD "bypass_reference_number_check" boolean DEFAULT 'f'
|
341
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160205150033"]]
|
342
|
+
[1m[35m (0.8ms)[0m COMMIT
|
343
|
+
Migrating to CreateSnapshots (20160211161127)
|
344
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
345
|
+
[1m[35m (23.9ms)[0m CREATE TABLE "snapshots" ("id" serial primary key, "firms_with_no_minimum_fee" integer, "integer" integer, "firms_with_min_fee_between_1_500" integer, "firms_with_min_fee_between_501_1000" integer, "firms_any_pot_size" integer, "firms_any_pot_size_min_fee_less_than_500" integer, "registered_firms" integer, "published_firms" integer, "firms_offering_face_to_face_advice" integer, "firms_offering_remote_advice" integer, "firms_in_england" integer, "firms_in_scotland" integer, "firms_in_wales" integer, "firms_in_northern_ireland" integer, "firms_providing_retirement_income_products" integer, "firms_providing_pension_transfer" integer, "firms_providing_long_term_care" integer, "firms_providing_equity_release" integer, "firms_providing_inheritance_tax_and_estate_planning" integer, "firms_providing_wills_and_probate" integer, "firms_providing_ethical_investing" integer, "firms_providing_sharia_investing" integer, "firms_offering_languages_other_than_english" integer, "offices_with_disabled_access" integer, "registered_advisers" integer, "advisers_in_england" integer, "advisers_in_scotland" integer, "advisers_in_wales" integer, "advisers_in_northern_ireland" integer, "advisers_who_travel_5_miles" integer, "advisers_who_travel_10_miles" integer, "advisers_who_travel_25_miles" integer, "advisers_who_travel_50_miles" integer, "advisers_who_travel_100_miles" integer, "advisers_who_travel_150_miles" integer, "advisers_who_travel_200_miles" integer, "advisers_who_travel_250_miles" integer, "advisers_who_travel_uk_wide" integer, "advisers_accredited_in_solla" integer, "advisers_accredited_in_later_life_academy" integer, "advisers_accredited_in_iso22222" integer, "advisers_accredited_in_bs8577" integer, "advisers_with_qualification_in_level_4" integer, "advisers_with_qualification_in_level_6" integer, "advisers_with_qualification_in_chartered_financial_planner" integer, "advisers_with_qualification_in_certified_financial_planner" integer, "advisers_with_qualification_in_pension_transfer" integer, "advisers_with_qualification_in_equity_release" integer, "advisers_with_qualification_in_long_term_care_planning" integer, "advisers_with_qualification_in_tep" integer, "advisers_with_qualification_in_fcii" integer, "advisers_part_of_personal_finance_society" integer, "advisers_part_of_institute_financial_planning" integer, "advisers_part_of_institute_financial_services" integer, "advisers_part_of_ci_bankers_scotland" integer, "advisers_part_of_ci_securities_and_investments" integer, "advisers_part_of_cfa_institute" integer, "advisers_part_of_chartered_accountants" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
346
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160211161127"]]
|
347
|
+
[1m[35m (0.5ms)[0m COMMIT
|
348
|
+
Migrating to RemoveOtherAccreditation (20160222091312)
|
349
|
+
[1m[36m (24.7ms)[0m [1mBEGIN[0m
|
350
|
+
[1m[35mRemoveOtherAccreditation::Accreditation Load (0.3ms)[0m SELECT "accreditations".* FROM "accreditations" WHERE "accreditations"."name" = $1 [["name", "Other"]]
|
351
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160222091312"]]
|
352
|
+
[1m[35m (0.3ms)[0m COMMIT
|
353
|
+
Migrating to AddSessionsTable (20160317103053)
|
354
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
355
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/oliversharpe/Repo/mas-rad_core/db/migrate/20160317103053_add_sessions_table.rb:6)
|
356
|
+
[1m[35m (25.9ms)[0m CREATE TABLE "rad_consumer_sessions" ("id" serial primary key, "session_id" character varying NOT NULL, "data" text, "created_at" timestamp, "updated_at" timestamp)
|
357
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_rad_consumer_sessions_on_session_id" ON "rad_consumer_sessions" ("session_id")[0m
|
358
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_rad_consumer_sessions_on_updated_at" ON "rad_consumer_sessions" ("updated_at")
|
359
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160317103053"]]
|
360
|
+
[1m[35m (0.3ms)[0m COMMIT
|
361
|
+
Migrating to AddWorkplaceFinancialAdviceToFirms (20160325155550)
|
362
|
+
[1m[36m (26.0ms)[0m [1mBEGIN[0m
|
363
|
+
[1m[35m (3.9ms)[0m ALTER TABLE "firms" ADD "workplace_financial_advice_flag" boolean DEFAULT 'f' NOT NULL
|
364
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160325155550"]]
|
365
|
+
[1m[35m (0.9ms)[0m COMMIT
|
366
|
+
Migrating to AddWorkplaceFinancialAdviceToSnapshots (20160328130032)
|
367
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
368
|
+
[1m[35m (25.0ms)[0m ALTER TABLE "snapshots" ADD "firms_providing_workplace_financial_advice" integer DEFAULT 0
|
369
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160328130032"]]
|
370
|
+
[1m[35m (0.7ms)[0m COMMIT
|
371
|
+
Migrating to AddNonUkResidentsToFirms (20160329105636)
|
372
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
373
|
+
[1m[35m (27.5ms)[0m ALTER TABLE "firms" ADD "non_uk_residents_flag" boolean DEFAULT 'f' NOT NULL
|
374
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160329105636"]]
|
375
|
+
[1m[35m (2.3ms)[0m COMMIT
|
376
|
+
Migrating to AddAddNonUkResidentsToSnapshots (20160329110348)
|
377
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
378
|
+
[1m[35m (24.3ms)[0m ALTER TABLE "snapshots" ADD "firms_providing_non_uk_residents" integer DEFAULT 0
|
379
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160329110348"]]
|
380
|
+
[1m[35m (0.7ms)[0m COMMIT
|
381
|
+
Migrating to AddWebsiteToOffice (20161216141323)
|
382
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
383
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "offices" ADD "website" character varying
|
384
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20161216141323"]]
|
385
|
+
[1m[35m (23.5ms)[0m COMMIT
|
386
|
+
[1m[36mActiveRecord::SchemaMigration Load (24.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
387
|
+
[1m[35m (2.0ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
388
|
+
FROM pg_constraint c
|
389
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
390
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
391
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
392
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
393
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
394
|
+
WHERE c.contype = 'f'
|
395
|
+
AND t1.relname = 'accreditations'
|
396
|
+
AND t3.nspname = ANY (current_schemas(false))
|
397
|
+
ORDER BY c.conname
|
398
|
+
|
399
|
+
[1m[36m (1.6ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
400
|
+
FROM pg_constraint c
|
401
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
402
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
403
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
404
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
405
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
406
|
+
WHERE c.contype = 'f'
|
407
|
+
AND t1.relname = 'accreditations_advisers'
|
408
|
+
AND t3.nspname = ANY (current_schemas(false))
|
409
|
+
ORDER BY c.conname
|
410
|
+
[0m
|
411
|
+
[1m[35m (1.6ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
412
|
+
FROM pg_constraint c
|
413
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
414
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
415
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
416
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
417
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
418
|
+
WHERE c.contype = 'f'
|
419
|
+
AND t1.relname = 'advisers'
|
420
|
+
AND t3.nspname = ANY (current_schemas(false))
|
421
|
+
ORDER BY c.conname
|
422
|
+
|
423
|
+
[1m[36m (1.6ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
424
|
+
FROM pg_constraint c
|
425
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
426
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
427
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
428
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
429
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
430
|
+
WHERE c.contype = 'f'
|
431
|
+
AND t1.relname = 'advisers_professional_bodies'
|
432
|
+
AND t3.nspname = ANY (current_schemas(false))
|
433
|
+
ORDER BY c.conname
|
434
|
+
[0m
|
435
|
+
[1m[35m (1.6ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
436
|
+
FROM pg_constraint c
|
437
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
438
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
439
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
440
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
441
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
442
|
+
WHERE c.contype = 'f'
|
443
|
+
AND t1.relname = 'advisers_professional_standings'
|
444
|
+
AND t3.nspname = ANY (current_schemas(false))
|
445
|
+
ORDER BY c.conname
|
446
|
+
|
447
|
+
[1m[36m (1.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
448
|
+
FROM pg_constraint c
|
449
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
450
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
451
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
452
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
453
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
454
|
+
WHERE c.contype = 'f'
|
455
|
+
AND t1.relname = 'advisers_qualifications'
|
456
|
+
AND t3.nspname = ANY (current_schemas(false))
|
457
|
+
ORDER BY c.conname
|
458
|
+
[0m
|
459
|
+
[1m[35m (1.8ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
460
|
+
FROM pg_constraint c
|
461
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
462
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
463
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
464
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
465
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
466
|
+
WHERE c.contype = 'f'
|
467
|
+
AND t1.relname = 'allowed_payment_methods'
|
468
|
+
AND t3.nspname = ANY (current_schemas(false))
|
469
|
+
ORDER BY c.conname
|
470
|
+
|
471
|
+
[1m[36m (1.5ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
472
|
+
FROM pg_constraint c
|
473
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
474
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
475
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
476
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
477
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
478
|
+
WHERE c.contype = 'f'
|
479
|
+
AND t1.relname = 'allowed_payment_methods_firms'
|
480
|
+
AND t3.nspname = ANY (current_schemas(false))
|
481
|
+
ORDER BY c.conname
|
482
|
+
[0m
|
483
|
+
[1m[35m (1.6ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
484
|
+
FROM pg_constraint c
|
485
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
486
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
487
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
488
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
489
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
490
|
+
WHERE c.contype = 'f'
|
491
|
+
AND t1.relname = 'firms'
|
492
|
+
AND t3.nspname = ANY (current_schemas(false))
|
493
|
+
ORDER BY c.conname
|
494
|
+
|
495
|
+
[1m[36m (1.6ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
496
|
+
FROM pg_constraint c
|
497
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
498
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
499
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
500
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
501
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
502
|
+
WHERE c.contype = 'f'
|
503
|
+
AND t1.relname = 'firms_in_person_advice_methods'
|
504
|
+
AND t3.nspname = ANY (current_schemas(false))
|
505
|
+
ORDER BY c.conname
|
506
|
+
[0m
|
507
|
+
[1m[35m (1.6ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
508
|
+
FROM pg_constraint c
|
509
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
510
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
511
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
512
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
513
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
514
|
+
WHERE c.contype = 'f'
|
515
|
+
AND t1.relname = 'firms_initial_advice_fee_structures'
|
516
|
+
AND t3.nspname = ANY (current_schemas(false))
|
517
|
+
ORDER BY c.conname
|
518
|
+
|
519
|
+
[1m[36m (1.4ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
520
|
+
FROM pg_constraint c
|
521
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
522
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
523
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
524
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
525
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
526
|
+
WHERE c.contype = 'f'
|
527
|
+
AND t1.relname = 'firms_investment_sizes'
|
528
|
+
AND t3.nspname = ANY (current_schemas(false))
|
529
|
+
ORDER BY c.conname
|
530
|
+
[0m
|
531
|
+
[1m[35m (1.6ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
532
|
+
FROM pg_constraint c
|
533
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
534
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
535
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
536
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
537
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
538
|
+
WHERE c.contype = 'f'
|
539
|
+
AND t1.relname = 'firms_ongoing_advice_fee_structures'
|
540
|
+
AND t3.nspname = ANY (current_schemas(false))
|
541
|
+
ORDER BY c.conname
|
542
|
+
|
543
|
+
[1m[36m (1.6ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
544
|
+
FROM pg_constraint c
|
545
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
546
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
547
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
548
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
549
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
550
|
+
WHERE c.contype = 'f'
|
551
|
+
AND t1.relname = 'firms_other_advice_methods'
|
552
|
+
AND t3.nspname = ANY (current_schemas(false))
|
553
|
+
ORDER BY c.conname
|
554
|
+
[0m
|
555
|
+
[1m[35m (1.8ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
556
|
+
FROM pg_constraint c
|
557
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
558
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
559
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
560
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
561
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
562
|
+
WHERE c.contype = 'f'
|
563
|
+
AND t1.relname = 'in_person_advice_methods'
|
564
|
+
AND t3.nspname = ANY (current_schemas(false))
|
565
|
+
ORDER BY c.conname
|
566
|
+
|
567
|
+
[1m[36m (1.6ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
568
|
+
FROM pg_constraint c
|
569
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
570
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
571
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
572
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
573
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
574
|
+
WHERE c.contype = 'f'
|
575
|
+
AND t1.relname = 'initial_advice_fee_structures'
|
576
|
+
AND t3.nspname = ANY (current_schemas(false))
|
577
|
+
ORDER BY c.conname
|
578
|
+
[0m
|
579
|
+
[1m[35m (2.5ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
580
|
+
FROM pg_constraint c
|
581
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
582
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
583
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
584
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
585
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
586
|
+
WHERE c.contype = 'f'
|
587
|
+
AND t1.relname = 'initial_meeting_durations'
|
588
|
+
AND t3.nspname = ANY (current_schemas(false))
|
589
|
+
ORDER BY c.conname
|
590
|
+
|
591
|
+
[1m[36m (1.6ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
592
|
+
FROM pg_constraint c
|
593
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
594
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
595
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
596
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
597
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
598
|
+
WHERE c.contype = 'f'
|
599
|
+
AND t1.relname = 'investment_sizes'
|
600
|
+
AND t3.nspname = ANY (current_schemas(false))
|
601
|
+
ORDER BY c.conname
|
602
|
+
[0m
|
603
|
+
[1m[35m (1.6ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
604
|
+
FROM pg_constraint c
|
605
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
606
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
607
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
608
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
609
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
610
|
+
WHERE c.contype = 'f'
|
611
|
+
AND t1.relname = 'lookup_advisers'
|
612
|
+
AND t3.nspname = ANY (current_schemas(false))
|
613
|
+
ORDER BY c.conname
|
614
|
+
|
615
|
+
[1m[36m (1.6ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
616
|
+
FROM pg_constraint c
|
617
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
618
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
619
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
620
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
621
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
622
|
+
WHERE c.contype = 'f'
|
623
|
+
AND t1.relname = 'lookup_firms'
|
624
|
+
AND t3.nspname = ANY (current_schemas(false))
|
625
|
+
ORDER BY c.conname
|
626
|
+
[0m
|
627
|
+
[1m[35m (1.6ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
628
|
+
FROM pg_constraint c
|
629
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
630
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
631
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
632
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
633
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
634
|
+
WHERE c.contype = 'f'
|
635
|
+
AND t1.relname = 'lookup_subsidiaries'
|
636
|
+
AND t3.nspname = ANY (current_schemas(false))
|
637
|
+
ORDER BY c.conname
|
638
|
+
|
639
|
+
[1m[36m (1.6ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
640
|
+
FROM pg_constraint c
|
641
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
642
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
643
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
644
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
645
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
646
|
+
WHERE c.contype = 'f'
|
647
|
+
AND t1.relname = 'offices'
|
648
|
+
AND t3.nspname = ANY (current_schemas(false))
|
649
|
+
ORDER BY c.conname
|
650
|
+
[0m
|
651
|
+
[1m[35m (1.6ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
652
|
+
FROM pg_constraint c
|
653
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
654
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
655
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
656
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
657
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
658
|
+
WHERE c.contype = 'f'
|
659
|
+
AND t1.relname = 'ongoing_advice_fee_structures'
|
660
|
+
AND t3.nspname = ANY (current_schemas(false))
|
661
|
+
ORDER BY c.conname
|
662
|
+
|
663
|
+
[1m[36m (1.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
664
|
+
FROM pg_constraint c
|
665
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
666
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
667
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
668
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
669
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
670
|
+
WHERE c.contype = 'f'
|
671
|
+
AND t1.relname = 'other_advice_methods'
|
672
|
+
AND t3.nspname = ANY (current_schemas(false))
|
673
|
+
ORDER BY c.conname
|
674
|
+
[0m
|
675
|
+
[1m[35m (1.6ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
676
|
+
FROM pg_constraint c
|
677
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
678
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
679
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
680
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
681
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
682
|
+
WHERE c.contype = 'f'
|
683
|
+
AND t1.relname = 'principals'
|
684
|
+
AND t3.nspname = ANY (current_schemas(false))
|
685
|
+
ORDER BY c.conname
|
686
|
+
|
687
|
+
[1m[36m (1.6ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
688
|
+
FROM pg_constraint c
|
689
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
690
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
691
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
692
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
693
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
694
|
+
WHERE c.contype = 'f'
|
695
|
+
AND t1.relname = 'professional_bodies'
|
696
|
+
AND t3.nspname = ANY (current_schemas(false))
|
697
|
+
ORDER BY c.conname
|
698
|
+
[0m
|
699
|
+
[1m[35m (1.6ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
700
|
+
FROM pg_constraint c
|
701
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
702
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
703
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
704
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
705
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
706
|
+
WHERE c.contype = 'f'
|
707
|
+
AND t1.relname = 'professional_standings'
|
708
|
+
AND t3.nspname = ANY (current_schemas(false))
|
709
|
+
ORDER BY c.conname
|
710
|
+
|
711
|
+
[1m[36m (1.6ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
712
|
+
FROM pg_constraint c
|
713
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
714
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
715
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
716
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
717
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
718
|
+
WHERE c.contype = 'f'
|
719
|
+
AND t1.relname = 'qualifications'
|
720
|
+
AND t3.nspname = ANY (current_schemas(false))
|
721
|
+
ORDER BY c.conname
|
722
|
+
[0m
|
723
|
+
[1m[35m (1.5ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
724
|
+
FROM pg_constraint c
|
725
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
726
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
727
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
728
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
729
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
730
|
+
WHERE c.contype = 'f'
|
731
|
+
AND t1.relname = 'rad_consumer_sessions'
|
732
|
+
AND t3.nspname = ANY (current_schemas(false))
|
733
|
+
ORDER BY c.conname
|
734
|
+
|
735
|
+
[1m[36m (1.4ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
736
|
+
FROM pg_constraint c
|
737
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
738
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
739
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
740
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
741
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
742
|
+
WHERE c.contype = 'f'
|
743
|
+
AND t1.relname = 'snapshots'
|
744
|
+
AND t3.nspname = ANY (current_schemas(false))
|
745
|
+
ORDER BY c.conname
|
746
|
+
[0m
|
747
|
+
[1m[36mSQL (41.1ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
748
|
+
[1m[35m (4.9ms)[0m DROP TABLE "accreditations" CASCADE
|
749
|
+
[1m[36m (5.0ms)[0m [1mCREATE TABLE "accreditations" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL) [0m
|
750
|
+
[1m[35m (0.8ms)[0m DROP TABLE "accreditations_advisers" CASCADE
|
751
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "accreditations_advisers" ("adviser_id" integer NOT NULL, "accreditation_id" integer NOT NULL) [0m
|
752
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "advisers_accreditations_index" ON "accreditations_advisers" USING btree ("adviser_id", "accreditation_id")
|
753
|
+
[1m[36m (1.5ms)[0m [1mDROP TABLE "advisers" CASCADE[0m
|
754
|
+
[1m[35m (4.4ms)[0m CREATE TABLE "advisers" ("id" serial primary key, "reference_number" character varying NOT NULL, "name" character varying NOT NULL, "firm_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "postcode" character varying DEFAULT '' NOT NULL, "travel_distance" integer DEFAULT 0 NOT NULL, "latitude" float, "longitude" float, "bypass_reference_number_check" boolean DEFAULT 'f')
|
755
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "advisers_professional_bodies" CASCADE[0m
|
756
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "advisers_professional_bodies" ("adviser_id" integer NOT NULL, "professional_body_id" integer NOT NULL)
|
757
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "advisers_professional_bodies_index" ON "advisers_professional_bodies" USING btree ("adviser_id", "professional_body_id")[0m
|
758
|
+
[1m[35m (0.7ms)[0m DROP TABLE "advisers_professional_standings" CASCADE
|
759
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "advisers_professional_standings" ("adviser_id" integer NOT NULL, "professional_standing_id" integer NOT NULL) [0m
|
760
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "advisers_professional_standings_index" ON "advisers_professional_standings" USING btree ("adviser_id", "professional_standing_id")
|
761
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "advisers_qualifications" CASCADE[0m
|
762
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "advisers_qualifications" ("adviser_id" integer NOT NULL, "qualification_id" integer NOT NULL)
|
763
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "advisers_qualifications_index" ON "advisers_qualifications" USING btree ("adviser_id", "qualification_id")[0m
|
764
|
+
[1m[35m (1.3ms)[0m DROP TABLE "allowed_payment_methods" CASCADE
|
765
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "allowed_payment_methods" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL) [0m
|
766
|
+
[1m[35m (0.7ms)[0m DROP TABLE "allowed_payment_methods_firms" CASCADE
|
767
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "allowed_payment_methods_firms" ("firm_id" integer NOT NULL, "allowed_payment_method_id" integer NOT NULL) [0m
|
768
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "firms_allowed_payment_methods_index" ON "allowed_payment_methods_firms" USING btree ("firm_id", "allowed_payment_method_id")
|
769
|
+
[1m[36m (2.3ms)[0m [1mDROP TABLE "firms" CASCADE[0m
|
770
|
+
[1m[35m (3.1ms)[0m CREATE TABLE "firms" ("id" serial primary key, "fca_number" integer NOT NULL, "registered_name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "free_initial_meeting" boolean, "initial_meeting_duration_id" integer, "minimum_fixed_fee" integer DEFAULT 0, "parent_id" integer, "retirement_income_products_flag" boolean DEFAULT 'f' NOT NULL, "pension_transfer_flag" boolean DEFAULT 'f' NOT NULL, "long_term_care_flag" boolean DEFAULT 'f' NOT NULL, "equity_release_flag" boolean DEFAULT 'f' NOT NULL, "inheritance_tax_and_estate_planning_flag" boolean DEFAULT 'f' NOT NULL, "wills_and_probate_flag" boolean DEFAULT 'f' NOT NULL, "website_address" character varying, "ethical_investing_flag" boolean DEFAULT 'f' NOT NULL, "sharia_investing_flag" boolean DEFAULT 'f' NOT NULL, "languages" text[] DEFAULT '{}' NOT NULL, "status" integer, "workplace_financial_advice_flag" boolean DEFAULT 'f' NOT NULL, "non_uk_residents_flag" boolean DEFAULT 'f' NOT NULL)
|
771
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_firms_on_initial_meeting_duration_id" ON "firms" USING btree ("initial_meeting_duration_id")[0m
|
772
|
+
[1m[35m (0.7ms)[0m DROP TABLE "firms_in_person_advice_methods" CASCADE
|
773
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "firms_in_person_advice_methods" ("firm_id" integer NOT NULL, "in_person_advice_method_id" integer NOT NULL) [0m
|
774
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "firms_in_person_advice_methods_index" ON "firms_in_person_advice_methods" USING btree ("firm_id", "in_person_advice_method_id")
|
775
|
+
[1m[36m (1.1ms)[0m [1mDROP TABLE "firms_initial_advice_fee_structures" CASCADE[0m
|
776
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "firms_initial_advice_fee_structures" ("firm_id" integer NOT NULL, "initial_advice_fee_structure_id" integer NOT NULL)
|
777
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "firms_initial_advice_fee_structures_index" ON "firms_initial_advice_fee_structures" USING btree ("firm_id", "initial_advice_fee_structure_id")[0m
|
778
|
+
[1m[35m (0.6ms)[0m DROP TABLE "firms_investment_sizes" CASCADE
|
779
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "firms_investment_sizes" ("firm_id" integer NOT NULL, "investment_size_id" integer NOT NULL) [0m
|
780
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "firms_investment_sizes_index" ON "firms_investment_sizes" USING btree ("firm_id", "investment_size_id")
|
781
|
+
[1m[36m (1.1ms)[0m [1mDROP TABLE "firms_ongoing_advice_fee_structures" CASCADE[0m
|
782
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "firms_ongoing_advice_fee_structures" ("firm_id" integer NOT NULL, "ongoing_advice_fee_structure_id" integer NOT NULL)
|
783
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "firms_ongoing_advice_fee_structures_index" ON "firms_ongoing_advice_fee_structures" USING btree ("firm_id", "ongoing_advice_fee_structure_id")[0m
|
784
|
+
[1m[35m (0.7ms)[0m DROP TABLE "firms_other_advice_methods" CASCADE
|
785
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "firms_other_advice_methods" ("firm_id" integer NOT NULL, "other_advice_method_id" integer NOT NULL) [0m
|
786
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "firms_other_advice_methods_index" ON "firms_other_advice_methods" USING btree ("firm_id", "other_advice_method_id")
|
787
|
+
[1m[36m (1.8ms)[0m [1mDROP TABLE "in_person_advice_methods" CASCADE[0m
|
788
|
+
[1m[35m (2.3ms)[0m CREATE TABLE "in_person_advice_methods" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL)
|
789
|
+
[1m[36m (1.2ms)[0m [1mDROP TABLE "initial_advice_fee_structures" CASCADE[0m
|
790
|
+
[1m[35m (2.4ms)[0m CREATE TABLE "initial_advice_fee_structures" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL)
|
791
|
+
[1m[36m (1.2ms)[0m [1mDROP TABLE "initial_meeting_durations" CASCADE[0m
|
792
|
+
[1m[35m (2.4ms)[0m CREATE TABLE "initial_meeting_durations" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL)
|
793
|
+
[1m[36m (1.3ms)[0m [1mDROP TABLE "investment_sizes" CASCADE[0m
|
794
|
+
[1m[35m (2.5ms)[0m CREATE TABLE "investment_sizes" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL, "cy_name" character varying)
|
795
|
+
[1m[36m (1.5ms)[0m [1mDROP TABLE "lookup_advisers" CASCADE[0m
|
796
|
+
[1m[35m (2.8ms)[0m CREATE TABLE "lookup_advisers" ("id" serial primary key, "reference_number" character varying NOT NULL, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
797
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_lookup_advisers_on_reference_number" ON "lookup_advisers" USING btree ("reference_number")[0m
|
798
|
+
[1m[35m (1.6ms)[0m DROP TABLE "lookup_firms" CASCADE
|
799
|
+
[1m[36m (3.4ms)[0m [1mCREATE TABLE "lookup_firms" ("id" serial primary key, "fca_number" integer NOT NULL, "registered_name" character varying DEFAULT '' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
800
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_lookup_firms_on_fca_number" ON "lookup_firms" USING btree ("fca_number")
|
801
|
+
[1m[36m (1.5ms)[0m [1mDROP TABLE "lookup_subsidiaries" CASCADE[0m
|
802
|
+
[1m[35m (2.6ms)[0m CREATE TABLE "lookup_subsidiaries" ("id" serial primary key, "fca_number" integer NOT NULL, "name" character varying DEFAULT '' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
803
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_lookup_subsidiaries_on_fca_number" ON "lookup_subsidiaries" USING btree ("fca_number")[0m
|
804
|
+
[1m[35m (1.3ms)[0m DROP TABLE "offices" CASCADE
|
805
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "offices" ("id" serial primary key, "address_line_one" character varying NOT NULL, "address_line_two" character varying, "address_town" character varying NOT NULL, "address_county" character varying, "address_postcode" character varying NOT NULL, "email_address" character varying, "telephone_number" character varying, "disabled_access" boolean DEFAULT 'f' NOT NULL, "firm_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "latitude" float, "longitude" float, "website" character varying) [0m
|
806
|
+
[1m[35m (1.4ms)[0m DROP TABLE "ongoing_advice_fee_structures" CASCADE
|
807
|
+
[1m[36m (2.9ms)[0m [1mCREATE TABLE "ongoing_advice_fee_structures" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL) [0m
|
808
|
+
[1m[35m (1.4ms)[0m DROP TABLE "other_advice_methods" CASCADE
|
809
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "other_advice_methods" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL, "cy_name" character varying) [0m
|
810
|
+
[1m[35m (1.7ms)[0m DROP TABLE "principals" CASCADE
|
811
|
+
[1m[36m (3.4ms)[0m [1mCREATE TABLE "principals" ("id" serial primary key, "fca_number" integer, "token" character varying, "first_name" character varying, "last_name" character varying, "job_title" character varying, "email_address" character varying, "telephone_number" character varying, "confirmed_disclaimer" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp) [0m
|
812
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_principals_on_fca_number" ON "principals" USING btree ("fca_number")
|
813
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_principals_on_token" ON "principals" USING btree ("token")[0m
|
814
|
+
[1m[35m (1.2ms)[0m DROP TABLE "professional_bodies" CASCADE
|
815
|
+
[1m[36m (3.0ms)[0m [1mCREATE TABLE "professional_bodies" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL) [0m
|
816
|
+
[1m[35m (2.0ms)[0m DROP TABLE "professional_standings" CASCADE
|
817
|
+
[1m[36m (3.0ms)[0m [1mCREATE TABLE "professional_standings" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL) [0m
|
818
|
+
[1m[35m (1.4ms)[0m DROP TABLE "qualifications" CASCADE
|
819
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "qualifications" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL) [0m
|
820
|
+
[1m[35m (1.6ms)[0m DROP TABLE "rad_consumer_sessions" CASCADE
|
821
|
+
[1m[36m (2.4ms)[0m [1mCREATE TABLE "rad_consumer_sessions" ("id" serial primary key, "session_id" character varying NOT NULL, "data" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
822
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_rad_consumer_sessions_on_session_id" ON "rad_consumer_sessions" USING btree ("session_id")
|
823
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_rad_consumer_sessions_on_updated_at" ON "rad_consumer_sessions" USING btree ("updated_at")[0m
|
824
|
+
[1m[35m (1.3ms)[0m DROP TABLE "snapshots" CASCADE
|
825
|
+
[1m[36m (2.4ms)[0m [1mCREATE TABLE "snapshots" ("id" serial primary key, "firms_with_no_minimum_fee" integer, "integer" integer, "firms_with_min_fee_between_1_500" integer, "firms_with_min_fee_between_501_1000" integer, "firms_any_pot_size" integer, "firms_any_pot_size_min_fee_less_than_500" integer, "registered_firms" integer, "published_firms" integer, "firms_offering_face_to_face_advice" integer, "firms_offering_remote_advice" integer, "firms_in_england" integer, "firms_in_scotland" integer, "firms_in_wales" integer, "firms_in_northern_ireland" integer, "firms_providing_retirement_income_products" integer, "firms_providing_pension_transfer" integer, "firms_providing_long_term_care" integer, "firms_providing_equity_release" integer, "firms_providing_inheritance_tax_and_estate_planning" integer, "firms_providing_wills_and_probate" integer, "firms_providing_ethical_investing" integer, "firms_providing_sharia_investing" integer, "firms_offering_languages_other_than_english" integer, "offices_with_disabled_access" integer, "registered_advisers" integer, "advisers_in_england" integer, "advisers_in_scotland" integer, "advisers_in_wales" integer, "advisers_in_northern_ireland" integer, "advisers_who_travel_5_miles" integer, "advisers_who_travel_10_miles" integer, "advisers_who_travel_25_miles" integer, "advisers_who_travel_50_miles" integer, "advisers_who_travel_100_miles" integer, "advisers_who_travel_150_miles" integer, "advisers_who_travel_200_miles" integer, "advisers_who_travel_250_miles" integer, "advisers_who_travel_uk_wide" integer, "advisers_accredited_in_solla" integer, "advisers_accredited_in_later_life_academy" integer, "advisers_accredited_in_iso22222" integer, "advisers_accredited_in_bs8577" integer, "advisers_with_qualification_in_level_4" integer, "advisers_with_qualification_in_level_6" integer, "advisers_with_qualification_in_chartered_financial_planner" integer, "advisers_with_qualification_in_certified_financial_planner" integer, "advisers_with_qualification_in_pension_transfer" integer, "advisers_with_qualification_in_equity_release" integer, "advisers_with_qualification_in_long_term_care_planning" integer, "advisers_with_qualification_in_tep" integer, "advisers_with_qualification_in_fcii" integer, "advisers_part_of_personal_finance_society" integer, "advisers_part_of_institute_financial_planning" integer, "advisers_part_of_institute_financial_services" integer, "advisers_part_of_ci_bankers_scotland" integer, "advisers_part_of_ci_securities_and_investments" integer, "advisers_part_of_cfa_institute" integer, "advisers_part_of_chartered_accountants" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "firms_providing_workplace_financial_advice" integer DEFAULT 0, "firms_providing_non_uk_residents" integer DEFAULT 0) [0m
|
826
|
+
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
827
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
828
|
+
[1m[35m (4.7ms)[0m CREATE TABLE "accreditations" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL)
|
829
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "accreditations_advisers" ("adviser_id" integer NOT NULL, "accreditation_id" integer NOT NULL) [0m
|
830
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "advisers_accreditations_index" ON "accreditations_advisers" USING btree ("adviser_id", "accreditation_id")
|
831
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "advisers" ("id" serial primary key, "reference_number" character varying NOT NULL, "name" character varying NOT NULL, "firm_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "postcode" character varying DEFAULT '' NOT NULL, "travel_distance" integer DEFAULT 0 NOT NULL, "latitude" float, "longitude" float, "bypass_reference_number_check" boolean DEFAULT 'f') [0m
|
832
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "advisers_professional_bodies" ("adviser_id" integer NOT NULL, "professional_body_id" integer NOT NULL)
|
833
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "advisers_professional_bodies_index" ON "advisers_professional_bodies" USING btree ("adviser_id", "professional_body_id")[0m
|
834
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "advisers_professional_standings" ("adviser_id" integer NOT NULL, "professional_standing_id" integer NOT NULL)
|
835
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "advisers_professional_standings_index" ON "advisers_professional_standings" USING btree ("adviser_id", "professional_standing_id")[0m
|
836
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "advisers_qualifications" ("adviser_id" integer NOT NULL, "qualification_id" integer NOT NULL)
|
837
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "advisers_qualifications_index" ON "advisers_qualifications" USING btree ("adviser_id", "qualification_id")[0m
|
838
|
+
[1m[35m (2.7ms)[0m CREATE TABLE "allowed_payment_methods" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL)
|
839
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "allowed_payment_methods_firms" ("firm_id" integer NOT NULL, "allowed_payment_method_id" integer NOT NULL) [0m
|
840
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "firms_allowed_payment_methods_index" ON "allowed_payment_methods_firms" USING btree ("firm_id", "allowed_payment_method_id")
|
841
|
+
[1m[36m (3.8ms)[0m [1mCREATE TABLE "firms" ("id" serial primary key, "fca_number" integer NOT NULL, "registered_name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "free_initial_meeting" boolean, "initial_meeting_duration_id" integer, "minimum_fixed_fee" integer DEFAULT 0, "parent_id" integer, "retirement_income_products_flag" boolean DEFAULT 'f' NOT NULL, "pension_transfer_flag" boolean DEFAULT 'f' NOT NULL, "long_term_care_flag" boolean DEFAULT 'f' NOT NULL, "equity_release_flag" boolean DEFAULT 'f' NOT NULL, "inheritance_tax_and_estate_planning_flag" boolean DEFAULT 'f' NOT NULL, "wills_and_probate_flag" boolean DEFAULT 'f' NOT NULL, "website_address" character varying, "ethical_investing_flag" boolean DEFAULT 'f' NOT NULL, "sharia_investing_flag" boolean DEFAULT 'f' NOT NULL, "languages" text[] DEFAULT '{}' NOT NULL, "status" integer, "workplace_financial_advice_flag" boolean DEFAULT 'f' NOT NULL, "non_uk_residents_flag" boolean DEFAULT 'f' NOT NULL) [0m
|
842
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_firms_on_initial_meeting_duration_id" ON "firms" USING btree ("initial_meeting_duration_id")
|
843
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "firms_in_person_advice_methods" ("firm_id" integer NOT NULL, "in_person_advice_method_id" integer NOT NULL) [0m
|
844
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "firms_in_person_advice_methods_index" ON "firms_in_person_advice_methods" USING btree ("firm_id", "in_person_advice_method_id")
|
845
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "firms_initial_advice_fee_structures" ("firm_id" integer NOT NULL, "initial_advice_fee_structure_id" integer NOT NULL) [0m
|
846
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "firms_initial_advice_fee_structures_index" ON "firms_initial_advice_fee_structures" USING btree ("firm_id", "initial_advice_fee_structure_id")
|
847
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "firms_investment_sizes" ("firm_id" integer NOT NULL, "investment_size_id" integer NOT NULL) [0m
|
848
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "firms_investment_sizes_index" ON "firms_investment_sizes" USING btree ("firm_id", "investment_size_id")
|
849
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "firms_ongoing_advice_fee_structures" ("firm_id" integer NOT NULL, "ongoing_advice_fee_structure_id" integer NOT NULL) [0m
|
850
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "firms_ongoing_advice_fee_structures_index" ON "firms_ongoing_advice_fee_structures" USING btree ("firm_id", "ongoing_advice_fee_structure_id")
|
851
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "firms_other_advice_methods" ("firm_id" integer NOT NULL, "other_advice_method_id" integer NOT NULL) [0m
|
852
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "firms_other_advice_methods_index" ON "firms_other_advice_methods" USING btree ("firm_id", "other_advice_method_id")
|
853
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "in_person_advice_methods" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL) [0m
|
854
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "initial_advice_fee_structures" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL)
|
855
|
+
[1m[36m (2.4ms)[0m [1mCREATE TABLE "initial_meeting_durations" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL) [0m
|
856
|
+
[1m[35m (2.7ms)[0m CREATE TABLE "investment_sizes" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL, "cy_name" character varying)
|
857
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "lookup_advisers" ("id" serial primary key, "reference_number" character varying NOT NULL, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
858
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_lookup_advisers_on_reference_number" ON "lookup_advisers" USING btree ("reference_number")
|
859
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "lookup_firms" ("id" serial primary key, "fca_number" integer NOT NULL, "registered_name" character varying DEFAULT '' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
860
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_lookup_firms_on_fca_number" ON "lookup_firms" USING btree ("fca_number")
|
861
|
+
[1m[36m (2.9ms)[0m [1mCREATE TABLE "lookup_subsidiaries" ("id" serial primary key, "fca_number" integer NOT NULL, "name" character varying DEFAULT '' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
862
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_lookup_subsidiaries_on_fca_number" ON "lookup_subsidiaries" USING btree ("fca_number")
|
863
|
+
[1m[36m (3.5ms)[0m [1mCREATE TABLE "offices" ("id" serial primary key, "address_line_one" character varying NOT NULL, "address_line_two" character varying, "address_town" character varying NOT NULL, "address_county" character varying, "address_postcode" character varying NOT NULL, "email_address" character varying, "telephone_number" character varying, "disabled_access" boolean DEFAULT 'f' NOT NULL, "firm_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "latitude" float, "longitude" float, "website" character varying) [0m
|
864
|
+
[1m[35m (2.4ms)[0m CREATE TABLE "ongoing_advice_fee_structures" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL)
|
865
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "other_advice_methods" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL, "cy_name" character varying) [0m
|
866
|
+
[1m[35m (2.6ms)[0m CREATE TABLE "principals" ("id" serial primary key, "fca_number" integer, "token" character varying, "first_name" character varying, "last_name" character varying, "job_title" character varying, "email_address" character varying, "telephone_number" character varying, "confirmed_disclaimer" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
867
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_principals_on_fca_number" ON "principals" USING btree ("fca_number")[0m
|
868
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_principals_on_token" ON "principals" USING btree ("token")
|
869
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "professional_bodies" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL) [0m
|
870
|
+
[1m[35m (2.5ms)[0m CREATE TABLE "professional_standings" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL)
|
871
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "qualifications" ("id" serial primary key, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "order" integer DEFAULT 0 NOT NULL) [0m
|
872
|
+
[1m[35m (3.1ms)[0m CREATE TABLE "rad_consumer_sessions" ("id" serial primary key, "session_id" character varying NOT NULL, "data" text, "created_at" timestamp, "updated_at" timestamp)
|
873
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_rad_consumer_sessions_on_session_id" ON "rad_consumer_sessions" USING btree ("session_id")[0m
|
874
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_rad_consumer_sessions_on_updated_at" ON "rad_consumer_sessions" USING btree ("updated_at")
|
875
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "snapshots" ("id" serial primary key, "firms_with_no_minimum_fee" integer, "integer" integer, "firms_with_min_fee_between_1_500" integer, "firms_with_min_fee_between_501_1000" integer, "firms_any_pot_size" integer, "firms_any_pot_size_min_fee_less_than_500" integer, "registered_firms" integer, "published_firms" integer, "firms_offering_face_to_face_advice" integer, "firms_offering_remote_advice" integer, "firms_in_england" integer, "firms_in_scotland" integer, "firms_in_wales" integer, "firms_in_northern_ireland" integer, "firms_providing_retirement_income_products" integer, "firms_providing_pension_transfer" integer, "firms_providing_long_term_care" integer, "firms_providing_equity_release" integer, "firms_providing_inheritance_tax_and_estate_planning" integer, "firms_providing_wills_and_probate" integer, "firms_providing_ethical_investing" integer, "firms_providing_sharia_investing" integer, "firms_offering_languages_other_than_english" integer, "offices_with_disabled_access" integer, "registered_advisers" integer, "advisers_in_england" integer, "advisers_in_scotland" integer, "advisers_in_wales" integer, "advisers_in_northern_ireland" integer, "advisers_who_travel_5_miles" integer, "advisers_who_travel_10_miles" integer, "advisers_who_travel_25_miles" integer, "advisers_who_travel_50_miles" integer, "advisers_who_travel_100_miles" integer, "advisers_who_travel_150_miles" integer, "advisers_who_travel_200_miles" integer, "advisers_who_travel_250_miles" integer, "advisers_who_travel_uk_wide" integer, "advisers_accredited_in_solla" integer, "advisers_accredited_in_later_life_academy" integer, "advisers_accredited_in_iso22222" integer, "advisers_accredited_in_bs8577" integer, "advisers_with_qualification_in_level_4" integer, "advisers_with_qualification_in_level_6" integer, "advisers_with_qualification_in_chartered_financial_planner" integer, "advisers_with_qualification_in_certified_financial_planner" integer, "advisers_with_qualification_in_pension_transfer" integer, "advisers_with_qualification_in_equity_release" integer, "advisers_with_qualification_in_long_term_care_planning" integer, "advisers_with_qualification_in_tep" integer, "advisers_with_qualification_in_fcii" integer, "advisers_part_of_personal_finance_society" integer, "advisers_part_of_institute_financial_planning" integer, "advisers_part_of_institute_financial_services" integer, "advisers_part_of_ci_bankers_scotland" integer, "advisers_part_of_ci_securities_and_investments" integer, "advisers_part_of_cfa_institute" integer, "advisers_part_of_chartered_accountants" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "firms_providing_workplace_financial_advice" integer DEFAULT 0, "firms_providing_non_uk_residents" integer DEFAULT 0) [0m
|
876
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
877
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
878
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
879
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20161216141323')[0m
|
880
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151111132037')
|
881
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141211110031')[0m
|
882
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160329110348')
|
883
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150115130949')[0m
|
884
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141221140208')
|
885
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160325155550')[0m
|
886
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150630143001')
|
887
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150806143047')[0m
|
888
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160329105636')
|
889
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150209144836')[0m
|
890
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150222092417')
|
891
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150807134551')[0m
|
892
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150228095315')
|
893
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151102113518')[0m
|
894
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150114151447')
|
895
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150121154458')[0m
|
896
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160222091312')
|
897
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150120141928')[0m
|
898
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150127084858')
|
899
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150210113610')[0m
|
900
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150120150738')
|
901
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150121181341')[0m
|
902
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150119102735')
|
903
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160328130032')[0m
|
904
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160205150033')
|
905
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150119152325')[0m
|
906
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150114144343')
|
907
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150124124350')[0m
|
908
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150119114218')
|
909
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141230112136')[0m
|
910
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160211161127')
|
911
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150716123032')[0m
|
912
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150121110757')
|
913
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150812140642')[0m
|
914
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150305150719')
|
915
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150706102943')[0m
|
916
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151103161642')
|
917
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150825090822')[0m
|
918
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150121134845')
|
919
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150125145457')[0m
|
920
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150106115732')
|
921
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160317103053')[0m
|
922
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150119152336')
|
923
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150120133717')[0m
|
924
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150119125208')
|
925
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150423154732')[0m
|
926
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150930140851')
|
927
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150813103046')[0m
|
928
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150121173015')
|
929
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150119111754')[0m
|
930
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150817141257')
|
931
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141222150416')[0m
|
932
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150121123437')
|
933
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150121183728')[0m
|
934
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150125164156')
|