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