mks_edm 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mks/edm/version.rb +1 -1
- data/spec/dummy/log/development.log +216 -0
- data/spec/dummy/log/test.log +3476 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28892b0366aa9bc6357510da748e47327b2706dca314a662a8a298647179e288
|
4
|
+
data.tar.gz: 6a538cf2238df48a61031bcb722e7e4b6a150357d859805ef73f61a978c6173d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 859ca3b3dc2c22c37afec020daef5ac58f82c6c8ddb0aa7219db3c333e9b37aeef5c815901ce7fd567f796a30003d330d6384943416e41fdc27a9759ea096d4f
|
7
|
+
data.tar.gz: 0c0eead8bb217a2194324f25e5c342a1e57269c8b8147ef362ead5e7f9c0ae55a7c4133f1a59a342bb909d75c8d22e7b8d8dad5ce8b70861c2cdd20ef3ccc2a0
|
data/lib/mks/edm/version.rb
CHANGED
@@ -33282,3 +33282,219 @@ FOREIGN KEY ("chargeable_service_id")
|
|
33282
33282
|
[1m[35m (2.3ms)[0m [1m[35mBEGIN[0m
|
33283
33283
|
[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-09-05 05:07:09.725663"], ["key", "environment"]]
|
33284
33284
|
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
33285
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
33286
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
33287
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
33288
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
33289
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
33290
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
33291
|
+
[1m[35m (123.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "construction_test"[0m
|
33292
|
+
[1m[35m (340.3ms)[0m [1m[35mCREATE DATABASE "construction_test" ENCODING = 'utf8'[0m
|
33293
|
+
[1m[35mSQL (0.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
33294
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_application_modules" CASCADE[0m
|
33295
|
+
[1m[35m (14.5ms)[0m [1m[35mCREATE TABLE "mks_auth_application_modules" ("id" serial NOT NULL PRIMARY KEY, "code" character varying NOT NULL, "name" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33296
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_menus" CASCADE[0m
|
33297
|
+
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "mks_auth_menus" ("id" serial NOT NULL PRIMARY KEY, "text" character varying NOT NULL, "icon_cls" character varying, "class_name" character varying, "location" character varying, "parent_id" integer, "application_module_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33298
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_mks_auth_menus_on_application_module_id" ON "mks_auth_menus" ("application_module_id")[0m
|
33299
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_mks_auth_menus_on_parent_id" ON "mks_auth_menus" ("parent_id")[0m
|
33300
|
+
[1m[35m (1.1ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_menus_user_roles" CASCADE[0m
|
33301
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "mks_auth_menus_user_roles" ("id" serial NOT NULL PRIMARY KEY, "menu_id" integer, "user_role_id" integer)[0m
|
33302
|
+
[1m[35m (4.6ms)[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
|
33303
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_user_roles" CASCADE[0m
|
33304
|
+
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "mks_auth_user_roles" ("id" serial NOT NULL PRIMARY KEY, "name" character varying NOT NULL, "application_module_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33305
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_mks_auth_user_roles_on_application_module_id" ON "mks_auth_user_roles" ("application_module_id")[0m
|
33306
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_users" CASCADE[0m
|
33307
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "mks_auth_users" ("id" serial NOT NULL 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
|
33308
|
+
[1m[35m (0.9ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_users_application_modules" CASCADE[0m
|
33309
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE TABLE "mks_auth_users_application_modules" ("user_id" bigint, "application_module_id" bigint)[0m
|
33310
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "am_on_users_indx" ON "mks_auth_users_application_modules" ("user_id", "application_module_id")[0m
|
33311
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_users_user_roles" CASCADE[0m
|
33312
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE TABLE "mks_auth_users_user_roles" ("user_id" integer, "user_role_id" integer)[0m
|
33313
|
+
[1m[35m (3.2ms)[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
|
33314
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_equipment_categories" CASCADE[0m
|
33315
|
+
[1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "mks_edm_equipment_categories" ("id" bigserial primary key, "code" character varying, "name" character varying NOT NULL, "description" character varying, "equipment_type_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33316
|
+
[1m[35m (3.2ms)[0m [1m[35mCREATE INDEX "ec_on_et_indx" ON "mks_edm_equipment_categories" ("equipment_type_id")[0m
|
33317
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_equipment_components" CASCADE[0m
|
33318
|
+
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "mks_edm_equipment_components" ("id" bigserial primary key, "serial_no" character varying, "name" character varying NOT NULL, "equipment_item_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33319
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "ei_on_ec_indx" ON "mks_edm_equipment_components" ("equipment_item_id")[0m
|
33320
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_equipment_items" CASCADE[0m
|
33321
|
+
[1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "mks_edm_equipment_items" ("id" bigserial primary key, "code" character varying, "name" character varying NOT NULL, "description" character varying, "status" character varying DEFAULT 'READY', "serial_number" character varying, "brand" character varying, "item_model" character varying, "purchase_price" float NOT NULL, "purchase_date" date NOT NULL, "license_fee" float, "tax" float, "equipment_id" bigint, "current_location_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33322
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "equipment_on_el_indx" ON "mks_edm_equipment_items" ("current_location_id")[0m
|
33323
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "equipment_on_ei_indx" ON "mks_edm_equipment_items" ("equipment_id")[0m
|
33324
|
+
[1m[35m (1.0ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_equipment_locations" CASCADE[0m
|
33325
|
+
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "mks_edm_equipment_locations" ("id" bigserial primary key, "code" character varying, "name" character varying NOT NULL, "location_type_id" bigint, "description" character varying, "address" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33326
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "lt_on_el_indx" ON "mks_edm_equipment_locations" ("location_type_id")[0m
|
33327
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_equipment_types" CASCADE[0m
|
33328
|
+
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "mks_edm_equipment_types" ("id" bigserial primary key, "code" character varying, "name" character varying NOT NULL, "description" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33329
|
+
[1m[35m (0.9ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_equipment_valuations" CASCADE[0m
|
33330
|
+
[1m[35m (6.6ms)[0m [1m[35mCREATE TABLE "mks_edm_equipment_valuations" ("id" bigserial primary key, "equipment_item_id" bigint, "initial_cost" float NOT NULL, "residual_value" float NOT NULL, "work_hrs_per_yr" float NOT NULL, "life_year" float NOT NULL, "insurance_premium" float NOT NULL, "fuel_cost_per_hr" float, "oil_rate" float, "repair_rate" float, "rate_of_return" float, "dep_method" character varying, "is_current" boolean DEFAULT TRUE, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33331
|
+
[1m[35m (3.2ms)[0m [1m[35mCREATE INDEX "ev_on_ei_indx" ON "mks_edm_equipment_valuations" ("equipment_item_id")[0m
|
33332
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_equipments" CASCADE[0m
|
33333
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "mks_edm_equipments" ("id" bigserial primary key, "code" character varying, "name" character varying NOT NULL, "description" character varying, "minimum_acquisition_time" float DEFAULT 0.0 NOT NULL, "equipment_category_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33334
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "equipment_on_ec_indx" ON "mks_edm_equipments" ("equipment_category_id")[0m
|
33335
|
+
[1m[35m (0.9ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_location_types" CASCADE[0m
|
33336
|
+
[1m[35m (6.6ms)[0m [1m[35mCREATE TABLE "mks_edm_location_types" ("id" bigserial primary key, "code" character varying, "name" character varying, "description" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33337
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_bundle_discounts" CASCADE[0m
|
33338
|
+
[1m[35m (5.8ms)[0m [1m[35mCREATE TABLE "mks_rate_bundle_discounts" ("id" bigserial primary key, "chargeable_service_id" bigint, "service_bundle_id" bigint, "percent_discount" float NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33339
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "cs_on_bd_indx" ON "mks_rate_bundle_discounts" ("chargeable_service_id")[0m
|
33340
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "sb_on_bd_indx" ON "mks_rate_bundle_discounts" ("service_bundle_id")[0m
|
33341
|
+
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_chargeable_service_discounts" CASCADE[0m
|
33342
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "mks_rate_chargeable_service_discounts" ("id" bigserial primary key, "unit_variable" character varying NOT NULL, "from" float NOT NULL, "to" float NOT NULL, "value" float NOT NULL, "chargeable_service_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33343
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_chargeable_services" CASCADE[0m
|
33344
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "mks_rate_chargeable_services" ("id" bigserial primary key, "code" character varying NOT NULL, "name" character varying NOT NULL, "service_type_id" integer, "base_unit_id" integer, "utilization_unit_id" integer, "service_delivery_unit_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33345
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "bu_on_cs_indx" ON "mks_rate_chargeable_services" ("base_unit_id")[0m
|
33346
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "sdu_on_cs_indx" ON "mks_rate_chargeable_services" ("service_delivery_unit_id")[0m
|
33347
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "st_on_cs_indx" ON "mks_rate_chargeable_services" ("service_type_id")[0m
|
33348
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "uu_on_cs_indx" ON "mks_rate_chargeable_services" ("utilization_unit_id")[0m
|
33349
|
+
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_rate_change_requests" CASCADE[0m
|
33350
|
+
[1m[35m (7.6ms)[0m [1m[35mCREATE TABLE "mks_rate_rate_change_requests" ("id" bigserial primary key, "reference_number" character varying, "authorized_by" character varying NOT NULL, "effective_on" date NOT NULL, "authorized_on" date NOT NULL, "rates" json NOT NULL, "status" character varying DEFAULT 'SUBMITTED' NOT NULL, "created_by_id" bigint, "approved_by_id" bigint, "remark" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33351
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "ab_on_rcr_indx" ON "mks_rate_rate_change_requests" ("approved_by_id")[0m
|
33352
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "cb_on_rcr_indx" ON "mks_rate_rate_change_requests" ("created_by_id")[0m
|
33353
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_mks_rate_rate_change_requests_on_reference_number" ON "mks_rate_rate_change_requests" ("reference_number")[0m
|
33354
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_service_bundles" CASCADE[0m
|
33355
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "mks_rate_service_bundles" ("id" bigserial primary key, "code" character varying, "name" character varying NOT NULL, "description" character varying, "service_delivery_unit_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33356
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "sdu_on_sb_indx" ON "mks_rate_service_bundles" ("service_delivery_unit_id")[0m
|
33357
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_service_delivery_units" CASCADE[0m
|
33358
|
+
[1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "mks_rate_service_delivery_units" ("id" bigserial primary key, "code" character varying NOT NULL, "name" character varying NOT NULL, "address" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33359
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_service_rates" CASCADE[0m
|
33360
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "mks_rate_service_rates" ("id" bigserial primary key, "chargeable_service_id" bigint, "equipment_item_id" bigint, "base_rate" float DEFAULT 0.0, "utilization_rate" float DEFAULT 0.0, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33361
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "cs_on_sr_indx" ON "mks_rate_service_rates" ("chargeable_service_id")[0m
|
33362
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "cs_on_ei_indx" ON "mks_rate_service_rates" ("equipment_item_id")[0m
|
33363
|
+
[1m[35m (1.3ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_service_types" CASCADE[0m
|
33364
|
+
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "mks_rate_service_types" ("id" bigserial primary key, "code" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33365
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_unit_of_charges" CASCADE[0m
|
33366
|
+
[1m[35m (6.6ms)[0m [1m[35mCREATE TABLE "mks_rate_unit_of_charges" ("id" bigserial primary key, "name" character varying NOT NULL, "unit_variables" json NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
33367
|
+
[1m[35m (3.3ms)[0m [1m[35mALTER TABLE "mks_auth_menus" ADD CONSTRAINT "fk_rails_e5dd25fcb5"
|
33368
|
+
FOREIGN KEY ("application_module_id")
|
33369
|
+
REFERENCES "mks_auth_application_modules" ("id")
|
33370
|
+
[0m
|
33371
|
+
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "mks_auth_menus" ADD CONSTRAINT "fk_rails_826b2757bc"
|
33372
|
+
FOREIGN KEY ("parent_id")
|
33373
|
+
REFERENCES "mks_auth_menus" ("id")
|
33374
|
+
[0m
|
33375
|
+
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "mks_auth_menus_user_roles" ADD CONSTRAINT "fk_rails_1807c05e36"
|
33376
|
+
FOREIGN KEY ("menu_id")
|
33377
|
+
REFERENCES "mks_auth_menus" ("id")
|
33378
|
+
[0m
|
33379
|
+
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "mks_auth_menus_user_roles" ADD CONSTRAINT "fk_rails_c24fca59c0"
|
33380
|
+
FOREIGN KEY ("user_role_id")
|
33381
|
+
REFERENCES "mks_auth_user_roles" ("id")
|
33382
|
+
[0m
|
33383
|
+
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "mks_auth_user_roles" ADD CONSTRAINT "fk_rails_b0b293e4e2"
|
33384
|
+
FOREIGN KEY ("application_module_id")
|
33385
|
+
REFERENCES "mks_auth_application_modules" ("id")
|
33386
|
+
[0m
|
33387
|
+
[1m[35m (3.3ms)[0m [1m[35mALTER TABLE "mks_auth_users_application_modules" ADD CONSTRAINT "fk_rails_b100f8542c"
|
33388
|
+
FOREIGN KEY ("application_module_id")
|
33389
|
+
REFERENCES "mks_auth_application_modules" ("id")
|
33390
|
+
[0m
|
33391
|
+
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "mks_auth_users_application_modules" ADD CONSTRAINT "fk_rails_1010e0182a"
|
33392
|
+
FOREIGN KEY ("user_id")
|
33393
|
+
REFERENCES "mks_auth_users" ("id")
|
33394
|
+
[0m
|
33395
|
+
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "mks_auth_users_user_roles" ADD CONSTRAINT "fk_rails_3dae904cd8"
|
33396
|
+
FOREIGN KEY ("user_role_id")
|
33397
|
+
REFERENCES "mks_auth_user_roles" ("id")
|
33398
|
+
[0m
|
33399
|
+
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "mks_auth_users_user_roles" ADD CONSTRAINT "fk_rails_7cc19890aa"
|
33400
|
+
FOREIGN KEY ("user_id")
|
33401
|
+
REFERENCES "mks_auth_users" ("id")
|
33402
|
+
[0m
|
33403
|
+
[1m[35m (3.3ms)[0m [1m[35mALTER TABLE "mks_edm_equipment_categories" ADD CONSTRAINT "fk_rails_37d48f9db9"
|
33404
|
+
FOREIGN KEY ("equipment_type_id")
|
33405
|
+
REFERENCES "mks_edm_equipment_types" ("id")
|
33406
|
+
[0m
|
33407
|
+
[1m[35m (3.4ms)[0m [1m[35mALTER TABLE "mks_edm_equipment_components" ADD CONSTRAINT "fk_rails_df30d7c6f8"
|
33408
|
+
FOREIGN KEY ("equipment_item_id")
|
33409
|
+
REFERENCES "mks_edm_equipment_items" ("id")
|
33410
|
+
[0m
|
33411
|
+
[1m[35m (2.5ms)[0m [1m[35mALTER TABLE "mks_edm_equipment_items" ADD CONSTRAINT "fk_rails_c0b56e395b"
|
33412
|
+
FOREIGN KEY ("current_location_id")
|
33413
|
+
REFERENCES "mks_edm_equipment_locations" ("id")
|
33414
|
+
[0m
|
33415
|
+
[1m[35m (3.2ms)[0m [1m[35mALTER TABLE "mks_edm_equipment_items" ADD CONSTRAINT "fk_rails_9c44a32cfe"
|
33416
|
+
FOREIGN KEY ("equipment_id")
|
33417
|
+
REFERENCES "mks_edm_equipments" ("id")
|
33418
|
+
[0m
|
33419
|
+
[1m[35m (3.0ms)[0m [1m[35mALTER TABLE "mks_edm_equipment_locations" ADD CONSTRAINT "fk_rails_4117320862"
|
33420
|
+
FOREIGN KEY ("location_type_id")
|
33421
|
+
REFERENCES "mks_edm_location_types" ("id")
|
33422
|
+
[0m
|
33423
|
+
[1m[35m (4.3ms)[0m [1m[35mALTER TABLE "mks_edm_equipment_valuations" ADD CONSTRAINT "fk_rails_b09a0ab3c3"
|
33424
|
+
FOREIGN KEY ("equipment_item_id")
|
33425
|
+
REFERENCES "mks_edm_equipment_items" ("id")
|
33426
|
+
[0m
|
33427
|
+
[1m[35m (4.3ms)[0m [1m[35mALTER TABLE "mks_edm_equipments" ADD CONSTRAINT "fk_rails_59110db010"
|
33428
|
+
FOREIGN KEY ("equipment_category_id")
|
33429
|
+
REFERENCES "mks_edm_equipment_categories" ("id")
|
33430
|
+
[0m
|
33431
|
+
[1m[35m (3.4ms)[0m [1m[35mALTER TABLE "mks_rate_bundle_discounts" ADD CONSTRAINT "fk_rails_e6bce7b79c"
|
33432
|
+
FOREIGN KEY ("chargeable_service_id")
|
33433
|
+
REFERENCES "mks_rate_chargeable_services" ("id")
|
33434
|
+
[0m
|
33435
|
+
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "mks_rate_bundle_discounts" ADD CONSTRAINT "fk_rails_72a3777128"
|
33436
|
+
FOREIGN KEY ("service_bundle_id")
|
33437
|
+
REFERENCES "mks_rate_service_bundles" ("id")
|
33438
|
+
[0m
|
33439
|
+
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "mks_rate_chargeable_service_discounts" ADD CONSTRAINT "fk_rails_688682e0b5"
|
33440
|
+
FOREIGN KEY ("chargeable_service_id")
|
33441
|
+
REFERENCES "mks_rate_chargeable_services" ("id")
|
33442
|
+
[0m
|
33443
|
+
[1m[35m (3.0ms)[0m [1m[35mALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_4e0ff36276"
|
33444
|
+
FOREIGN KEY ("service_delivery_unit_id")
|
33445
|
+
REFERENCES "mks_rate_service_delivery_units" ("id")
|
33446
|
+
[0m
|
33447
|
+
[1m[35m (3.7ms)[0m [1m[35mALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_c9195a9eb4"
|
33448
|
+
FOREIGN KEY ("service_type_id")
|
33449
|
+
REFERENCES "mks_rate_service_types" ("id")
|
33450
|
+
[0m
|
33451
|
+
[1m[35m (3.1ms)[0m [1m[35mALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_323d899c02"
|
33452
|
+
FOREIGN KEY ("base_unit_id")
|
33453
|
+
REFERENCES "mks_rate_unit_of_charges" ("id")
|
33454
|
+
[0m
|
33455
|
+
[1m[35m (3.6ms)[0m [1m[35mALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_a4bbde1129"
|
33456
|
+
FOREIGN KEY ("utilization_unit_id")
|
33457
|
+
REFERENCES "mks_rate_unit_of_charges" ("id")
|
33458
|
+
[0m
|
33459
|
+
[1m[35m (3.1ms)[0m [1m[35mALTER TABLE "mks_rate_rate_change_requests" ADD CONSTRAINT "fk_rails_1ec309ecbf"
|
33460
|
+
FOREIGN KEY ("approved_by_id")
|
33461
|
+
REFERENCES "mks_auth_users" ("id")
|
33462
|
+
[0m
|
33463
|
+
[1m[35m (3.1ms)[0m [1m[35mALTER TABLE "mks_rate_rate_change_requests" ADD CONSTRAINT "fk_rails_c0525c8963"
|
33464
|
+
FOREIGN KEY ("created_by_id")
|
33465
|
+
REFERENCES "mks_auth_users" ("id")
|
33466
|
+
[0m
|
33467
|
+
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "mks_rate_service_bundles" ADD CONSTRAINT "fk_rails_d6c823a60f"
|
33468
|
+
FOREIGN KEY ("service_delivery_unit_id")
|
33469
|
+
REFERENCES "mks_rate_service_delivery_units" ("id")
|
33470
|
+
[0m
|
33471
|
+
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "mks_rate_service_rates" ADD CONSTRAINT "fk_rails_8f0c330d29"
|
33472
|
+
FOREIGN KEY ("equipment_item_id")
|
33473
|
+
REFERENCES "mks_edm_equipment_items" ("id")
|
33474
|
+
[0m
|
33475
|
+
[1m[35m (2.5ms)[0m [1m[35mALTER TABLE "mks_rate_service_rates" ADD CONSTRAINT "fk_rails_a39cc6503a"
|
33476
|
+
FOREIGN KEY ("chargeable_service_id")
|
33477
|
+
REFERENCES "mks_rate_chargeable_services" ("id")
|
33478
|
+
[0m
|
33479
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
33480
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
33481
|
+
[1m[35m (1.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20180317043420)[0m
|
33482
|
+
[1m[35m (2.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
33483
|
+
(20171215080758),
|
33484
|
+
(20171215081601),
|
33485
|
+
(20171216024320),
|
33486
|
+
(20171216041414),
|
33487
|
+
(20171216070855),
|
33488
|
+
(20171217081426),
|
33489
|
+
(20171220133548);
|
33490
|
+
|
33491
|
+
[0m
|
33492
|
+
[1m[35m (6.3ms)[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
|
33493
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
33494
|
+
[1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
|
33495
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.0ms)[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-09-05 07:55:54.141935"], ["updated_at", "2018-09-05 07:55:54.141935"]]
|
33496
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
33497
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
33498
|
+
[1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
|
33499
|
+
[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-09-05 07:55:54.152035"], ["key", "environment"]]
|
33500
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|