social_networking 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9f4f69260dc950485f417215ec768ac263a9964
|
4
|
+
data.tar.gz: 10bc4bef7fd1224d8268fb0b425161d8c4f77314
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd8f94cd86e1a7b5257c7b652a1011ab56324c6f3eb1c170ffa7669463a8ac7745768ac1d8019ba8e097b783c1254161e8b6d3347b5b9c382b2cfadf10f150a5
|
7
|
+
data.tar.gz: 0d0662141384b23b51eb56762dec9c059830b592e1315761558176c2646149cb2b5fea0488b4bfe0ad6990eb542d5b151fad8ce86d5495c4255c8babfce9b2b9
|
@@ -15,34 +15,27 @@ module SocialNetworking
|
|
15
15
|
page: page).page_items
|
16
16
|
end
|
17
17
|
|
18
|
-
describe "when feed items exist" do
|
18
|
+
describe "when 12 feed items exist" do
|
19
19
|
before do
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
{ createdAtRaw: "" },
|
30
|
-
{ createdAtRaw: "" }
|
31
|
-
])
|
32
|
-
allow(Serializers::SharedItemSerializer)
|
33
|
-
.to receive(:from_collection)
|
34
|
-
.and_return([
|
35
|
-
{ createdAtRaw: "" },
|
36
|
-
{ createdAtRaw: "" }
|
37
|
-
])
|
20
|
+
%w(
|
21
|
+
NudgeSerializer
|
22
|
+
OnTheMindStatementSerializer
|
23
|
+
SharedItemSerializer
|
24
|
+
).each do |klass|
|
25
|
+
allow("SocialNetworking::Serializers::#{klass}".constantize)
|
26
|
+
.to receive(:from_collection)
|
27
|
+
.and_return([{ createdAtRaw: "" }] * 4)
|
28
|
+
end
|
38
29
|
end
|
39
30
|
|
40
|
-
it "returns
|
41
|
-
expect(items(0).count)
|
31
|
+
it "returns 10 items on first request" do
|
32
|
+
expect(items(0).count)
|
33
|
+
.to eq 10
|
42
34
|
end
|
43
35
|
|
44
|
-
it "returns the next item(s) on second request" do
|
45
|
-
expect(items(1).count)
|
36
|
+
it "returns the next 2 item(s) on second request" do
|
37
|
+
expect(items(1).count)
|
38
|
+
.to eq 2
|
46
39
|
end
|
47
40
|
end
|
48
41
|
|
data/spec/dummy/log/test.log
CHANGED
@@ -205030,3 +205030,484 @@ Processing by SocialNetworking::SharedItemController#hide as HTML
|
|
205030
205030
|
Rendered text template (0.0ms)
|
205031
205031
|
Completed 202 Accepted in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)
|
205032
205032
|
[1m[35m (0.2ms)[0m ROLLBACK
|
205033
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205034
|
+
[1m[35m (2.2ms)[0m ROLLBACK
|
205035
|
+
[1m[36m (3.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
205036
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
205037
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
205038
|
+
Migrating to CreateParticipants (1)
|
205039
|
+
[1m[35m (0.1ms)[0m BEGIN
|
205040
|
+
[1m[36m (20.6ms)[0m [1mCREATE TABLE "participants" ("id" serial primary key, "email" character varying) [0m
|
205041
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "1"]]
|
205042
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
205043
|
+
Migrating to AddParticipantFields (2)
|
205044
|
+
[1m[35m (6.0ms)[0m BEGIN
|
205045
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "participants" ADD "phone_number" character varying[0m
|
205046
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "participants" ADD "contact_preference" character varying
|
205047
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "2"]]
|
205048
|
+
[1m[35m (6.1ms)[0m COMMIT
|
205049
|
+
Migrating to CreateArms (3)
|
205050
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205051
|
+
[1m[35m (14.5ms)[0m CREATE TABLE "arms" ("id" serial primary key, "title" character varying DEFAULT '', "is_social" boolean DEFAULT 'f')
|
205052
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "3"]]
|
205053
|
+
[1m[35m (6.2ms)[0m COMMIT
|
205054
|
+
Migrating to AddNullFalseToArms (5)
|
205055
|
+
[1m[36m (6.8ms)[0m [1mBEGIN[0m
|
205056
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "arms" ALTER "title" SET NOT NULL
|
205057
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "arms" ALTER "is_social" SET NOT NULL[0m
|
205058
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "5"]]
|
205059
|
+
[1m[36m (6.1ms)[0m [1mCOMMIT[0m
|
205060
|
+
Migrating to AddHasWozToArm (6)
|
205061
|
+
[1m[35m (0.2ms)[0m BEGIN
|
205062
|
+
[1m[36m (15.8ms)[0m [1mALTER TABLE "arms" ADD "has_woz" boolean DEFAULT 'f'[0m
|
205063
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "6"]]
|
205064
|
+
[1m[36m (6.6ms)[0m [1mCOMMIT[0m
|
205065
|
+
Migrating to AddStudyidToParticipant (8)
|
205066
|
+
[1m[35m (0.2ms)[0m BEGIN
|
205067
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "participants" ADD "study_id" character varying[0m
|
205068
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "8"]]
|
205069
|
+
[1m[36m (5.6ms)[0m [1mCOMMIT[0m
|
205070
|
+
Migrating to CreateSocialNetworkingNudges (20140827154926)
|
205071
|
+
[1m[35m (0.2ms)[0m BEGIN
|
205072
|
+
[1m[36m (8.1ms)[0m [1mCREATE TABLE "social_networking_nudges" ("id" serial primary key, "initiator_id" integer NOT NULL, "recipient_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
205073
|
+
[1m[35m (1.8ms)[0m ALTER TABLE social_networking_nudges
|
205074
|
+
ADD CONSTRAINT fk_nudges_initiators
|
205075
|
+
FOREIGN KEY (initiator_id)
|
205076
|
+
REFERENCES participants(id)
|
205077
|
+
|
205078
|
+
[1m[36m (0.8ms)[0m [1m ALTER TABLE social_networking_nudges
|
205079
|
+
ADD CONSTRAINT fk_nudges_recipients
|
205080
|
+
FOREIGN KEY (recipient_id)
|
205081
|
+
REFERENCES participants(id)
|
205082
|
+
[0m
|
205083
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154926"]]
|
205084
|
+
[1m[36m (6.3ms)[0m [1mCOMMIT[0m
|
205085
|
+
Migrating to CreateSocialNetworkingLikes (20140827154939)
|
205086
|
+
[1m[35m (5.9ms)[0m BEGIN
|
205087
|
+
[1m[36m (15.7ms)[0m [1mCREATE TABLE "social_networking_likes" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
205088
|
+
[1m[35m (2.6ms)[0m ALTER TABLE social_networking_likes
|
205089
|
+
ADD CONSTRAINT fk_likes_participants
|
205090
|
+
FOREIGN KEY (participant_id)
|
205091
|
+
REFERENCES participants(id)
|
205092
|
+
|
205093
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140827154939"]]
|
205094
|
+
[1m[35m (0.6ms)[0m COMMIT
|
205095
|
+
Migrating to CreateSocialNetworkingComments (20140827154953)
|
205096
|
+
[1m[36m (5.7ms)[0m [1mBEGIN[0m
|
205097
|
+
[1m[35m (14.5ms)[0m CREATE TABLE "social_networking_comments" ("id" serial primary key, "participant_id" integer NOT NULL, "text" character varying NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
205098
|
+
[1m[36m (1.1ms)[0m [1m ALTER TABLE social_networking_comments
|
205099
|
+
ADD CONSTRAINT fk_comments_participants
|
205100
|
+
FOREIGN KEY (participant_id)
|
205101
|
+
REFERENCES participants(id)
|
205102
|
+
[0m
|
205103
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140827154953"]]
|
205104
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
205105
|
+
Migrating to CreateSocialNetworkingGoals (20140904201719)
|
205106
|
+
[1m[35m (6.0ms)[0m BEGIN
|
205107
|
+
[1m[36m (16.7ms)[0m [1mCREATE TABLE "social_networking_goals" ("id" serial primary key, "description" character varying NOT NULL, "participant_id" integer NOT NULL, "is_completed" boolean DEFAULT 'f' NOT NULL, "is_deleted" boolean DEFAULT 'f' NOT NULL, "due_on" date, "created_at" timestamp, "updated_at" timestamp) [0m
|
205108
|
+
[1m[35m (1.0ms)[0m ALTER TABLE social_networking_goals
|
205109
|
+
ADD CONSTRAINT fk_goals_participants
|
205110
|
+
FOREIGN KEY (participant_id)
|
205111
|
+
REFERENCES participants(id)
|
205112
|
+
|
205113
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140904201719"]]
|
205114
|
+
[1m[35m (0.5ms)[0m COMMIT
|
205115
|
+
Migrating to CreateSocialNetworkingSharedItems (20140910123000)
|
205116
|
+
[1m[36m (5.9ms)[0m [1mBEGIN[0m
|
205117
|
+
[1m[35m (15.1ms)[0m CREATE TABLE "social_networking_shared_items" ("id" serial primary key, "participant_id" integer NOT NULL, "item_id" integer NOT NULL, "item_type" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
205118
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140910123000"]]
|
205119
|
+
[1m[35m (0.6ms)[0m COMMIT
|
205120
|
+
Migrating to CreateSocialNetworkingOnTheMindStatements (20140911193832)
|
205121
|
+
[1m[36m (5.9ms)[0m [1mBEGIN[0m
|
205122
|
+
[1m[35m (16.4ms)[0m CREATE TABLE "social_networking_on_the_mind_statements" ("id" serial primary key, "description" text NOT NULL, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
205123
|
+
[1m[36m (0.9ms)[0m [1m ALTER TABLE social_networking_on_the_mind_statements
|
205124
|
+
ADD CONSTRAINT fk_on_the_mind_participants
|
205125
|
+
FOREIGN KEY (participant_id)
|
205126
|
+
REFERENCES participants(id)
|
205127
|
+
[0m
|
205128
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140911193832"]]
|
205129
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
205130
|
+
Migrating to CreateSocialNetworkingProfiles (20140915185648)
|
205131
|
+
[1m[35m (5.5ms)[0m BEGIN
|
205132
|
+
[1m[36m (7.9ms)[0m [1mCREATE TABLE "social_networking_profiles" ("id" serial primary key, "participant_id" integer NOT NULL, "active" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
205133
|
+
[1m[35m (1.1ms)[0m ALTER TABLE social_networking_profiles
|
205134
|
+
ADD CONSTRAINT fk_profiles_participants
|
205135
|
+
FOREIGN KEY (participant_id)
|
205136
|
+
REFERENCES participants(id)
|
205137
|
+
|
205138
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140915185648"]]
|
205139
|
+
[1m[35m (5.6ms)[0m COMMIT
|
205140
|
+
Migrating to CreateSocialNetworkingProfileQuestions (20140915190627)
|
205141
|
+
[1m[36m (6.0ms)[0m [1mBEGIN[0m
|
205142
|
+
[1m[35m (17.2ms)[0m CREATE TABLE "social_networking_profile_questions" ("id" serial primary key, "order" integer, "allowed_responses" integer DEFAULT 1 NOT NULL, "question_text" character varying NOT NULL, "deleted" boolean NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
205143
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140915190627"]]
|
205144
|
+
[1m[35m (0.5ms)[0m COMMIT
|
205145
|
+
Migrating to CreateSocialNetworkingProfileAnswers (20140915190633)
|
205146
|
+
[1m[36m (6.0ms)[0m [1mBEGIN[0m
|
205147
|
+
[1m[35m (14.2ms)[0m CREATE TABLE "social_networking_profile_answers" ("id" serial primary key, "social_networking_profile_question_id" integer NOT NULL, "order" integer, "answer_text" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
205148
|
+
[1m[36m (1.1ms)[0m [1m ALTER TABLE social_networking_profile_answers
|
205149
|
+
ADD CONSTRAINT fk_profile_answers_profile_questions
|
205150
|
+
FOREIGN KEY (social_networking_profile_question_id)
|
205151
|
+
REFERENCES social_networking_profile_questions(id)
|
205152
|
+
[0m
|
205153
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140915190633"]]
|
205154
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
205155
|
+
Migrating to AddProfileToSocialNetworkingProfileAnswers (20140916163621)
|
205156
|
+
[1m[35m (5.9ms)[0m BEGIN
|
205157
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "social_networking_profile_answers" ADD "social_networking_profile_id" integer[0m
|
205158
|
+
[1m[35m (1.0ms)[0m ALTER TABLE social_networking_profile_answers
|
205159
|
+
ADD CONSTRAINT fk_profile_answers_profiles
|
205160
|
+
FOREIGN KEY (social_networking_profile_id)
|
205161
|
+
REFERENCES social_networking_profiles(id)
|
205162
|
+
|
205163
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140916163621"]]
|
205164
|
+
[1m[35m (6.6ms)[0m COMMIT
|
205165
|
+
Migrating to PopulateProfilesForExistingParticipants (20140917151905)
|
205166
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
205167
|
+
[1m[35mParticipant Load (0.4ms)[0m SELECT "participants".* FROM "participants"
|
205168
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140917151905"]]
|
205169
|
+
[1m[35m (5.9ms)[0m COMMIT
|
205170
|
+
Migrating to AddUniqueConstraintToProfileAnswers (20140930141007)
|
205171
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205172
|
+
[1m[35m (7.3ms)[0m CREATE UNIQUE INDEX "profile_answers_unique" ON "social_networking_profile_answers" ("social_networking_profile_id", "social_networking_profile_question_id")
|
205173
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140930141007"]]
|
205174
|
+
[1m[35m (6.0ms)[0m COMMIT
|
205175
|
+
Migrating to DropParticipantIdFromSharedItems (20141001130941)
|
205176
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
205177
|
+
[1m[35m (7.3ms)[0m ALTER TABLE "social_networking_shared_items" DROP "participant_id"
|
205178
|
+
[1m[36m (14.7ms)[0m [1mALTER TABLE "social_networking_shared_items" ADD "is_public" boolean DEFAULT 't' NOT NULL[0m
|
205179
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001130941"]]
|
205180
|
+
[1m[36m (1.1ms)[0m [1mCOMMIT[0m
|
205181
|
+
Migrating to AddActionTypeToSharedItems (20141003191233)
|
205182
|
+
[1m[35m (0.1ms)[0m BEGIN
|
205183
|
+
[1m[36m (14.4ms)[0m [1mALTER TABLE "social_networking_shared_items" ADD "action_type" character varying DEFAULT '' NOT NULL[0m
|
205184
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141003191233"]]
|
205185
|
+
[1m[36m (6.3ms)[0m [1mCOMMIT[0m
|
205186
|
+
Migrating to AddItemLabelToSharedItems (20141006200325)
|
205187
|
+
[1m[35m (0.2ms)[0m BEGIN
|
205188
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "social_networking_shared_items" ADD "item_label" character varying[0m
|
205189
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141006200325"]]
|
205190
|
+
[1m[36m (5.7ms)[0m [1mCOMMIT[0m
|
205191
|
+
Migrating to AddUniquenessConstraintToLikes (20141007141541)
|
205192
|
+
[1m[35m (0.1ms)[0m BEGIN
|
205193
|
+
[1m[36m (6.9ms)[0m [1mCREATE UNIQUE INDEX "one_like_per_item" ON "social_networking_likes" ("participant_id", "item_id", "item_type")[0m
|
205194
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141007141541"]]
|
205195
|
+
[1m[36m (5.9ms)[0m [1mCOMMIT[0m
|
205196
|
+
Migrating to AddIconNameToProfiles (20141008150325)
|
205197
|
+
[1m[35m (0.1ms)[0m BEGIN
|
205198
|
+
[1m[36m (10.7ms)[0m [1mALTER TABLE "social_networking_profiles" ADD "icon_name" character varying[0m
|
205199
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141008150325"]]
|
205200
|
+
[1m[36m (6.2ms)[0m [1mCOMMIT[0m
|
205201
|
+
Migrating to RemoveUnusedProfileQuestionColumns (20141015222822)
|
205202
|
+
[1m[35m (0.2ms)[0m BEGIN
|
205203
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "social_networking_profile_questions" DROP "order"[0m
|
205204
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "social_networking_profile_questions" DROP "allowed_responses"
|
205205
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "social_networking_profile_questions" DROP "deleted"[0m
|
205206
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141015222822"]]
|
205207
|
+
[1m[36m (6.0ms)[0m [1mCOMMIT[0m
|
205208
|
+
Migrating to SeedProfileQuestions (20141016015415)
|
205209
|
+
[1m[35m (0.1ms)[0m BEGIN
|
205210
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["question_text", "What are your favorite hobbies?"], ["created_at", "2016-06-10 20:40:08.899054"], ["updated_at", "2016-06-10 20:40:08.899054"]]
|
205211
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are some thing you do to help yourself feel better?"], ["created_at", "2016-06-10 20:40:08.901027"], ["updated_at", "2016-06-10 20:40:08.901027"]]
|
205212
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["question_text", "How do you relax after a long day?"], ["created_at", "2016-06-10 20:40:08.902162"], ["updated_at", "2016-06-10 20:40:08.902162"]]
|
205213
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["question_text", "What are 2-3 words you would use to describe yourself?"], ["created_at", "2016-06-10 20:40:08.903664"], ["updated_at", "2016-06-10 20:40:08.903664"]]
|
205214
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "social_networking_profile_questions" ("question_text", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["question_text", "What's your favorite form of entertainment? (Share your favorite book, movie or tv show!)"], ["created_at", "2016-06-10 20:40:08.905612"], ["updated_at", "2016-06-10 20:40:08.905612"]]
|
205215
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016015415"]]
|
205216
|
+
[1m[36m (5.6ms)[0m [1mCOMMIT[0m
|
205217
|
+
Migrating to RemoveActiveFromProfiles (20141016164443)
|
205218
|
+
[1m[35m (0.2ms)[0m BEGIN
|
205219
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "social_networking_profiles" DROP "active"[0m
|
205220
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141016164443"]]
|
205221
|
+
[1m[36m (6.1ms)[0m [1mCOMMIT[0m
|
205222
|
+
Migrating to AddActiveToProfiles (20141106102625)
|
205223
|
+
[1m[35m (0.1ms)[0m BEGIN
|
205224
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "social_networking_profiles" ADD "active" boolean[0m
|
205225
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106102625"]]
|
205226
|
+
[1m[36m (6.1ms)[0m [1mCOMMIT[0m
|
205227
|
+
Migrating to SeedActiveFieldOfProfiles (20141106104713)
|
205228
|
+
[1m[35m (0.1ms)[0m BEGIN
|
205229
|
+
[1m[36mSocialNetworking::Profile Load (0.4ms)[0m [1mSELECT "social_networking_profiles".* FROM "social_networking_profiles"[0m
|
205230
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141106104713"]]
|
205231
|
+
[1m[36m (6.2ms)[0m [1mCOMMIT[0m
|
205232
|
+
Migrating to AddParticipantIdToSocialNetworkingSharedItems (20141223203142)
|
205233
|
+
[1m[35m (0.5ms)[0m BEGIN
|
205234
|
+
[1m[36m (0.7ms)[0m [1mALTER TABLE "social_networking_shared_items" ADD "participant_id" integer[0m
|
205235
|
+
[1m[35m (7.5ms)[0m CREATE INDEX "index_social_networking_shared_items_on_participant_id" ON "social_networking_shared_items" ("participant_id")
|
205236
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141223203142"]]
|
205237
|
+
[1m[35m (6.1ms)[0m COMMIT
|
205238
|
+
Migrating to AddParticipantIdToSocialNetworkingSharedItemsDataMigration (20141223203721)
|
205239
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205240
|
+
[1m[35mSocialNetworking::SharedItem Load (0.5ms)[0m SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" WHERE "social_networking_shared_items"."participant_id" IS NULL
|
205241
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141223203721"]]
|
205242
|
+
[1m[35m (5.8ms)[0m COMMIT
|
205243
|
+
Migrating to CreateActivities (20150309210518)
|
205244
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205245
|
+
[1m[35m (8.2ms)[0m CREATE TABLE "activities" ("id" serial primary key, "participant_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
205246
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150309210518"]]
|
205247
|
+
[1m[35m (6.1ms)[0m COMMIT
|
205248
|
+
Migrating to AddCompletedAtToGoals (20150317173959)
|
205249
|
+
[1m[36m (5.8ms)[0m [1mBEGIN[0m
|
205250
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "social_networking_goals" ADD "completed_at" timestamp
|
205251
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150317173959"]]
|
205252
|
+
[1m[35m (5.9ms)[0m COMMIT
|
205253
|
+
Migrating to PopulateCompletedAtInGoals (20150317174425)
|
205254
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205255
|
+
[1m[35mSocialNetworking::Goal Load (0.4ms)[0m SELECT "social_networking_goals".* FROM "social_networking_goals"
|
205256
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150317174425"]]
|
205257
|
+
[1m[35m (8.1ms)[0m COMMIT
|
205258
|
+
Migrating to RemoveIsCompletedFromGoals (20150317180057)
|
205259
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
205260
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "social_networking_goals" DROP "is_completed"
|
205261
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150317180057"]]
|
205262
|
+
[1m[35m (6.1ms)[0m COMMIT
|
205263
|
+
Migrating to AddDeletedAtToSocialNetworkingGoals (20150318133032)
|
205264
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205265
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "social_networking_goals" ADD "deleted_at" timestamp
|
205266
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150318133032"]]
|
205267
|
+
[1m[35m (6.1ms)[0m COMMIT
|
205268
|
+
Migrating to PopulateDeletedAtInSocialNetworkingGoals (20150318133127)
|
205269
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205270
|
+
[1m[35mSocialNetworking::Goal Load (0.3ms)[0m SELECT "social_networking_goals".* FROM "social_networking_goals"
|
205271
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150318133127"]]
|
205272
|
+
[1m[35m (6.1ms)[0m COMMIT
|
205273
|
+
Migrating to RemoveIsDeletedFromSocialNetworkingGoals (20150318133353)
|
205274
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
205275
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "social_networking_goals" DROP "is_deleted"
|
205276
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150318133353"]]
|
205277
|
+
[1m[35m (6.1ms)[0m COMMIT
|
205278
|
+
Migrating to AddIndexToCommentItemsAndItemTypes (20150327143224)
|
205279
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
205280
|
+
[1m[35m (8.2ms)[0m CREATE INDEX "index_social_networking_comments_on_item_id_and_item_type" ON "social_networking_comments" ("item_id", "item_type")
|
205281
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150327143224"]]
|
205282
|
+
[1m[35m (6.1ms)[0m COMMIT
|
205283
|
+
Migrating to AddIndexToLikeItemIdAndItemTypes (20150327143244)
|
205284
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205285
|
+
[1m[35m (7.0ms)[0m CREATE INDEX "index_social_networking_likes_on_item_id_and_item_type" ON "social_networking_likes" ("item_id", "item_type")
|
205286
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150327143244"]]
|
205287
|
+
[1m[35m (6.2ms)[0m COMMIT
|
205288
|
+
Migrating to AddIndicesToOnTheMindStatements (20150327185721)
|
205289
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205290
|
+
[1m[35m (8.6ms)[0m CREATE INDEX "on_the_mind_participant" ON "social_networking_on_the_mind_statements" ("participant_id")
|
205291
|
+
[1m[36m (6.7ms)[0m [1mCREATE INDEX "on_the_mind_created_at" ON "social_networking_on_the_mind_statements" ("created_at")[0m
|
205292
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185721"]]
|
205293
|
+
[1m[36m (4.7ms)[0m [1mCOMMIT[0m
|
205294
|
+
Migrating to AddIndicesToNudges (20150327185856)
|
205295
|
+
[1m[35m (0.2ms)[0m BEGIN
|
205296
|
+
[1m[36m (6.4ms)[0m [1mCREATE INDEX "index_social_networking_nudges_on_initiator_id" ON "social_networking_nudges" ("initiator_id")[0m
|
205297
|
+
[1m[35m (6.3ms)[0m CREATE INDEX "index_social_networking_nudges_on_recipient_id" ON "social_networking_nudges" ("recipient_id")
|
205298
|
+
[1m[36m (5.4ms)[0m [1mCREATE INDEX "index_social_networking_nudges_on_created_at" ON "social_networking_nudges" ("created_at")[0m
|
205299
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185856"]]
|
205300
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
205301
|
+
Migrating to AddIndicesToSharedItems (20150327185919)
|
205302
|
+
[1m[35m (0.1ms)[0m BEGIN
|
205303
|
+
[1m[36m (6.6ms)[0m [1mCREATE INDEX "index_social_networking_shared_items_on_created_at" ON "social_networking_shared_items" ("created_at")[0m
|
205304
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327185919"]]
|
205305
|
+
[1m[36m (6.1ms)[0m [1mCOMMIT[0m
|
205306
|
+
Migrating to ChangeColumnDefaultSocialNetworkingProfilesActiveToFalse (20151211204425)
|
205307
|
+
[1m[35m (0.2ms)[0m BEGIN
|
205308
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "social_networking_profiles" ALTER COLUMN "active" SET DEFAULT 'f'[0m
|
205309
|
+
[1m[35mSocialNetworking::Profile Load (0.4ms)[0m SELECT "social_networking_profiles".* FROM "social_networking_profiles" WHERE "social_networking_profiles"."active" IS NULL
|
205310
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "social_networking_profiles" ALTER "active" SET NOT NULL[0m
|
205311
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151211204425"]]
|
205312
|
+
[1m[36m (6.2ms)[0m [1mCOMMIT[0m
|
205313
|
+
Migrating to ChangeOnTheMindStatementsProfileAnswersCommentsTextLength (20160308201931)
|
205314
|
+
[1m[35m (0.3ms)[0m BEGIN
|
205315
|
+
[1m[36m (21.0ms)[0m [1mALTER TABLE "social_networking_comments" ALTER COLUMN "text" TYPE character varying(1000)[0m
|
205316
|
+
[1m[35m (3.5ms)[0m ALTER TABLE "social_networking_goals" ALTER COLUMN "description" TYPE character varying(1000)
|
205317
|
+
[1m[36m (4.1ms)[0m [1mALTER TABLE "social_networking_on_the_mind_statements" ALTER COLUMN "description" TYPE character varying(1000)[0m
|
205318
|
+
[1m[35m (3.8ms)[0m ALTER TABLE "social_networking_profile_answers" ALTER COLUMN "answer_text" TYPE character varying(1000)
|
205319
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160308201931"]]
|
205320
|
+
[1m[35m (2.6ms)[0m COMMIT
|
205321
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
205322
|
+
[1m[35m (2.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
|
205323
|
+
FROM pg_constraint c
|
205324
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
205325
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
205326
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
205327
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
205328
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
205329
|
+
WHERE c.contype = 'f'
|
205330
|
+
AND t1.relname = 'activities'
|
205331
|
+
AND t3.nspname = ANY (current_schemas(false))
|
205332
|
+
ORDER BY c.conname
|
205333
|
+
|
205334
|
+
[1m[36m (2.1ms)[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
|
205335
|
+
FROM pg_constraint c
|
205336
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
205337
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
205338
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
205339
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
205340
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
205341
|
+
WHERE c.contype = 'f'
|
205342
|
+
AND t1.relname = 'arms'
|
205343
|
+
AND t3.nspname = ANY (current_schemas(false))
|
205344
|
+
ORDER BY c.conname
|
205345
|
+
[0m
|
205346
|
+
[1m[35m (2.1ms)[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
|
205347
|
+
FROM pg_constraint c
|
205348
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
205349
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
205350
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
205351
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
205352
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
205353
|
+
WHERE c.contype = 'f'
|
205354
|
+
AND t1.relname = 'participants'
|
205355
|
+
AND t3.nspname = ANY (current_schemas(false))
|
205356
|
+
ORDER BY c.conname
|
205357
|
+
|
205358
|
+
[1m[36m (1.9ms)[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
|
205359
|
+
FROM pg_constraint c
|
205360
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
205361
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
205362
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
205363
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
205364
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
205365
|
+
WHERE c.contype = 'f'
|
205366
|
+
AND t1.relname = 'social_networking_comments'
|
205367
|
+
AND t3.nspname = ANY (current_schemas(false))
|
205368
|
+
ORDER BY c.conname
|
205369
|
+
[0m
|
205370
|
+
[1m[35m (2.2ms)[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
|
205371
|
+
FROM pg_constraint c
|
205372
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
205373
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
205374
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
205375
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
205376
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
205377
|
+
WHERE c.contype = 'f'
|
205378
|
+
AND t1.relname = 'social_networking_goals'
|
205379
|
+
AND t3.nspname = ANY (current_schemas(false))
|
205380
|
+
ORDER BY c.conname
|
205381
|
+
|
205382
|
+
[1m[36m (2.1ms)[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
|
205383
|
+
FROM pg_constraint c
|
205384
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
205385
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
205386
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
205387
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
205388
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
205389
|
+
WHERE c.contype = 'f'
|
205390
|
+
AND t1.relname = 'social_networking_likes'
|
205391
|
+
AND t3.nspname = ANY (current_schemas(false))
|
205392
|
+
ORDER BY c.conname
|
205393
|
+
[0m
|
205394
|
+
[1m[35m (3.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
|
205395
|
+
FROM pg_constraint c
|
205396
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
205397
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
205398
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
205399
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
205400
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
205401
|
+
WHERE c.contype = 'f'
|
205402
|
+
AND t1.relname = 'social_networking_nudges'
|
205403
|
+
AND t3.nspname = ANY (current_schemas(false))
|
205404
|
+
ORDER BY c.conname
|
205405
|
+
|
205406
|
+
[1m[36m (1.9ms)[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
|
205407
|
+
FROM pg_constraint c
|
205408
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
205409
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
205410
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
205411
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
205412
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
205413
|
+
WHERE c.contype = 'f'
|
205414
|
+
AND t1.relname = 'social_networking_on_the_mind_statements'
|
205415
|
+
AND t3.nspname = ANY (current_schemas(false))
|
205416
|
+
ORDER BY c.conname
|
205417
|
+
[0m
|
205418
|
+
[1m[35m (1.7ms)[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
|
205419
|
+
FROM pg_constraint c
|
205420
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
205421
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
205422
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
205423
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
205424
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
205425
|
+
WHERE c.contype = 'f'
|
205426
|
+
AND t1.relname = 'social_networking_profile_answers'
|
205427
|
+
AND t3.nspname = ANY (current_schemas(false))
|
205428
|
+
ORDER BY c.conname
|
205429
|
+
|
205430
|
+
[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
|
205431
|
+
FROM pg_constraint c
|
205432
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
205433
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
205434
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
205435
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
205436
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
205437
|
+
WHERE c.contype = 'f'
|
205438
|
+
AND t1.relname = 'social_networking_profile_questions'
|
205439
|
+
AND t3.nspname = ANY (current_schemas(false))
|
205440
|
+
ORDER BY c.conname
|
205441
|
+
[0m
|
205442
|
+
[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
|
205443
|
+
FROM pg_constraint c
|
205444
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
205445
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
205446
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
205447
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
205448
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
205449
|
+
WHERE c.contype = 'f'
|
205450
|
+
AND t1.relname = 'social_networking_profiles'
|
205451
|
+
AND t3.nspname = ANY (current_schemas(false))
|
205452
|
+
ORDER BY c.conname
|
205453
|
+
|
205454
|
+
[1m[36m (2.1ms)[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
|
205455
|
+
FROM pg_constraint c
|
205456
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
205457
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
205458
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
205459
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
205460
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
205461
|
+
WHERE c.contype = 'f'
|
205462
|
+
AND t1.relname = 'social_networking_shared_items'
|
205463
|
+
AND t3.nspname = ANY (current_schemas(false))
|
205464
|
+
ORDER BY c.conname
|
205465
|
+
[0m
|
205466
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205467
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
205468
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205469
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
205470
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205471
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
205472
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
205473
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
205474
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205475
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
205476
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205477
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
205478
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205479
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
205480
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205481
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
205482
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
205483
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
205484
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205485
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
205486
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205487
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
205488
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205489
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
205490
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205491
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
205492
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205493
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
205494
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205495
|
+
[1m[35mSocialNetworking::OnTheMindStatement Load (0.9ms)[0m SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 10 [["participant_id", 1]]
|
205496
|
+
[1m[36mSocialNetworking::Nudge Load (0.6ms)[0m [1mSELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 10[0m [["initiator_id", 1]]
|
205497
|
+
[1m[35mSocialNetworking::SharedItem Load (0.6ms)[0m SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 10 [["participant_id", 1]]
|
205498
|
+
[1m[36mSocialNetworking::OnTheMindStatement Load (0.2ms)[0m [1mSELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 10[0m [["participant_id", 1]]
|
205499
|
+
[1m[35mSocialNetworking::Nudge Load (0.2ms)[0m SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 10 [["initiator_id", 1]]
|
205500
|
+
[1m[36mSocialNetworking::SharedItem Load (0.2ms)[0m [1mSELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 10[0m [["participant_id", 1]]
|
205501
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
205502
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205503
|
+
[1m[35mSocialNetworking::OnTheMindStatement Load (0.5ms)[0m SELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 10 [["participant_id", 1]]
|
205504
|
+
[1m[36mSocialNetworking::Nudge Load (0.4ms)[0m [1mSELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 10[0m [["initiator_id", 1]]
|
205505
|
+
[1m[35mSocialNetworking::SharedItem Load (0.6ms)[0m SELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 10 [["participant_id", 1]]
|
205506
|
+
[1m[36mSocialNetworking::OnTheMindStatement Load (0.2ms)[0m [1mSELECT "social_networking_on_the_mind_statements".* FROM "social_networking_on_the_mind_statements" WHERE "social_networking_on_the_mind_statements"."participant_id" = $1 ORDER BY "social_networking_on_the_mind_statements"."created_at" DESC LIMIT 10[0m [["participant_id", 1]]
|
205507
|
+
[1m[35mSocialNetworking::Nudge Load (0.2ms)[0m SELECT "social_networking_nudges".* FROM "social_networking_nudges" WHERE "social_networking_nudges"."initiator_id" = $1 ORDER BY "social_networking_nudges"."created_at" DESC LIMIT 10 [["initiator_id", 1]]
|
205508
|
+
[1m[36mSocialNetworking::SharedItem Load (0.2ms)[0m [1mSELECT "social_networking_shared_items".* FROM "social_networking_shared_items" INNER JOIN "participants" ON "participants"."id" = "social_networking_shared_items"."participant_id" WHERE "social_networking_shared_items"."participant_id" = $1 ORDER BY "social_networking_shared_items"."created_at" DESC LIMIT 10[0m [["participant_id", 1]]
|
205509
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
205510
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
205511
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
205512
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
205513
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_networking
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Carty-Fickes
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-06-
|
13
|
+
date: 2016-06-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jquery-rails
|