mks_edm 1.0.2 → 1.0.4
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 +3486 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a97c1056350a2f9a56e67d5bc373f076b86da74d32aaa677fdcf9161a88d7960
|
4
|
+
data.tar.gz: 58d22add6a2282d6e920125a9b7fc6ddc094a8eddd20ee2bce8f8fbe48fbff0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0d52b7374a6024dca14e11a1e057ab51b078db89bc284bfe94c1b5b65163903252838bc07ca7db907aa6931083ab5cd38b63fa2f4483cae833aecbdec574054
|
7
|
+
data.tar.gz: e843135d0a320a8dc5c6e7039b58e7955cc4efd4f7e6d50d7c3afc8e7bef5b49c2e91f864bef8625799efa01e1d4a5bb368672c4f8ffde8447fe0a0537914ff5
|
data/lib/mks/edm/version.rb
CHANGED
@@ -33498,3 +33498,219 @@ FOREIGN KEY ("chargeable_service_id")
|
|
33498
33498
|
[1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
|
33499
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
33500
|
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
33501
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
33502
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
33503
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
33504
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
33505
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
33506
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
33507
|
+
[1m[35m (122.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "construction_test"[0m
|
33508
|
+
[1m[35m (434.5ms)[0m [1m[35mCREATE DATABASE "construction_test" ENCODING = 'utf8'[0m
|
33509
|
+
[1m[35mSQL (0.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
33510
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_application_modules" CASCADE[0m
|
33511
|
+
[1m[35m (12.3ms)[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
|
33512
|
+
[1m[35m (0.9ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_menus" CASCADE[0m
|
33513
|
+
[1m[35m (8.6ms)[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
|
33514
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_mks_auth_menus_on_application_module_id" ON "mks_auth_menus" ("application_module_id")[0m
|
33515
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_mks_auth_menus_on_parent_id" ON "mks_auth_menus" ("parent_id")[0m
|
33516
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_menus_user_roles" CASCADE[0m
|
33517
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "mks_auth_menus_user_roles" ("id" serial NOT NULL PRIMARY KEY, "menu_id" integer, "user_role_id" integer)[0m
|
33518
|
+
[1m[35m (6.1ms)[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
|
33519
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_user_roles" CASCADE[0m
|
33520
|
+
[1m[35m (7.9ms)[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
|
33521
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_mks_auth_user_roles_on_application_module_id" ON "mks_auth_user_roles" ("application_module_id")[0m
|
33522
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_users" CASCADE[0m
|
33523
|
+
[1m[35m (8.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
|
33524
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_users_application_modules" CASCADE[0m
|
33525
|
+
[1m[35m (2.0ms)[0m [1m[35mCREATE TABLE "mks_auth_users_application_modules" ("user_id" bigint, "application_module_id" bigint)[0m
|
33526
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "am_on_users_indx" ON "mks_auth_users_application_modules" ("user_id", "application_module_id")[0m
|
33527
|
+
[1m[35m (0.9ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_auth_users_user_roles" CASCADE[0m
|
33528
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE TABLE "mks_auth_users_user_roles" ("user_id" integer, "user_role_id" integer)[0m
|
33529
|
+
[1m[35m (3.9ms)[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
|
33530
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_equipment_categories" CASCADE[0m
|
33531
|
+
[1m[35m (8.1ms)[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
|
33532
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "ec_on_et_indx" ON "mks_edm_equipment_categories" ("equipment_type_id")[0m
|
33533
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_equipment_components" CASCADE[0m
|
33534
|
+
[1m[35m (8.6ms)[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
|
33535
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "ei_on_ec_indx" ON "mks_edm_equipment_components" ("equipment_item_id")[0m
|
33536
|
+
[1m[35m (0.9ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_equipment_items" CASCADE[0m
|
33537
|
+
[1m[35m (7.4ms)[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
|
33538
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "equipment_on_el_indx" ON "mks_edm_equipment_items" ("current_location_id")[0m
|
33539
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "equipment_on_ei_indx" ON "mks_edm_equipment_items" ("equipment_id")[0m
|
33540
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_equipment_locations" CASCADE[0m
|
33541
|
+
[1m[35m (9.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
|
33542
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "lt_on_el_indx" ON "mks_edm_equipment_locations" ("location_type_id")[0m
|
33543
|
+
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_equipment_types" CASCADE[0m
|
33544
|
+
[1m[35m (6.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
|
33545
|
+
[1m[35m (0.9ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_equipment_valuations" CASCADE[0m
|
33546
|
+
[1m[35m (6.8ms)[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
|
33547
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "ev_on_ei_indx" ON "mks_edm_equipment_valuations" ("equipment_item_id")[0m
|
33548
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_equipments" CASCADE[0m
|
33549
|
+
[1m[35m (7.2ms)[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
|
33550
|
+
[1m[35m (8.9ms)[0m [1m[35mCREATE INDEX "equipment_on_ec_indx" ON "mks_edm_equipments" ("equipment_category_id")[0m
|
33551
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_edm_location_types" CASCADE[0m
|
33552
|
+
[1m[35m (7.3ms)[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
|
33553
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_bundle_discounts" CASCADE[0m
|
33554
|
+
[1m[35m (5.5ms)[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
|
33555
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "cs_on_bd_indx" ON "mks_rate_bundle_discounts" ("chargeable_service_id")[0m
|
33556
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "sb_on_bd_indx" ON "mks_rate_bundle_discounts" ("service_bundle_id")[0m
|
33557
|
+
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_chargeable_service_discounts" CASCADE[0m
|
33558
|
+
[1m[35m (6.9ms)[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
|
33559
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_chargeable_services" CASCADE[0m
|
33560
|
+
[1m[35m (9.1ms)[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
|
33561
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "bu_on_cs_indx" ON "mks_rate_chargeable_services" ("base_unit_id")[0m
|
33562
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "sdu_on_cs_indx" ON "mks_rate_chargeable_services" ("service_delivery_unit_id")[0m
|
33563
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "st_on_cs_indx" ON "mks_rate_chargeable_services" ("service_type_id")[0m
|
33564
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "uu_on_cs_indx" ON "mks_rate_chargeable_services" ("utilization_unit_id")[0m
|
33565
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_rate_change_requests" CASCADE[0m
|
33566
|
+
[1m[35m (9.3ms)[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
|
33567
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "ab_on_rcr_indx" ON "mks_rate_rate_change_requests" ("approved_by_id")[0m
|
33568
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "cb_on_rcr_indx" ON "mks_rate_rate_change_requests" ("created_by_id")[0m
|
33569
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_mks_rate_rate_change_requests_on_reference_number" ON "mks_rate_rate_change_requests" ("reference_number")[0m
|
33570
|
+
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_service_bundles" CASCADE[0m
|
33571
|
+
[1m[35m (7.3ms)[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
|
33572
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "sdu_on_sb_indx" ON "mks_rate_service_bundles" ("service_delivery_unit_id")[0m
|
33573
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_service_delivery_units" CASCADE[0m
|
33574
|
+
[1m[35m (7.4ms)[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
|
33575
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_service_rates" CASCADE[0m
|
33576
|
+
[1m[35m (5.3ms)[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
|
33577
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "cs_on_sr_indx" ON "mks_rate_service_rates" ("chargeable_service_id")[0m
|
33578
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "cs_on_ei_indx" ON "mks_rate_service_rates" ("equipment_item_id")[0m
|
33579
|
+
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_service_types" CASCADE[0m
|
33580
|
+
[1m[35m (8.3ms)[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
|
33581
|
+
[1m[35m (0.9ms)[0m [1m[35mDROP TABLE IF EXISTS "mks_rate_unit_of_charges" CASCADE[0m
|
33582
|
+
[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
|
33583
|
+
[1m[35m (4.2ms)[0m [1m[35mALTER TABLE "mks_auth_menus" ADD CONSTRAINT "fk_rails_e5dd25fcb5"
|
33584
|
+
FOREIGN KEY ("application_module_id")
|
33585
|
+
REFERENCES "mks_auth_application_modules" ("id")
|
33586
|
+
[0m
|
33587
|
+
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "mks_auth_menus" ADD CONSTRAINT "fk_rails_826b2757bc"
|
33588
|
+
FOREIGN KEY ("parent_id")
|
33589
|
+
REFERENCES "mks_auth_menus" ("id")
|
33590
|
+
[0m
|
33591
|
+
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "mks_auth_menus_user_roles" ADD CONSTRAINT "fk_rails_1807c05e36"
|
33592
|
+
FOREIGN KEY ("menu_id")
|
33593
|
+
REFERENCES "mks_auth_menus" ("id")
|
33594
|
+
[0m
|
33595
|
+
[1m[35m (3.0ms)[0m [1m[35mALTER TABLE "mks_auth_menus_user_roles" ADD CONSTRAINT "fk_rails_c24fca59c0"
|
33596
|
+
FOREIGN KEY ("user_role_id")
|
33597
|
+
REFERENCES "mks_auth_user_roles" ("id")
|
33598
|
+
[0m
|
33599
|
+
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "mks_auth_user_roles" ADD CONSTRAINT "fk_rails_b0b293e4e2"
|
33600
|
+
FOREIGN KEY ("application_module_id")
|
33601
|
+
REFERENCES "mks_auth_application_modules" ("id")
|
33602
|
+
[0m
|
33603
|
+
[1m[35m (2.5ms)[0m [1m[35mALTER TABLE "mks_auth_users_application_modules" ADD CONSTRAINT "fk_rails_b100f8542c"
|
33604
|
+
FOREIGN KEY ("application_module_id")
|
33605
|
+
REFERENCES "mks_auth_application_modules" ("id")
|
33606
|
+
[0m
|
33607
|
+
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "mks_auth_users_application_modules" ADD CONSTRAINT "fk_rails_1010e0182a"
|
33608
|
+
FOREIGN KEY ("user_id")
|
33609
|
+
REFERENCES "mks_auth_users" ("id")
|
33610
|
+
[0m
|
33611
|
+
[1m[35m (4.1ms)[0m [1m[35mALTER TABLE "mks_auth_users_user_roles" ADD CONSTRAINT "fk_rails_3dae904cd8"
|
33612
|
+
FOREIGN KEY ("user_role_id")
|
33613
|
+
REFERENCES "mks_auth_user_roles" ("id")
|
33614
|
+
[0m
|
33615
|
+
[1m[35m (3.2ms)[0m [1m[35mALTER TABLE "mks_auth_users_user_roles" ADD CONSTRAINT "fk_rails_7cc19890aa"
|
33616
|
+
FOREIGN KEY ("user_id")
|
33617
|
+
REFERENCES "mks_auth_users" ("id")
|
33618
|
+
[0m
|
33619
|
+
[1m[35m (3.0ms)[0m [1m[35mALTER TABLE "mks_edm_equipment_categories" ADD CONSTRAINT "fk_rails_37d48f9db9"
|
33620
|
+
FOREIGN KEY ("equipment_type_id")
|
33621
|
+
REFERENCES "mks_edm_equipment_types" ("id")
|
33622
|
+
[0m
|
33623
|
+
[1m[35m (2.9ms)[0m [1m[35mALTER TABLE "mks_edm_equipment_components" ADD CONSTRAINT "fk_rails_df30d7c6f8"
|
33624
|
+
FOREIGN KEY ("equipment_item_id")
|
33625
|
+
REFERENCES "mks_edm_equipment_items" ("id")
|
33626
|
+
[0m
|
33627
|
+
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "mks_edm_equipment_items" ADD CONSTRAINT "fk_rails_c0b56e395b"
|
33628
|
+
FOREIGN KEY ("current_location_id")
|
33629
|
+
REFERENCES "mks_edm_equipment_locations" ("id")
|
33630
|
+
[0m
|
33631
|
+
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "mks_edm_equipment_items" ADD CONSTRAINT "fk_rails_9c44a32cfe"
|
33632
|
+
FOREIGN KEY ("equipment_id")
|
33633
|
+
REFERENCES "mks_edm_equipments" ("id")
|
33634
|
+
[0m
|
33635
|
+
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "mks_edm_equipment_locations" ADD CONSTRAINT "fk_rails_4117320862"
|
33636
|
+
FOREIGN KEY ("location_type_id")
|
33637
|
+
REFERENCES "mks_edm_location_types" ("id")
|
33638
|
+
[0m
|
33639
|
+
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "mks_edm_equipment_valuations" ADD CONSTRAINT "fk_rails_b09a0ab3c3"
|
33640
|
+
FOREIGN KEY ("equipment_item_id")
|
33641
|
+
REFERENCES "mks_edm_equipment_items" ("id")
|
33642
|
+
[0m
|
33643
|
+
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "mks_edm_equipments" ADD CONSTRAINT "fk_rails_59110db010"
|
33644
|
+
FOREIGN KEY ("equipment_category_id")
|
33645
|
+
REFERENCES "mks_edm_equipment_categories" ("id")
|
33646
|
+
[0m
|
33647
|
+
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "mks_rate_bundle_discounts" ADD CONSTRAINT "fk_rails_e6bce7b79c"
|
33648
|
+
FOREIGN KEY ("chargeable_service_id")
|
33649
|
+
REFERENCES "mks_rate_chargeable_services" ("id")
|
33650
|
+
[0m
|
33651
|
+
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "mks_rate_bundle_discounts" ADD CONSTRAINT "fk_rails_72a3777128"
|
33652
|
+
FOREIGN KEY ("service_bundle_id")
|
33653
|
+
REFERENCES "mks_rate_service_bundles" ("id")
|
33654
|
+
[0m
|
33655
|
+
[1m[35m (2.9ms)[0m [1m[35mALTER TABLE "mks_rate_chargeable_service_discounts" ADD CONSTRAINT "fk_rails_688682e0b5"
|
33656
|
+
FOREIGN KEY ("chargeable_service_id")
|
33657
|
+
REFERENCES "mks_rate_chargeable_services" ("id")
|
33658
|
+
[0m
|
33659
|
+
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_4e0ff36276"
|
33660
|
+
FOREIGN KEY ("service_delivery_unit_id")
|
33661
|
+
REFERENCES "mks_rate_service_delivery_units" ("id")
|
33662
|
+
[0m
|
33663
|
+
[1m[35m (2.5ms)[0m [1m[35mALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_c9195a9eb4"
|
33664
|
+
FOREIGN KEY ("service_type_id")
|
33665
|
+
REFERENCES "mks_rate_service_types" ("id")
|
33666
|
+
[0m
|
33667
|
+
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_323d899c02"
|
33668
|
+
FOREIGN KEY ("base_unit_id")
|
33669
|
+
REFERENCES "mks_rate_unit_of_charges" ("id")
|
33670
|
+
[0m
|
33671
|
+
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "mks_rate_chargeable_services" ADD CONSTRAINT "fk_rails_a4bbde1129"
|
33672
|
+
FOREIGN KEY ("utilization_unit_id")
|
33673
|
+
REFERENCES "mks_rate_unit_of_charges" ("id")
|
33674
|
+
[0m
|
33675
|
+
[1m[35m (3.1ms)[0m [1m[35mALTER TABLE "mks_rate_rate_change_requests" ADD CONSTRAINT "fk_rails_1ec309ecbf"
|
33676
|
+
FOREIGN KEY ("approved_by_id")
|
33677
|
+
REFERENCES "mks_auth_users" ("id")
|
33678
|
+
[0m
|
33679
|
+
[1m[35m (3.1ms)[0m [1m[35mALTER TABLE "mks_rate_rate_change_requests" ADD CONSTRAINT "fk_rails_c0525c8963"
|
33680
|
+
FOREIGN KEY ("created_by_id")
|
33681
|
+
REFERENCES "mks_auth_users" ("id")
|
33682
|
+
[0m
|
33683
|
+
[1m[35m (3.2ms)[0m [1m[35mALTER TABLE "mks_rate_service_bundles" ADD CONSTRAINT "fk_rails_d6c823a60f"
|
33684
|
+
FOREIGN KEY ("service_delivery_unit_id")
|
33685
|
+
REFERENCES "mks_rate_service_delivery_units" ("id")
|
33686
|
+
[0m
|
33687
|
+
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "mks_rate_service_rates" ADD CONSTRAINT "fk_rails_8f0c330d29"
|
33688
|
+
FOREIGN KEY ("equipment_item_id")
|
33689
|
+
REFERENCES "mks_edm_equipment_items" ("id")
|
33690
|
+
[0m
|
33691
|
+
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "mks_rate_service_rates" ADD CONSTRAINT "fk_rails_a39cc6503a"
|
33692
|
+
FOREIGN KEY ("chargeable_service_id")
|
33693
|
+
REFERENCES "mks_rate_chargeable_services" ("id")
|
33694
|
+
[0m
|
33695
|
+
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
33696
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
33697
|
+
[1m[35m (1.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20180317043420)[0m
|
33698
|
+
[1m[35m (1.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
33699
|
+
(20171215080758),
|
33700
|
+
(20171215081601),
|
33701
|
+
(20171216024320),
|
33702
|
+
(20171216041414),
|
33703
|
+
(20171216070855),
|
33704
|
+
(20171217081426),
|
33705
|
+
(20171220133548);
|
33706
|
+
|
33707
|
+
[0m
|
33708
|
+
[1m[35m (6.7ms)[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
|
33709
|
+
[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]]
|
33710
|
+
[1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
|
33711
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.3ms)[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 13:24:40.504650"], ["updated_at", "2018-09-05 13:24:40.504650"]]
|
33712
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
33713
|
+
[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]]
|
33714
|
+
[1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
|
33715
|
+
[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 13:24:40.515443"], ["key", "environment"]]
|
33716
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|