mks_auth 1.0.5 → 1.0.6
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c907733e63eef4854c4db8704f3daa94c7a0b1b480f269ff637a3284c0a28cb8
|
4
|
+
data.tar.gz: 074df8a8fdbe2404cb41502eeda796c1e5b5b1223e4560d7cb9951abfbb20657
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5aedd858609f529f3e6252b633ed8bc725147f06c815a727240af9073040aa30a11aecfa2536438cdc3213b99fd5a0499b6e01007afc0ad30aa2e15e90e5c1bc
|
7
|
+
data.tar.gz: 79f22a94f71e8368ed127c7ef6c99b0b33762f29bce47e287213c791c7fc31df9c54b3aa29f3022cf671142975dad93f0e9272729e27756b95f8bf58b9eab99e
|
@@ -6,15 +6,12 @@ module Mks
|
|
6
6
|
|
7
7
|
def index
|
8
8
|
@users = ApplicationModule.find_by(code: app_code).users
|
9
|
-
|
10
|
-
render json: response
|
9
|
+
render json: @users
|
11
10
|
end
|
12
11
|
|
13
12
|
def roles
|
14
13
|
user = User.find(params[:id])
|
15
|
-
|
16
|
-
response = { success: true, data: data }
|
17
|
-
render json: response
|
14
|
+
render json: user.roles
|
18
15
|
end
|
19
16
|
|
20
17
|
# A method to fetch all roles, with roles of
|
data/lib/mks/auth/version.rb
CHANGED
@@ -13750,3 +13750,175 @@ FOREIGN KEY ("user_id")
|
|
13750
13750
|
[1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
|
13751
13751
|
[1m[36mActiveRecord::InternalMetadata Update (0.9ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2018-07-27 06:46:26.665522"], ["key", "environment"]]
|
13752
13752
|
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
13753
|
+
[1m[35m (5.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
13754
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
13755
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
13756
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
13757
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
13758
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
13759
|
+
[1m[35m (114.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "construction_test"[0m
|
13760
|
+
[1m[35m (352.1ms)[0m [1m[35mCREATE DATABASE "construction_test" ENCODING = 'utf8'[0m
|
13761
|
+
[1m[35mSQL (0.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
13762
|
+
[1m[35m (1.1ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_application_modules" CASCADE[0m
|
13763
|
+
[1m[35m (20.9ms)[0m [1m[35mCREATE TABLE "mks_auth_application_modules" ("id" bigserial primary key, "code" character varying NOT NULL, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
13764
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_menus" CASCADE[0m
|
13765
|
+
[1m[35m (13.1ms)[0m [1m[35mCREATE TABLE "mks_auth_menus" ("id" bigserial primary key, "text" character varying NOT NULL, "icon_cls" character varying, "class_name" character varying, "location" character varying, "parent_id" integer, "application_module_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
13766
|
+
[1m[35m (6.2ms)[0m [1m[35mCREATE INDEX "index_mks_auth_menus_on_application_module_id" ON "mks_auth_menus" ("application_module_id")[0m
|
13767
|
+
[1m[35m (5.5ms)[0m [1m[35mCREATE INDEX "index_mks_auth_menus_on_parent_id" ON "mks_auth_menus" ("parent_id")[0m
|
13768
|
+
[1m[35m (1.6ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_menus_user_roles" CASCADE[0m
|
13769
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "mks_auth_menus_user_roles" ("id" bigserial primary key, "menu_id" bigint, "user_role_id" bigint)[0m
|
13770
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_mks_auth_menus_user_roles_on_menu_id_and_user_role_id" ON "mks_auth_menus_user_roles" ("menu_id", "user_role_id")[0m
|
13771
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_user_roles" CASCADE[0m
|
13772
|
+
[1m[35m (10.4ms)[0m [1m[35mCREATE TABLE "mks_auth_user_roles" ("id" bigserial primary key, "name" character varying NOT NULL, "application_module_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
13773
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_mks_auth_user_roles_on_application_module_id" ON "mks_auth_user_roles" ("application_module_id")[0m
|
13774
|
+
[1m[35m (2.0ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_users" CASCADE[0m
|
13775
|
+
[1m[35m (9.1ms)[0m [1m[35mCREATE TABLE "mks_auth_users" ("id" bigserial primary key, "first_name" character varying NOT NULL, "last_name" character varying NOT NULL, "email" character varying NOT NULL, "active" boolean DEFAULT TRUE NOT NULL, "password_digest" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
13776
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_users_application_modules" CASCADE[0m
|
13777
|
+
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "mks_auth_users_application_modules" ("user_id" bigint, "application_module_id" bigint)[0m
|
13778
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "am_on_users_indx" ON "mks_auth_users_application_modules" ("user_id", "application_module_id")[0m
|
13779
|
+
[1m[35m (0.9ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_users_user_roles" CASCADE[0m
|
13780
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE TABLE "mks_auth_users_user_roles" ("user_id" bigint, "user_role_id" bigint)[0m
|
13781
|
+
[1m[35m (6.3ms)[0m [1m[35mCREATE INDEX "index_mks_auth_users_user_roles_on_user_id_and_user_role_id" ON "mks_auth_users_user_roles" ("user_id", "user_role_id")[0m
|
13782
|
+
[1m[35m (3.4ms)[0m [1m[35mALTER TABLE "mks_auth_menus" ADD CONSTRAINT "fk_rails_e5dd25fcb5"
|
13783
|
+
FOREIGN KEY ("application_module_id")
|
13784
|
+
REFERENCES "mks_auth_application_modules" ("id")
|
13785
|
+
[0m
|
13786
|
+
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "mks_auth_menus" ADD CONSTRAINT "fk_rails_826b2757bc"
|
13787
|
+
FOREIGN KEY ("parent_id")
|
13788
|
+
REFERENCES "mks_auth_menus" ("id")
|
13789
|
+
[0m
|
13790
|
+
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "mks_auth_menus_user_roles" ADD CONSTRAINT "fk_rails_1807c05e36"
|
13791
|
+
FOREIGN KEY ("menu_id")
|
13792
|
+
REFERENCES "mks_auth_menus" ("id")
|
13793
|
+
[0m
|
13794
|
+
[1m[35m (3.1ms)[0m [1m[35mALTER TABLE "mks_auth_menus_user_roles" ADD CONSTRAINT "fk_rails_c24fca59c0"
|
13795
|
+
FOREIGN KEY ("user_role_id")
|
13796
|
+
REFERENCES "mks_auth_user_roles" ("id")
|
13797
|
+
[0m
|
13798
|
+
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "mks_auth_user_roles" ADD CONSTRAINT "fk_rails_b0b293e4e2"
|
13799
|
+
FOREIGN KEY ("application_module_id")
|
13800
|
+
REFERENCES "mks_auth_application_modules" ("id")
|
13801
|
+
[0m
|
13802
|
+
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "mks_auth_users_application_modules" ADD CONSTRAINT "fk_rails_b100f8542c"
|
13803
|
+
FOREIGN KEY ("application_module_id")
|
13804
|
+
REFERENCES "mks_auth_application_modules" ("id")
|
13805
|
+
[0m
|
13806
|
+
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "mks_auth_users_application_modules" ADD CONSTRAINT "fk_rails_1010e0182a"
|
13807
|
+
FOREIGN KEY ("user_id")
|
13808
|
+
REFERENCES "mks_auth_users" ("id")
|
13809
|
+
[0m
|
13810
|
+
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "mks_auth_users_user_roles" ADD CONSTRAINT "fk_rails_3dae904cd8"
|
13811
|
+
FOREIGN KEY ("user_role_id")
|
13812
|
+
REFERENCES "mks_auth_user_roles" ("id")
|
13813
|
+
[0m
|
13814
|
+
[1m[35m (4.6ms)[0m [1m[35mALTER TABLE "mks_auth_users_user_roles" ADD CONSTRAINT "fk_rails_7cc19890aa"
|
13815
|
+
FOREIGN KEY ("user_id")
|
13816
|
+
REFERENCES "mks_auth_users" ("id")
|
13817
|
+
[0m
|
13818
|
+
[1m[35m (7.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
13819
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
13820
|
+
[1m[35m (1.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20180201104912)[0m
|
13821
|
+
[1m[35m (1.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
13822
|
+
(20161029065810),
|
13823
|
+
(20161029065959),
|
13824
|
+
(20161029070807),
|
13825
|
+
(20161029071047),
|
13826
|
+
(20161029072256),
|
13827
|
+
(20161029074023);
|
13828
|
+
|
13829
|
+
[0m
|
13830
|
+
[1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
13831
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
13832
|
+
[1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
|
13833
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2018-07-27 07:26:35.190384"], ["updated_at", "2018-07-27 07:26:35.190384"]]
|
13834
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
13835
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
13836
|
+
[1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
|
13837
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.1ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2018-07-27 07:26:35.199604"], ["key", "environment"]]
|
13838
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
13839
|
+
[1m[35m (2.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
13840
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
13841
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
13842
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
13843
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
13844
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
13845
|
+
[1m[35m (118.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "construction_test"[0m
|
13846
|
+
[1m[35m (386.9ms)[0m [1m[35mCREATE DATABASE "construction_test" ENCODING = 'utf8'[0m
|
13847
|
+
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
13848
|
+
[1m[35m (1.1ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_application_modules" CASCADE[0m
|
13849
|
+
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "mks_auth_application_modules" ("id" bigserial primary key, "code" character varying NOT NULL, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
13850
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_menus" CASCADE[0m
|
13851
|
+
[1m[35m (9.2ms)[0m [1m[35mCREATE TABLE "mks_auth_menus" ("id" bigserial primary key, "text" character varying NOT NULL, "icon_cls" character varying, "class_name" character varying, "location" character varying, "parent_id" integer, "application_module_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
13852
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_mks_auth_menus_on_application_module_id" ON "mks_auth_menus" ("application_module_id")[0m
|
13853
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_mks_auth_menus_on_parent_id" ON "mks_auth_menus" ("parent_id")[0m
|
13854
|
+
[1m[35m (1.1ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_menus_user_roles" CASCADE[0m
|
13855
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "mks_auth_menus_user_roles" ("id" bigserial primary key, "menu_id" bigint, "user_role_id" bigint)[0m
|
13856
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_mks_auth_menus_user_roles_on_menu_id_and_user_role_id" ON "mks_auth_menus_user_roles" ("menu_id", "user_role_id")[0m
|
13857
|
+
[1m[35m (1.5ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_user_roles" CASCADE[0m
|
13858
|
+
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "mks_auth_user_roles" ("id" bigserial primary key, "name" character varying NOT NULL, "application_module_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
13859
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_mks_auth_user_roles_on_application_module_id" ON "mks_auth_user_roles" ("application_module_id")[0m
|
13860
|
+
[1m[35m (0.9ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_users" CASCADE[0m
|
13861
|
+
[1m[35m (7.3ms)[0m [1m[35mCREATE TABLE "mks_auth_users" ("id" bigserial primary key, "first_name" character varying NOT NULL, "last_name" character varying NOT NULL, "email" character varying NOT NULL, "active" boolean DEFAULT TRUE NOT NULL, "password_digest" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
13862
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_users_application_modules" CASCADE[0m
|
13863
|
+
[1m[35m (2.0ms)[0m [1m[35mCREATE TABLE "mks_auth_users_application_modules" ("user_id" bigint, "application_module_id" bigint)[0m
|
13864
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "am_on_users_indx" ON "mks_auth_users_application_modules" ("user_id", "application_module_id")[0m
|
13865
|
+
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_users_user_roles" CASCADE[0m
|
13866
|
+
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "mks_auth_users_user_roles" ("user_id" bigint, "user_role_id" bigint)[0m
|
13867
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_mks_auth_users_user_roles_on_user_id_and_user_role_id" ON "mks_auth_users_user_roles" ("user_id", "user_role_id")[0m
|
13868
|
+
[1m[35m (3.9ms)[0m [1m[35mALTER TABLE "mks_auth_menus" ADD CONSTRAINT "fk_rails_e5dd25fcb5"
|
13869
|
+
FOREIGN KEY ("application_module_id")
|
13870
|
+
REFERENCES "mks_auth_application_modules" ("id")
|
13871
|
+
[0m
|
13872
|
+
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "mks_auth_menus" ADD CONSTRAINT "fk_rails_826b2757bc"
|
13873
|
+
FOREIGN KEY ("parent_id")
|
13874
|
+
REFERENCES "mks_auth_menus" ("id")
|
13875
|
+
[0m
|
13876
|
+
[1m[35m (2.9ms)[0m [1m[35mALTER TABLE "mks_auth_menus_user_roles" ADD CONSTRAINT "fk_rails_1807c05e36"
|
13877
|
+
FOREIGN KEY ("menu_id")
|
13878
|
+
REFERENCES "mks_auth_menus" ("id")
|
13879
|
+
[0m
|
13880
|
+
[1m[35m (4.0ms)[0m [1m[35mALTER TABLE "mks_auth_menus_user_roles" ADD CONSTRAINT "fk_rails_c24fca59c0"
|
13881
|
+
FOREIGN KEY ("user_role_id")
|
13882
|
+
REFERENCES "mks_auth_user_roles" ("id")
|
13883
|
+
[0m
|
13884
|
+
[1m[35m (3.1ms)[0m [1m[35mALTER TABLE "mks_auth_user_roles" ADD CONSTRAINT "fk_rails_b0b293e4e2"
|
13885
|
+
FOREIGN KEY ("application_module_id")
|
13886
|
+
REFERENCES "mks_auth_application_modules" ("id")
|
13887
|
+
[0m
|
13888
|
+
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "mks_auth_users_application_modules" ADD CONSTRAINT "fk_rails_b100f8542c"
|
13889
|
+
FOREIGN KEY ("application_module_id")
|
13890
|
+
REFERENCES "mks_auth_application_modules" ("id")
|
13891
|
+
[0m
|
13892
|
+
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "mks_auth_users_application_modules" ADD CONSTRAINT "fk_rails_1010e0182a"
|
13893
|
+
FOREIGN KEY ("user_id")
|
13894
|
+
REFERENCES "mks_auth_users" ("id")
|
13895
|
+
[0m
|
13896
|
+
[1m[35m (3.6ms)[0m [1m[35mALTER TABLE "mks_auth_users_user_roles" ADD CONSTRAINT "fk_rails_3dae904cd8"
|
13897
|
+
FOREIGN KEY ("user_role_id")
|
13898
|
+
REFERENCES "mks_auth_user_roles" ("id")
|
13899
|
+
[0m
|
13900
|
+
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "mks_auth_users_user_roles" ADD CONSTRAINT "fk_rails_7cc19890aa"
|
13901
|
+
FOREIGN KEY ("user_id")
|
13902
|
+
REFERENCES "mks_auth_users" ("id")
|
13903
|
+
[0m
|
13904
|
+
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
13905
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
13906
|
+
[1m[35m (1.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20180201104912)[0m
|
13907
|
+
[1m[35m (1.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
13908
|
+
(20161029065810),
|
13909
|
+
(20161029065959),
|
13910
|
+
(20161029070807),
|
13911
|
+
(20161029071047),
|
13912
|
+
(20161029072256),
|
13913
|
+
(20161029074023);
|
13914
|
+
|
13915
|
+
[0m
|
13916
|
+
[1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
13917
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
13918
|
+
[1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
|
13919
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2018-07-27 07:27:22.444862"], ["updated_at", "2018-07-27 07:27:22.444862"]]
|
13920
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
13921
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
13922
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
13923
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.1ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2018-07-27 07:27:22.453500"], ["key", "environment"]]
|
13924
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|