snf_core 0.2.93 → 0.2.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/snf_core/auth_controller.rb +33 -0
  3. data/config/routes.rb +1 -1
  4. data/db/migrate/20250226080323_create_snf_core_businesses.rb +1 -1
  5. data/db/migrate/20250305232530_create_snf_core_user_roles.rb +2 -2
  6. data/lib/snf_core/version.rb +1 -1
  7. data/spec/dummy/config/environments/development.rb +8 -10
  8. data/spec/dummy/db/schema.rb +27 -27
  9. data/spec/dummy/log/development.log +442 -0
  10. data/spec/dummy/log/test.log +71052 -0
  11. data/spec/dummy/tmp/storage/0d/06/0d06loox3k7eov84ctxqlr7es62y +0 -0
  12. data/spec/dummy/tmp/storage/0f/mg/0fmgfbcjx3062446r5sb74i1yaop +0 -0
  13. data/spec/dummy/tmp/storage/0g/42/0g42chjo4kjajnwuko4pxh65xioi +0 -0
  14. data/spec/dummy/tmp/storage/0j/yl/0jylvdj86zcf9py4jreuxm4jd27y +0 -0
  15. data/spec/dummy/tmp/storage/0l/au/0lauwyvh2jz4cb7crwjdi4dalw6o +0 -0
  16. data/spec/dummy/tmp/storage/1n/sv/1nsv43xgjo50ouaifq757ef6gy5f +0 -0
  17. data/spec/dummy/tmp/storage/1r/lw/1rlwjla8z1riqvrga2a3rvms670e +0 -0
  18. data/spec/dummy/tmp/storage/20/p4/20p4ymzjd3qy3sh9f9bbpxw2a8h2 +0 -0
  19. data/spec/dummy/tmp/storage/2n/r6/2nr6p9wt4jgsyk0pbvf7vagvrh8t +0 -0
  20. data/spec/dummy/tmp/storage/2r/ny/2rnybicjbrsw6pdmaoyj8f9sxxaq +0 -0
  21. data/spec/dummy/tmp/storage/38/wp/38wpttcqfkmm1sqh4rugrsli6arz +0 -0
  22. data/spec/dummy/tmp/storage/3t/1f/3t1fhar9eatf4oh3kh5ne77wjlo8 +0 -0
  23. data/spec/dummy/tmp/storage/42/cf/42cf3l7nla3bl64wezbhwd5yc6yi +0 -0
  24. data/spec/dummy/tmp/storage/52/ed/52ed6pa5bayxu966bnzd4r7vfr5i +0 -0
  25. data/spec/dummy/tmp/storage/5c/1i/5c1i8vfr81kibsmy2id9plp74oc5 +0 -0
  26. data/spec/dummy/tmp/storage/5g/4k/5g4kyd9z59me1jqxw94tcdijfy6u +0 -0
  27. data/spec/dummy/tmp/storage/5l/n8/5ln8h3958owro1x84wkcgdnu0jqc +0 -0
  28. data/spec/dummy/tmp/storage/5o/sq/5osq7rdic48at5pkcoqdpf0ios2p +0 -0
  29. data/spec/dummy/tmp/storage/60/ap/60apljsclrdokzuqhu179rt7obh2 +0 -0
  30. data/spec/dummy/tmp/storage/66/fc/66fcsnze3roffkv3kn82p1i1jihe +0 -0
  31. data/spec/dummy/tmp/storage/68/45/68451e6tuxl501pub9n9uvcxye8d +0 -0
  32. data/spec/dummy/tmp/storage/6x/o7/6xo7qmei42tzx4fkkos3vansvfm6 +0 -0
  33. data/spec/dummy/tmp/storage/7f/uh/7fuhzmriza5m3agsu0l0yovug7xi +0 -0
  34. data/spec/dummy/tmp/storage/83/ks/83ksy3z3h9c3zbtkdys99orqxnel +0 -0
  35. data/spec/dummy/tmp/storage/84/44/8444l1dt5w3csoc2jwnrnke5ug7p +0 -0
  36. data/spec/dummy/tmp/storage/86/ca/86calk6vmutaxfekc7egxnnca43l +0 -0
  37. data/spec/dummy/tmp/storage/8h/c8/8hc8rt6dfy91bjewm7tsybana0u6 +0 -0
  38. data/spec/dummy/tmp/storage/96/2l/962l3tf45ebi2ji3gj2vm6puqi8g +0 -0
  39. data/spec/dummy/tmp/storage/9r/pj/9rpjb9yprd0r2l3jxcdef35mkste +0 -0
  40. data/spec/dummy/tmp/storage/a5/od/a5odckpcox2euydeaq71bxrjrewq +0 -0
  41. data/spec/dummy/tmp/storage/ap/d0/apd00py96d0r36yugx13tpd5zbwx +0 -0
  42. data/spec/dummy/tmp/storage/ax/ci/axci3ungck10rkvktcx9qtvawrrp +0 -0
  43. data/spec/dummy/tmp/storage/b9/6v/b96v26bb40vjk7rzeqh5pakid6br +0 -0
  44. data/spec/dummy/tmp/storage/bd/qj/bdqj5lortwlvne25ff3yyalbb36s +0 -0
  45. data/spec/dummy/tmp/storage/c3/qp/c3qp7hmde07vm5h6l6knks723882 +0 -0
  46. data/spec/dummy/tmp/storage/c4/34/c434kxxkpwr1tu5bbxdw9gnaojcc +0 -0
  47. data/spec/dummy/tmp/storage/cf/gf/cfgfauaxy8972di6j3j7jhw5wnfl +0 -0
  48. data/spec/dummy/tmp/storage/ci/3u/ci3ujw5b51cm3av9ng0p65eglpsg +0 -0
  49. data/spec/dummy/tmp/storage/cp/86/cp866po3l9kro8r4nljypf7ity8n +0 -0
  50. data/spec/dummy/tmp/storage/cr/04/cr04d10tkfv52ktqgv5rw7gat9iw +0 -0
  51. data/spec/dummy/tmp/storage/d9/cf/d9cfyu98zmmi511iwma09ovl6com +0 -0
  52. data/spec/dummy/tmp/storage/df/bm/dfbmp6rymaqlly3dbpc24gh664gy +0 -0
  53. data/spec/dummy/tmp/storage/dn/0t/dn0t6pcrja6cjxglc7g30ir7yk64 +0 -0
  54. data/spec/dummy/tmp/storage/dz/8f/dz8ftt7idroaj4i1e6dlwnmtuu9y +0 -0
  55. data/spec/dummy/tmp/storage/fa/1u/fa1ugjfxcd8hrm98brl062qgxcq3 +0 -0
  56. data/spec/dummy/tmp/storage/fj/ou/fjougong6j06e046zrn8fskuhq5p +0 -0
  57. data/spec/dummy/tmp/storage/fl/aw/flawxyrk6bepl9e4qybqwhq3otea +0 -0
  58. data/spec/dummy/tmp/storage/fr/6y/fr6yhpy998uho3r0db4prsqfd30u +0 -0
  59. data/spec/dummy/tmp/storage/fr/cc/frccz5in1239kncwgb50cfcs8ujo +0 -0
  60. data/spec/dummy/tmp/storage/gh/4e/gh4eted2i4uuijdb99yug70e5oho +0 -0
  61. data/spec/dummy/tmp/storage/ho/cx/hocx3wofwlpt45jsn4hajeub2629 +0 -0
  62. data/spec/dummy/tmp/storage/i7/q5/i7q5v5qq4zfexcpe0x9jfw5iwi6e +0 -0
  63. data/spec/dummy/tmp/storage/iu/p5/iup5sduqqzumtymzw6g75kmtj4kq +0 -0
  64. data/spec/dummy/tmp/storage/ja/gd/jagd3s4q6qfpo12dhrit2p49dyic +0 -0
  65. data/spec/dummy/tmp/storage/k9/8i/k98igdz816l8eodso61imb4dvqx3 +0 -0
  66. data/spec/dummy/tmp/storage/km/5u/km5uprp4d8w6l4h7yzix3dono3pl +0 -0
  67. data/spec/dummy/tmp/storage/ko/j0/koj0d9vpwacdvxlzb68kllhfx2kv +0 -0
  68. data/spec/dummy/tmp/storage/l0/4j/l04jyb0j5ak89dqnliwqx1wyzftu +0 -0
  69. data/spec/dummy/tmp/storage/l1/f8/l1f8gfo9kkiv8cq3ag179j24dntk +0 -0
  70. data/spec/dummy/tmp/storage/l2/rf/l2rfsult7ix6hrssrjn7ntsk4ln2 +0 -0
  71. data/spec/dummy/tmp/storage/l7/kw/l7kwoq4oqz0m8cr0i3y8gdjk7r33 +0 -0
  72. data/spec/dummy/tmp/storage/lf/za/lfza3dsbodpk6z7iy09qbpl40frd +0 -0
  73. data/spec/dummy/tmp/storage/lp/v0/lpv0oveyj4fimz5qnr3m00qxto1y +0 -0
  74. data/spec/dummy/tmp/storage/m1/5t/m15t6klkta6age0fefcmjovfle8o +0 -0
  75. data/spec/dummy/tmp/storage/m5/kb/m5kb1ipzihfx7zp95bd9ycxj6bqr +0 -0
  76. data/spec/dummy/tmp/storage/mg/j1/mgj1jsli6wiilzm3jobz59s35pow +0 -0
  77. data/spec/dummy/tmp/storage/mh/fj/mhfj18ll8xk1a6torxs7qvp2aa4l +0 -0
  78. data/spec/dummy/tmp/storage/n2/ve/n2ve8ei20je4jmgn9j0gg2chgnxp +0 -0
  79. data/spec/dummy/tmp/storage/na/ft/naft1014ecwdt1jycd5ytz6xb71v +0 -0
  80. data/spec/dummy/tmp/storage/nn/32/nn32kv58hv553251wquaguwave7c +0 -0
  81. data/spec/dummy/tmp/storage/qj/cu/qjcun2xcpf24hyilgh4s0wmw2e4p +0 -0
  82. data/spec/dummy/tmp/storage/r7/zp/r7zpfxlptww5orr9moeadoj0g3kg +0 -0
  83. data/spec/dummy/tmp/storage/ra/d6/rad620vsvw8q9n9vvx8i6wljyfjz +0 -0
  84. data/spec/dummy/tmp/storage/rf/po/rfpocvfi81i4au539e67w8o94bbr +0 -0
  85. data/spec/dummy/tmp/storage/rz/9e/rz9e1eck0jk7ponsnlwi1gav505a +0 -0
  86. data/spec/dummy/tmp/storage/sg/30/sg30putzvuc4p01earzjr0u7f65i +0 -0
  87. data/spec/dummy/tmp/storage/sl/2u/sl2ufrosy5wej3jghaj8zmb0xiz8 +0 -0
  88. data/spec/dummy/tmp/storage/t7/bd/t7bdp3p4o9z3bmmla22dr2sej9le +0 -0
  89. data/spec/dummy/tmp/storage/t8/3p/t83p5pkfd8ageym4qcdzvwbg8i3h +0 -0
  90. data/spec/dummy/tmp/storage/u0/sz/u0szro8mpff4scduzbn9sm4q9mpo +0 -0
  91. data/spec/dummy/tmp/storage/u6/8m/u68mm1ppbb9zuk1w8cpgwq4fxnfl +0 -0
  92. data/spec/dummy/tmp/storage/ue/i3/uei37wn7tdo938m1ih3jponomr7k +0 -0
  93. data/spec/dummy/tmp/storage/up/86/up86jhycgirblh2hop31nskoj6h2 +0 -0
  94. data/spec/dummy/tmp/storage/ur/f0/urf0ml010ripl9eks0kitboy5hko +0 -0
  95. data/spec/dummy/tmp/storage/v1/a2/v1a2h0c0xy9cuejexqy3a8ix794i +0 -0
  96. data/spec/dummy/tmp/storage/y6/u6/y6u622dz88furl064b7ixmdrx0y1 +0 -0
  97. data/spec/dummy/tmp/storage/yh/lt/yhlt1d30zxc5e074164sw9f2lwtb +0 -0
  98. data/spec/dummy/tmp/storage/ys/kt/yskt9vfrlpw90zaqxorq9pfa383r +0 -0
  99. data/spec/dummy/tmp/storage/zb/ke/zbkeh8j7fx7u3fqu28anb6mso6xz +0 -0
  100. data/spec/dummy/tmp/storage/zf/bm/zfbmpgsfvuwwpvsa2i11z5x5usgp +0 -0
  101. data/spec/examples.txt +125 -123
  102. data/spec/factories/snf_core/users.rb +1 -1
  103. data/spec/mailers/previews/snf_core/auth_mailer_preview.rb +0 -1
  104. data/spec/models/snf_core/order_item_spec.rb +64 -64
  105. data/spec/models/snf_core/user_role_spec.rb +1 -1
  106. data/spec/requests/snf_core/auth_spec.rb +43 -1
  107. metadata +92 -3
  108. data/spec/dummy/tmp/pids/server.pid +0 -1
@@ -3024,3 +3024,445 @@ Content-Transfer-Encoding: 7bit
3024
3024
  Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 42.4ms (4 queries, 0 cached) | GC: 5.0ms)
3025
3025
 
3026
3026
 
3027
+ ActiveRecord::SchemaMigration Load (2.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/
3028
+ ActiveRecord::InternalMetadata Load (2.6ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'environment' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/
3029
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/
3030
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'environment' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/
3031
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/
3032
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'environment' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/
3033
+ SQL (0.2ms) SET search_path TO public /*application='Dummy'*/
3034
+  (142.3ms) DROP DATABASE IF EXISTS "snf_dev" /*application='Dummy'*/
3035
+ SQL (0.1ms) SET search_path TO public /*application='Dummy'*/
3036
+  (48.4ms) DROP DATABASE IF EXISTS "snf_test" /*application='Dummy'*/
3037
+ SQL (0.1ms) SET search_path TO public /*application='Dummy'*/
3038
+  (125.0ms) CREATE DATABASE "snf_dev" ENCODING = 'unicode' /*application='Dummy'*/
3039
+ SQL (0.1ms) SET search_path TO public /*application='Dummy'*/
3040
+  (70.0ms) CREATE DATABASE "snf_test" ENCODING = 'unicode' /*application='Dummy'*/
3041
+ SQL (1.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" SCHEMA pg_catalog /*application='Dummy'*/
3042
+  (10.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) /*application='Dummy'*/
3043
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/
3044
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (0) /*application='Dummy'*/
3045
+  (1.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL) /*application='Dummy'*/
3046
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'environment' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/
3047
+ ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'development', '2025-03-07 13:38:51.591091', '2025-03-07 13:38:51.591094') RETURNING "key" /*application='Dummy'*/
3048
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'environment' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/
3049
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'schema_sha1' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/
3050
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('schema_sha1', '9c6777daaa6ce85cc74b26c38000144a7834a947', '2025-03-07 13:38:51.594216', '2025-03-07 13:38:51.594218') RETURNING "key" /*application='Dummy'*/
3051
+  (0.2ms) SELECT pg_try_advisory_lock(869468062957908540) /*application='Dummy'*/
3052
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/
3053
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'environment' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/
3054
+ Migrating to CreateSnfCoreUsers (20250226042622)
3055
+ TRANSACTION (0.1ms) BEGIN /*application='Dummy'*/
3056
+  (4.4ms) CREATE TABLE "snf_core_users" ("id" bigserial primary key, "first_name" character varying NOT NULL, "middle_name" character varying NOT NULL, "last_name" character varying NOT NULL, "email" character varying, "phone_number" character varying NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL) /*application='Dummy'*/
3057
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226042622') RETURNING "version" /*application='Dummy'*/
3058
+ TRANSACTION (0.3ms) COMMIT /*application='Dummy'*/
3059
+ Migrating to CreateSnfCoreCategories (20250226064444)
3060
+ TRANSACTION (0.2ms) BEGIN /*application='Dummy'*/
3061
+  (4.2ms) CREATE TABLE "snf_core_categories" ("id" bigserial primary key, "name" character varying NOT NULL, "description" character varying, "parent_id" bigint, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_26a925b05d"
3062
+ FOREIGN KEY ("parent_id")
3063
+ REFERENCES "snf_core_categories" ("id")
3064
+ ) /*application='Dummy'*/
3065
+  (0.7ms) CREATE INDEX "index_snf_core_categories_on_parent_id" ON "snf_core_categories" ("parent_id") /*application='Dummy'*/
3066
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226064444') RETURNING "version" /*application='Dummy'*/
3067
+ TRANSACTION (0.3ms) COMMIT /*application='Dummy'*/
3068
+ Migrating to CreateSnfCoreBusinesses (20250226080323)
3069
+ TRANSACTION (0.3ms) BEGIN /*application='Dummy'*/
3070
+  (1.4ms) CREATE TABLE "snf_core_businesses" ("id" bigserial primary key, "user_id" bigint NOT NULL, "business_name" character varying NOT NULL, "tin_number" character varying NOT NULL, "business_type" integer NOT NULL, "verified_at" timestamp(6), "verification_status" integer DEFAULT 0 NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_a61edcbd4b"
3071
+ FOREIGN KEY ("user_id")
3072
+ REFERENCES "snf_core_users" ("id")
3073
+ ) /*application='Dummy'*/
3074
+  (0.4ms) CREATE INDEX "index_snf_core_businesses_on_user_id" ON "snf_core_businesses" ("user_id") /*application='Dummy'*/
3075
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226080323') RETURNING "version" /*application='Dummy'*/
3076
+ TRANSACTION (0.5ms) COMMIT /*application='Dummy'*/
3077
+ Migrating to CreateSnfCoreBusinessDocuments (20250226102931)
3078
+ TRANSACTION (0.2ms) BEGIN /*application='Dummy'*/
3079
+  (1.6ms) CREATE TABLE "snf_core_business_documents" ("id" bigserial primary key, "business_id" bigint NOT NULL, "document_type" integer NOT NULL, "verified_at" timestamp(6), "verified_by_id" bigint, "uploaded_at" timestamp(6), "is_verified" boolean DEFAULT FALSE NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_1efd7338ed"
3080
+ FOREIGN KEY ("business_id")
3081
+ REFERENCES "snf_core_businesses" ("id")
3082
+ , CONSTRAINT "fk_rails_a6157021cc"
3083
+ FOREIGN KEY ("verified_by_id")
3084
+ REFERENCES "snf_core_users" ("id")
3085
+ ) /*application='Dummy'*/
3086
+  (1.4ms) CREATE INDEX "index_snf_core_business_documents_on_business_id" ON "snf_core_business_documents" ("business_id") /*application='Dummy'*/
3087
+  (0.4ms) CREATE INDEX "index_snf_core_business_documents_on_verified_by_id" ON "snf_core_business_documents" ("verified_by_id") /*application='Dummy'*/
3088
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226102931') RETURNING "version" /*application='Dummy'*/
3089
+ TRANSACTION (0.1ms) COMMIT /*application='Dummy'*/
3090
+ Migrating to CreateSnfCoreAddresses (20250226110217)
3091
+ TRANSACTION (0.2ms) BEGIN /*application='Dummy'*/
3092
+  (2.4ms) CREATE TABLE "snf_core_addresses" ("id" bigserial primary key, "address_type" character varying NOT NULL, "city" character varying NOT NULL, "sub_city" character varying NOT NULL, "woreda" character varying, "latitude" decimal NOT NULL, "longitude" decimal NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL) /*application='Dummy'*/
3093
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226110217') RETURNING "version" /*application='Dummy'*/
3094
+ TRANSACTION (1.9ms) COMMIT /*application='Dummy'*/
3095
+ Migrating to CreateSnfCoreStores (20250226115215)
3096
+ TRANSACTION (0.2ms) BEGIN /*application='Dummy'*/
3097
+  (5.9ms) CREATE TABLE "snf_core_stores" ("id" bigserial primary key, "name" character varying NOT NULL, "email" character varying, "operational_status" integer DEFAULT 1 NOT NULL, "business_id" bigint NOT NULL, "address_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_e100fc7454"
3098
+ FOREIGN KEY ("business_id")
3099
+ REFERENCES "snf_core_businesses" ("id")
3100
+ , CONSTRAINT "fk_rails_421441da8e"
3101
+ FOREIGN KEY ("address_id")
3102
+ REFERENCES "snf_core_addresses" ("id")
3103
+ ) /*application='Dummy'*/
3104
+  (0.5ms) CREATE INDEX "index_snf_core_stores_on_business_id" ON "snf_core_stores" ("business_id") /*application='Dummy'*/
3105
+  (0.5ms) CREATE INDEX "index_snf_core_stores_on_address_id" ON "snf_core_stores" ("address_id") /*application='Dummy'*/
3106
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226115215') RETURNING "version" /*application='Dummy'*/
3107
+ TRANSACTION (13.2ms) COMMIT /*application='Dummy'*/
3108
+ Migrating to CreateActiveStorageTables (20250226123213)
3109
+ TRANSACTION (0.3ms) BEGIN /*application='Dummy'*/
3110
+  (3.0ms) CREATE TABLE "active_storage_blobs" ("id" bigserial primary key, "key" character varying NOT NULL, "filename" character varying NOT NULL, "content_type" character varying, "metadata" text, "service_name" character varying NOT NULL, "byte_size" bigint NOT NULL, "checksum" character varying, "created_at" timestamp(6) NOT NULL) /*application='Dummy'*/
3111
+  (0.7ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key") /*application='Dummy'*/
3112
+  (11.0ms) CREATE TABLE "active_storage_attachments" ("id" bigserial primary key, "name" character varying NOT NULL, "record_type" character varying NOT NULL, "record_id" bigint NOT NULL, "blob_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_c3b3935057"
3113
+ FOREIGN KEY ("blob_id")
3114
+ REFERENCES "active_storage_blobs" ("id")
3115
+ ) /*application='Dummy'*/
3116
+  (18.1ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id") /*application='Dummy'*/
3117
+  (16.1ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id") /*application='Dummy'*/
3118
+  (54.2ms) CREATE TABLE "active_storage_variant_records" ("id" bigserial primary key, "blob_id" bigint NOT NULL, "variation_digest" character varying NOT NULL, CONSTRAINT "fk_rails_993965df05"
3119
+ FOREIGN KEY ("blob_id")
3120
+ REFERENCES "active_storage_blobs" ("id")
3121
+ ) /*application='Dummy'*/
3122
+  (1.1ms) CREATE UNIQUE INDEX "index_active_storage_variant_records_uniqueness" ON "active_storage_variant_records" ("blob_id", "variation_digest") /*application='Dummy'*/
3123
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226123213') RETURNING "version" /*application='Dummy'*/
3124
+ TRANSACTION (22.6ms) COMMIT /*application='Dummy'*/
3125
+ Migrating to CreateSnfCoreProducts (20250226181007)
3126
+ TRANSACTION (0.8ms) BEGIN /*application='Dummy'*/
3127
+  (6.6ms) CREATE TABLE "snf_core_products" ("id" bigserial primary key, "sku" character varying NOT NULL, "name" character varying NOT NULL, "description" character varying, "category_id" bigint NOT NULL, "base_price" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_a0ba3fa883"
3128
+ FOREIGN KEY ("category_id")
3129
+ REFERENCES "snf_core_categories" ("id")
3130
+ ) /*application='Dummy'*/
3131
+  (1.3ms) CREATE INDEX "index_snf_core_products_on_category_id" ON "snf_core_products" ("category_id") /*application='Dummy'*/
3132
+ ActiveRecord::SchemaMigration Create (1.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226181007') RETURNING "version" /*application='Dummy'*/
3133
+ TRANSACTION (0.4ms) COMMIT /*application='Dummy'*/
3134
+ Migrating to CreateSnfCoreStoreInventories (20250226190000)
3135
+ TRANSACTION (0.6ms) BEGIN /*application='Dummy'*/
3136
+  (48.4ms) CREATE TABLE "snf_core_store_inventories" ("id" bigserial primary key, "store_id" bigint NOT NULL, "product_id" bigint NOT NULL, "stock_quantity" integer DEFAULT 0 NOT NULL, "base_price" decimal(10,2) NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_2ca88d30e2"
3137
+ FOREIGN KEY ("store_id")
3138
+ REFERENCES "snf_core_stores" ("id")
3139
+ , CONSTRAINT "fk_rails_15fb263e75"
3140
+ FOREIGN KEY ("product_id")
3141
+ REFERENCES "snf_core_products" ("id")
3142
+ ) /*application='Dummy'*/
3143
+  (11.6ms) CREATE INDEX "index_snf_core_store_inventories_on_store_id" ON "snf_core_store_inventories" ("store_id") /*application='Dummy'*/
3144
+  (1.9ms) CREATE INDEX "index_snf_core_store_inventories_on_product_id" ON "snf_core_store_inventories" ("product_id") /*application='Dummy'*/
3145
+  (0.8ms) CREATE UNIQUE INDEX "index_snf_core_store_inventories_on_store_id_and_product_id" ON "snf_core_store_inventories" ("store_id", "product_id") /*application='Dummy'*/
3146
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226190000') RETURNING "version" /*application='Dummy'*/
3147
+ TRANSACTION (0.3ms) COMMIT /*application='Dummy'*/
3148
+ Migrating to CreateSnfCoreGroups (20250226192104)
3149
+ TRANSACTION (0.4ms) BEGIN /*application='Dummy'*/
3150
+  (6.0ms) CREATE TABLE "snf_core_groups" ("id" bigserial primary key, "name" character varying NOT NULL, "business_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_c52b27ad67"
3151
+ FOREIGN KEY ("business_id")
3152
+ REFERENCES "snf_core_businesses" ("id")
3153
+ ) /*application='Dummy'*/
3154
+  (1.1ms) CREATE INDEX "index_snf_core_groups_on_business_id" ON "snf_core_groups" ("business_id") /*application='Dummy'*/
3155
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226192104') RETURNING "version" /*application='Dummy'*/
3156
+ TRANSACTION (0.3ms) COMMIT /*application='Dummy'*/
3157
+ Migrating to CreateSnfCoreCustomerGroups (20250226193938)
3158
+ TRANSACTION (0.4ms) BEGIN /*application='Dummy'*/
3159
+  (5.7ms) CREATE TABLE "snf_core_customer_groups" ("id" bigserial primary key, "discount_code" character varying, "expire_date" timestamp(6), "is_used" boolean, "group_id" bigint NOT NULL, "customer_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_9c45f4015a"
3160
+ FOREIGN KEY ("group_id")
3161
+ REFERENCES "snf_core_groups" ("id")
3162
+ , CONSTRAINT "fk_rails_792eb3404d"
3163
+ FOREIGN KEY ("customer_id")
3164
+ REFERENCES "snf_core_users" ("id")
3165
+ ) /*application='Dummy'*/
3166
+  (0.8ms) CREATE INDEX "index_snf_core_customer_groups_on_group_id" ON "snf_core_customer_groups" ("group_id") /*application='Dummy'*/
3167
+  (0.8ms) CREATE INDEX "index_snf_core_customer_groups_on_customer_id" ON "snf_core_customer_groups" ("customer_id") /*application='Dummy'*/
3168
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226193938') RETURNING "version" /*application='Dummy'*/
3169
+ TRANSACTION (0.2ms) COMMIT /*application='Dummy'*/
3170
+ Migrating to CreateSnfCoreWallets (20250227075048)
3171
+ TRANSACTION (0.3ms) BEGIN /*application='Dummy'*/
3172
+  (3.4ms) CREATE TABLE "snf_core_wallets" ("id" bigserial primary key, "user_id" bigint NOT NULL, "wallet_number" character varying NOT NULL, "balance" decimal NOT NULL, "is_active" boolean DEFAULT TRUE NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_77c94979ce"
3173
+ FOREIGN KEY ("user_id")
3174
+ REFERENCES "snf_core_users" ("id")
3175
+ ) /*application='Dummy'*/
3176
+  (0.8ms) CREATE INDEX "index_snf_core_wallets_on_user_id" ON "snf_core_wallets" ("user_id") /*application='Dummy'*/
3177
+  (0.7ms) CREATE UNIQUE INDEX "index_snf_core_wallets_on_wallet_number" ON "snf_core_wallets" ("wallet_number") /*application='Dummy'*/
3178
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250227075048') RETURNING "version" /*application='Dummy'*/
3179
+ TRANSACTION (0.4ms) COMMIT /*application='Dummy'*/
3180
+ Migrating to ModifyStoreInventories (20250227102833)
3181
+ TRANSACTION (0.3ms) BEGIN /*application='Dummy'*/
3182
+  (1.9ms) ALTER TABLE "snf_core_store_inventories" DROP COLUMN "stock_quantity" /*application='Dummy'*/
3183
+  (0.3ms) ALTER TABLE "snf_core_store_inventories" ADD "status" integer DEFAULT 0 NOT NULL /*application='Dummy'*/
3184
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250227102833') RETURNING "version" /*application='Dummy'*/
3185
+ TRANSACTION (0.2ms) COMMIT /*application='Dummy'*/
3186
+ Migrating to CreateSnfCoreOrders (20250305165926)
3187
+ TRANSACTION (0.1ms) BEGIN /*application='Dummy'*/
3188
+  (4.9ms) CREATE TABLE "snf_core_orders" ("id" bigserial primary key, "user_id" bigint NOT NULL, "store_id" bigint NOT NULL, "status" integer DEFAULT 1 NOT NULL, "total_amount" decimal DEFAULT 0.0 NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_45b78fb6f9"
3189
+ FOREIGN KEY ("user_id")
3190
+ REFERENCES "snf_core_users" ("id")
3191
+ , CONSTRAINT "fk_rails_400cf2029c"
3192
+ FOREIGN KEY ("store_id")
3193
+ REFERENCES "snf_core_stores" ("id")
3194
+ ) /*application='Dummy'*/
3195
+  (0.7ms) CREATE INDEX "index_snf_core_orders_on_user_id" ON "snf_core_orders" ("user_id") /*application='Dummy'*/
3196
+  (0.8ms) CREATE INDEX "index_snf_core_orders_on_store_id" ON "snf_core_orders" ("store_id") /*application='Dummy'*/
3197
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250305165926') RETURNING "version" /*application='Dummy'*/
3198
+ TRANSACTION (0.2ms) COMMIT /*application='Dummy'*/
3199
+ Migrating to CreateSnfCoreOrderItems (20250305170248)
3200
+ TRANSACTION (0.3ms) BEGIN /*application='Dummy'*/
3201
+  (4.4ms) CREATE TABLE "snf_core_order_items" ("id" bigserial primary key, "order_id" bigint NOT NULL, "store_inventory_id" bigint NOT NULL, "quantity" integer NOT NULL, "unit_price" decimal NOT NULL, "subtotal" decimal NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_1f4046ba92"
3202
+ FOREIGN KEY ("order_id")
3203
+ REFERENCES "snf_core_orders" ("id")
3204
+ , CONSTRAINT "fk_rails_50419437e9"
3205
+ FOREIGN KEY ("store_inventory_id")
3206
+ REFERENCES "snf_core_store_inventories" ("id")
3207
+ ) /*application='Dummy'*/
3208
+  (0.8ms) CREATE INDEX "index_snf_core_order_items_on_order_id" ON "snf_core_order_items" ("order_id") /*application='Dummy'*/
3209
+  (0.7ms) CREATE INDEX "index_snf_core_order_items_on_store_inventory_id" ON "snf_core_order_items" ("store_inventory_id") /*application='Dummy'*/
3210
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250305170248') RETURNING "version" /*application='Dummy'*/
3211
+ TRANSACTION (0.3ms) COMMIT /*application='Dummy'*/
3212
+ Migrating to CreateSnfCoreDeliveryOrders (20250305201008)
3213
+ TRANSACTION (0.3ms) BEGIN /*application='Dummy'*/
3214
+  (4.6ms) CREATE TABLE "snf_core_delivery_orders" ("id" bigserial primary key, "order_id" bigint NOT NULL, "delivery_address" character varying NOT NULL, "contact_phone" character varying NOT NULL, "delivery_notes" text NOT NULL, "estimated_delivery_time" timestamp(6) NOT NULL, "actual_delivery_time" timestamp(6), "status" integer NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_450d17b1b2"
3215
+ FOREIGN KEY ("order_id")
3216
+ REFERENCES "snf_core_orders" ("id")
3217
+ ) /*application='Dummy'*/
3218
+  (1.1ms) CREATE INDEX "index_snf_core_delivery_orders_on_order_id" ON "snf_core_delivery_orders" ("order_id") /*application='Dummy'*/
3219
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250305201008') RETURNING "version" /*application='Dummy'*/
3220
+ TRANSACTION (0.2ms) COMMIT /*application='Dummy'*/
3221
+ Migrating to CreateSnfCoreRoles (20250305232529)
3222
+ TRANSACTION (0.5ms) BEGIN /*application='Dummy'*/
3223
+  (5.0ms) CREATE TABLE "snf_core_roles" ("id" bigserial primary key, "name" character varying NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL) /*application='Dummy'*/
3224
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250305232529') RETURNING "version" /*application='Dummy'*/
3225
+ TRANSACTION (0.5ms) COMMIT /*application='Dummy'*/
3226
+ Migrating to CreateSnfCoreUserRoles (20250305232530)
3227
+ TRANSACTION (0.4ms) BEGIN /*application='Dummy'*/
3228
+  (6.1ms) CREATE TABLE "snf_core_user_roles" ("id" bigserial primary key, "user_id" bigint NOT NULL, "role_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_9ad2e78133"
3229
+ FOREIGN KEY ("user_id")
3230
+ REFERENCES "snf_core_users" ("id")
3231
+ , CONSTRAINT "fk_rails_0e70d7ce00"
3232
+ FOREIGN KEY ("role_id")
3233
+ REFERENCES "snf_core_roles" ("id")
3234
+ ) /*application='Dummy'*/
3235
+  (1.6ms) CREATE INDEX "index_snf_core_user_roles_on_user_id" ON "snf_core_user_roles" ("user_id") /*application='Dummy'*/
3236
+  (1.6ms) CREATE INDEX "index_snf_core_user_roles_on_role_id" ON "snf_core_user_roles" ("role_id") /*application='Dummy'*/
3237
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250305232530') RETURNING "version" /*application='Dummy'*/
3238
+ TRANSACTION (0.3ms) COMMIT /*application='Dummy'*/
3239
+ Migrating to AddPasswordFieldsToSnfCoreUsers (20250306074713)
3240
+ TRANSACTION (0.4ms) BEGIN /*application='Dummy'*/
3241
+  (1.4ms) ALTER TABLE "snf_core_users" ADD "password_digest" character varying NOT NULL /*application='Dummy'*/
3242
+  (0.3ms) ALTER TABLE "snf_core_users" ADD "password_changed" boolean DEFAULT FALSE /*application='Dummy'*/
3243
+  (14.9ms) ALTER TABLE "snf_core_users" ADD "reset_password_token" character varying /*application='Dummy'*/
3244
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250306074713') RETURNING "version" /*application='Dummy'*/
3245
+ TRANSACTION (13.9ms) COMMIT /*application='Dummy'*/
3246
+  (0.3ms) SELECT pg_advisory_unlock(869468062957908540) /*application='Dummy'*/
3247
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/
3248
+ ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/
3249
+ ActiveRecord::InternalMetadata Load (1.2ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'environment' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/
3250
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/
3251
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'environment' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/
3252
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/
3253
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'environment' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/
3254
+ SQL (0.1ms) SET search_path TO public /*application='Dummy'*/
3255
+  (109.2ms) DROP DATABASE IF EXISTS "snf_dev" /*application='Dummy'*/
3256
+ SQL (0.1ms) SET search_path TO public /*application='Dummy'*/
3257
+  (46.8ms) DROP DATABASE IF EXISTS "snf_test" /*application='Dummy'*/
3258
+ SQL (0.1ms) SET search_path TO public /*application='Dummy'*/
3259
+  (120.9ms) CREATE DATABASE "snf_dev" ENCODING = 'unicode' /*application='Dummy'*/
3260
+ SQL (0.1ms) SET search_path TO public /*application='Dummy'*/
3261
+  (65.8ms) CREATE DATABASE "snf_test" ENCODING = 'unicode' /*application='Dummy'*/
3262
+ SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" SCHEMA pg_catalog /*application='Dummy'*/
3263
+  (40.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY) /*application='Dummy'*/
3264
+ ActiveRecord::SchemaMigration Load (16.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/
3265
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (0) /*application='Dummy'*/
3266
+  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL) /*application='Dummy'*/
3267
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'environment' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/
3268
+ ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'development', '2025-03-07 16:36:09.380541', '2025-03-07 16:36:09.380544') RETURNING "key" /*application='Dummy'*/
3269
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'environment' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/
3270
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'schema_sha1' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/
3271
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('schema_sha1', '9c6777daaa6ce85cc74b26c38000144a7834a947', '2025-03-07 16:36:09.408235', '2025-03-07 16:36:09.408238') RETURNING "key" /*application='Dummy'*/
3272
+  (0.1ms) SELECT pg_try_advisory_lock(869468062957908540) /*application='Dummy'*/
3273
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/
3274
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'environment' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/
3275
+ Migrating to CreateSnfCoreUsers (20250226042622)
3276
+ TRANSACTION (0.2ms) BEGIN /*application='Dummy'*/
3277
+  (33.3ms) CREATE TABLE "snf_core_users" ("id" bigserial primary key, "first_name" character varying NOT NULL, "middle_name" character varying NOT NULL, "last_name" character varying NOT NULL, "email" character varying, "phone_number" character varying NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL) /*application='Dummy'*/
3278
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226042622') RETURNING "version" /*application='Dummy'*/
3279
+ TRANSACTION (0.4ms) COMMIT /*application='Dummy'*/
3280
+ Migrating to CreateSnfCoreCategories (20250226064444)
3281
+ TRANSACTION (0.6ms) BEGIN /*application='Dummy'*/
3282
+  (9.5ms) CREATE TABLE "snf_core_categories" ("id" bigserial primary key, "name" character varying NOT NULL, "description" character varying, "parent_id" bigint, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_26a925b05d"
3283
+ FOREIGN KEY ("parent_id")
3284
+ REFERENCES "snf_core_categories" ("id")
3285
+ ) /*application='Dummy'*/
3286
+  (1.5ms) CREATE INDEX "index_snf_core_categories_on_parent_id" ON "snf_core_categories" ("parent_id") /*application='Dummy'*/
3287
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226064444') RETURNING "version" /*application='Dummy'*/
3288
+ TRANSACTION (0.5ms) COMMIT /*application='Dummy'*/
3289
+ Migrating to CreateSnfCoreBusinesses (20250226080323)
3290
+ TRANSACTION (0.7ms) BEGIN /*application='Dummy'*/
3291
+  (7.0ms) CREATE TABLE "snf_core_businesses" ("id" bigserial primary key, "user_id" bigint NOT NULL, "business_name" character varying NOT NULL, "tin_number" character varying NOT NULL, "business_type" integer NOT NULL, "verified_at" timestamp(6), "verification_status" integer DEFAULT 0 NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_a61edcbd4b"
3292
+ FOREIGN KEY ("user_id")
3293
+ REFERENCES "snf_core_users" ("id")
3294
+ ) /*application='Dummy'*/
3295
+  (1.6ms) CREATE INDEX "index_snf_core_businesses_on_user_id" ON "snf_core_businesses" ("user_id") /*application='Dummy'*/
3296
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226080323') RETURNING "version" /*application='Dummy'*/
3297
+ TRANSACTION (0.6ms) COMMIT /*application='Dummy'*/
3298
+ Migrating to CreateSnfCoreBusinessDocuments (20250226102931)
3299
+ TRANSACTION (0.7ms) BEGIN /*application='Dummy'*/
3300
+  (5.6ms) CREATE TABLE "snf_core_business_documents" ("id" bigserial primary key, "business_id" bigint NOT NULL, "document_type" integer NOT NULL, "verified_at" timestamp(6), "verified_by_id" bigint, "uploaded_at" timestamp(6), "is_verified" boolean DEFAULT FALSE NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_1efd7338ed"
3301
+ FOREIGN KEY ("business_id")
3302
+ REFERENCES "snf_core_businesses" ("id")
3303
+ , CONSTRAINT "fk_rails_a6157021cc"
3304
+ FOREIGN KEY ("verified_by_id")
3305
+ REFERENCES "snf_core_users" ("id")
3306
+ ) /*application='Dummy'*/
3307
+  (1.8ms) CREATE INDEX "index_snf_core_business_documents_on_business_id" ON "snf_core_business_documents" ("business_id") /*application='Dummy'*/
3308
+  (1.8ms) CREATE INDEX "index_snf_core_business_documents_on_verified_by_id" ON "snf_core_business_documents" ("verified_by_id") /*application='Dummy'*/
3309
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226102931') RETURNING "version" /*application='Dummy'*/
3310
+ TRANSACTION (0.8ms) COMMIT /*application='Dummy'*/
3311
+ Migrating to CreateSnfCoreAddresses (20250226110217)
3312
+ TRANSACTION (0.8ms) BEGIN /*application='Dummy'*/
3313
+  (9.8ms) CREATE TABLE "snf_core_addresses" ("id" bigserial primary key, "address_type" character varying NOT NULL, "city" character varying NOT NULL, "sub_city" character varying NOT NULL, "woreda" character varying, "latitude" decimal NOT NULL, "longitude" decimal NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL) /*application='Dummy'*/
3314
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226110217') RETURNING "version" /*application='Dummy'*/
3315
+ TRANSACTION (0.4ms) COMMIT /*application='Dummy'*/
3316
+ Migrating to CreateSnfCoreStores (20250226115215)
3317
+ TRANSACTION (0.5ms) BEGIN /*application='Dummy'*/
3318
+  (8.5ms) CREATE TABLE "snf_core_stores" ("id" bigserial primary key, "name" character varying NOT NULL, "email" character varying, "operational_status" integer DEFAULT 1 NOT NULL, "business_id" bigint NOT NULL, "address_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_e100fc7454"
3319
+ FOREIGN KEY ("business_id")
3320
+ REFERENCES "snf_core_businesses" ("id")
3321
+ , CONSTRAINT "fk_rails_421441da8e"
3322
+ FOREIGN KEY ("address_id")
3323
+ REFERENCES "snf_core_addresses" ("id")
3324
+ ) /*application='Dummy'*/
3325
+  (2.0ms) CREATE INDEX "index_snf_core_stores_on_business_id" ON "snf_core_stores" ("business_id") /*application='Dummy'*/
3326
+  (1.7ms) CREATE INDEX "index_snf_core_stores_on_address_id" ON "snf_core_stores" ("address_id") /*application='Dummy'*/
3327
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226115215') RETURNING "version" /*application='Dummy'*/
3328
+ TRANSACTION (0.5ms) COMMIT /*application='Dummy'*/
3329
+ Migrating to CreateActiveStorageTables (20250226123213)
3330
+ TRANSACTION (0.6ms) BEGIN /*application='Dummy'*/
3331
+  (6.7ms) CREATE TABLE "active_storage_blobs" ("id" bigserial primary key, "key" character varying NOT NULL, "filename" character varying NOT NULL, "content_type" character varying, "metadata" text, "service_name" character varying NOT NULL, "byte_size" bigint NOT NULL, "checksum" character varying, "created_at" timestamp(6) NOT NULL) /*application='Dummy'*/
3332
+  (1.6ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key") /*application='Dummy'*/
3333
+  (6.9ms) CREATE TABLE "active_storage_attachments" ("id" bigserial primary key, "name" character varying NOT NULL, "record_type" character varying NOT NULL, "record_id" bigint NOT NULL, "blob_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_c3b3935057"
3334
+ FOREIGN KEY ("blob_id")
3335
+ REFERENCES "active_storage_blobs" ("id")
3336
+ ) /*application='Dummy'*/
3337
+  (2.2ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id") /*application='Dummy'*/
3338
+  (1.9ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id") /*application='Dummy'*/
3339
+  (4.5ms) CREATE TABLE "active_storage_variant_records" ("id" bigserial primary key, "blob_id" bigint NOT NULL, "variation_digest" character varying NOT NULL, CONSTRAINT "fk_rails_993965df05"
3340
+ FOREIGN KEY ("blob_id")
3341
+ REFERENCES "active_storage_blobs" ("id")
3342
+ ) /*application='Dummy'*/
3343
+  (1.2ms) CREATE UNIQUE INDEX "index_active_storage_variant_records_uniqueness" ON "active_storage_variant_records" ("blob_id", "variation_digest") /*application='Dummy'*/
3344
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226123213') RETURNING "version" /*application='Dummy'*/
3345
+ TRANSACTION (0.5ms) COMMIT /*application='Dummy'*/
3346
+ Migrating to CreateSnfCoreProducts (20250226181007)
3347
+ TRANSACTION (0.8ms) BEGIN /*application='Dummy'*/
3348
+  (9.6ms) CREATE TABLE "snf_core_products" ("id" bigserial primary key, "sku" character varying NOT NULL, "name" character varying NOT NULL, "description" character varying, "category_id" bigint NOT NULL, "base_price" float, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_a0ba3fa883"
3349
+ FOREIGN KEY ("category_id")
3350
+ REFERENCES "snf_core_categories" ("id")
3351
+ ) /*application='Dummy'*/
3352
+  (1.4ms) CREATE INDEX "index_snf_core_products_on_category_id" ON "snf_core_products" ("category_id") /*application='Dummy'*/
3353
+ ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226181007') RETURNING "version" /*application='Dummy'*/
3354
+ TRANSACTION (0.8ms) COMMIT /*application='Dummy'*/
3355
+ Migrating to CreateSnfCoreStoreInventories (20250226190000)
3356
+ TRANSACTION (0.6ms) BEGIN /*application='Dummy'*/
3357
+  (4.9ms) CREATE TABLE "snf_core_store_inventories" ("id" bigserial primary key, "store_id" bigint NOT NULL, "product_id" bigint NOT NULL, "stock_quantity" integer DEFAULT 0 NOT NULL, "base_price" decimal(10,2) NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_2ca88d30e2"
3358
+ FOREIGN KEY ("store_id")
3359
+ REFERENCES "snf_core_stores" ("id")
3360
+ , CONSTRAINT "fk_rails_15fb263e75"
3361
+ FOREIGN KEY ("product_id")
3362
+ REFERENCES "snf_core_products" ("id")
3363
+ ) /*application='Dummy'*/
3364
+  (1.5ms) CREATE INDEX "index_snf_core_store_inventories_on_store_id" ON "snf_core_store_inventories" ("store_id") /*application='Dummy'*/
3365
+  (1.9ms) CREATE INDEX "index_snf_core_store_inventories_on_product_id" ON "snf_core_store_inventories" ("product_id") /*application='Dummy'*/
3366
+  (1.7ms) CREATE UNIQUE INDEX "index_snf_core_store_inventories_on_store_id_and_product_id" ON "snf_core_store_inventories" ("store_id", "product_id") /*application='Dummy'*/
3367
+ ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226190000') RETURNING "version" /*application='Dummy'*/
3368
+ TRANSACTION (0.8ms) COMMIT /*application='Dummy'*/
3369
+ Migrating to CreateSnfCoreGroups (20250226192104)
3370
+ TRANSACTION (1.4ms) BEGIN /*application='Dummy'*/
3371
+  (9.1ms) CREATE TABLE "snf_core_groups" ("id" bigserial primary key, "name" character varying NOT NULL, "business_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_c52b27ad67"
3372
+ FOREIGN KEY ("business_id")
3373
+ REFERENCES "snf_core_businesses" ("id")
3374
+ ) /*application='Dummy'*/
3375
+  (1.4ms) CREATE INDEX "index_snf_core_groups_on_business_id" ON "snf_core_groups" ("business_id") /*application='Dummy'*/
3376
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226192104') RETURNING "version" /*application='Dummy'*/
3377
+ TRANSACTION (0.7ms) COMMIT /*application='Dummy'*/
3378
+ Migrating to CreateSnfCoreCustomerGroups (20250226193938)
3379
+ TRANSACTION (0.5ms) BEGIN /*application='Dummy'*/
3380
+  (7.6ms) CREATE TABLE "snf_core_customer_groups" ("id" bigserial primary key, "discount_code" character varying, "expire_date" timestamp(6), "is_used" boolean, "group_id" bigint NOT NULL, "customer_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_9c45f4015a"
3381
+ FOREIGN KEY ("group_id")
3382
+ REFERENCES "snf_core_groups" ("id")
3383
+ , CONSTRAINT "fk_rails_792eb3404d"
3384
+ FOREIGN KEY ("customer_id")
3385
+ REFERENCES "snf_core_users" ("id")
3386
+ ) /*application='Dummy'*/
3387
+  (2.1ms) CREATE INDEX "index_snf_core_customer_groups_on_group_id" ON "snf_core_customer_groups" ("group_id") /*application='Dummy'*/
3388
+  (1.5ms) CREATE INDEX "index_snf_core_customer_groups_on_customer_id" ON "snf_core_customer_groups" ("customer_id") /*application='Dummy'*/
3389
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250226193938') RETURNING "version" /*application='Dummy'*/
3390
+ TRANSACTION (0.8ms) COMMIT /*application='Dummy'*/
3391
+ Migrating to CreateSnfCoreWallets (20250227075048)
3392
+ TRANSACTION (0.6ms) BEGIN /*application='Dummy'*/
3393
+  (4.6ms) CREATE TABLE "snf_core_wallets" ("id" bigserial primary key, "user_id" bigint NOT NULL, "wallet_number" character varying NOT NULL, "balance" decimal NOT NULL, "is_active" boolean DEFAULT TRUE NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_77c94979ce"
3394
+ FOREIGN KEY ("user_id")
3395
+ REFERENCES "snf_core_users" ("id")
3396
+ ) /*application='Dummy'*/
3397
+  (1.7ms) CREATE INDEX "index_snf_core_wallets_on_user_id" ON "snf_core_wallets" ("user_id") /*application='Dummy'*/
3398
+  (1.3ms) CREATE UNIQUE INDEX "index_snf_core_wallets_on_wallet_number" ON "snf_core_wallets" ("wallet_number") /*application='Dummy'*/
3399
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250227075048') RETURNING "version" /*application='Dummy'*/
3400
+ TRANSACTION (0.5ms) COMMIT /*application='Dummy'*/
3401
+ Migrating to ModifyStoreInventories (20250227102833)
3402
+ TRANSACTION (0.8ms) BEGIN /*application='Dummy'*/
3403
+  (3.7ms) ALTER TABLE "snf_core_store_inventories" DROP COLUMN "stock_quantity" /*application='Dummy'*/
3404
+  (0.7ms) ALTER TABLE "snf_core_store_inventories" ADD "status" integer DEFAULT 0 NOT NULL /*application='Dummy'*/
3405
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250227102833') RETURNING "version" /*application='Dummy'*/
3406
+ TRANSACTION (2.3ms) COMMIT /*application='Dummy'*/
3407
+ Migrating to CreateSnfCoreOrders (20250305165926)
3408
+ TRANSACTION (0.2ms) BEGIN /*application='Dummy'*/
3409
+  (5.2ms) CREATE TABLE "snf_core_orders" ("id" bigserial primary key, "user_id" bigint NOT NULL, "store_id" bigint NOT NULL, "status" integer DEFAULT 1 NOT NULL, "total_amount" decimal DEFAULT 0.0 NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_45b78fb6f9"
3410
+ FOREIGN KEY ("user_id")
3411
+ REFERENCES "snf_core_users" ("id")
3412
+ , CONSTRAINT "fk_rails_400cf2029c"
3413
+ FOREIGN KEY ("store_id")
3414
+ REFERENCES "snf_core_stores" ("id")
3415
+ ) /*application='Dummy'*/
3416
+  (1.3ms) CREATE INDEX "index_snf_core_orders_on_user_id" ON "snf_core_orders" ("user_id") /*application='Dummy'*/
3417
+  (1.8ms) CREATE INDEX "index_snf_core_orders_on_store_id" ON "snf_core_orders" ("store_id") /*application='Dummy'*/
3418
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250305165926') RETURNING "version" /*application='Dummy'*/
3419
+ TRANSACTION (0.7ms) COMMIT /*application='Dummy'*/
3420
+ Migrating to CreateSnfCoreOrderItems (20250305170248)
3421
+ TRANSACTION (0.7ms) BEGIN /*application='Dummy'*/
3422
+  (7.6ms) CREATE TABLE "snf_core_order_items" ("id" bigserial primary key, "order_id" bigint NOT NULL, "store_inventory_id" bigint NOT NULL, "quantity" integer NOT NULL, "unit_price" decimal NOT NULL, "subtotal" decimal NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_1f4046ba92"
3423
+ FOREIGN KEY ("order_id")
3424
+ REFERENCES "snf_core_orders" ("id")
3425
+ , CONSTRAINT "fk_rails_50419437e9"
3426
+ FOREIGN KEY ("store_inventory_id")
3427
+ REFERENCES "snf_core_store_inventories" ("id")
3428
+ ) /*application='Dummy'*/
3429
+  (1.7ms) CREATE INDEX "index_snf_core_order_items_on_order_id" ON "snf_core_order_items" ("order_id") /*application='Dummy'*/
3430
+  (1.5ms) CREATE INDEX "index_snf_core_order_items_on_store_inventory_id" ON "snf_core_order_items" ("store_inventory_id") /*application='Dummy'*/
3431
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250305170248') RETURNING "version" /*application='Dummy'*/
3432
+ TRANSACTION (0.5ms) COMMIT /*application='Dummy'*/
3433
+ Migrating to CreateSnfCoreDeliveryOrders (20250305201008)
3434
+ TRANSACTION (0.7ms) BEGIN /*application='Dummy'*/
3435
+  (8.9ms) CREATE TABLE "snf_core_delivery_orders" ("id" bigserial primary key, "order_id" bigint NOT NULL, "delivery_address" character varying NOT NULL, "contact_phone" character varying NOT NULL, "delivery_notes" text NOT NULL, "estimated_delivery_time" timestamp(6) NOT NULL, "actual_delivery_time" timestamp(6), "status" integer NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_450d17b1b2"
3436
+ FOREIGN KEY ("order_id")
3437
+ REFERENCES "snf_core_orders" ("id")
3438
+ ) /*application='Dummy'*/
3439
+  (2.7ms) CREATE INDEX "index_snf_core_delivery_orders_on_order_id" ON "snf_core_delivery_orders" ("order_id") /*application='Dummy'*/
3440
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250305201008') RETURNING "version" /*application='Dummy'*/
3441
+ TRANSACTION (0.6ms) COMMIT /*application='Dummy'*/
3442
+ Migrating to CreateSnfCoreRoles (20250305232529)
3443
+ TRANSACTION (0.8ms) BEGIN /*application='Dummy'*/
3444
+  (9.6ms) CREATE TABLE "snf_core_roles" ("id" bigserial primary key, "name" character varying NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL) /*application='Dummy'*/
3445
+ ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250305232529') RETURNING "version" /*application='Dummy'*/
3446
+ TRANSACTION (0.5ms) COMMIT /*application='Dummy'*/
3447
+ Migrating to CreateSnfCoreUserRoles (20250305232530)
3448
+ TRANSACTION (0.8ms) BEGIN /*application='Dummy'*/
3449
+  (9.9ms) CREATE TABLE "snf_core_user_roles" ("id" bigserial primary key, "user_id" bigint NOT NULL, "role_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_9ad2e78133"
3450
+ FOREIGN KEY ("user_id")
3451
+ REFERENCES "snf_core_users" ("id")
3452
+ , CONSTRAINT "fk_rails_0e70d7ce00"
3453
+ FOREIGN KEY ("role_id")
3454
+ REFERENCES "snf_core_roles" ("id")
3455
+ ) /*application='Dummy'*/
3456
+  (1.6ms) CREATE INDEX "index_snf_core_user_roles_on_user_id" ON "snf_core_user_roles" ("user_id") /*application='Dummy'*/
3457
+  (1.3ms) CREATE INDEX "index_snf_core_user_roles_on_role_id" ON "snf_core_user_roles" ("role_id") /*application='Dummy'*/
3458
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250305232530') RETURNING "version" /*application='Dummy'*/
3459
+ TRANSACTION (0.8ms) COMMIT /*application='Dummy'*/
3460
+ Migrating to AddPasswordFieldsToSnfCoreUsers (20250306074713)
3461
+ TRANSACTION (0.7ms) BEGIN /*application='Dummy'*/
3462
+  (4.0ms) ALTER TABLE "snf_core_users" ADD "password_digest" character varying NOT NULL /*application='Dummy'*/
3463
+  (0.5ms) ALTER TABLE "snf_core_users" ADD "password_changed" boolean DEFAULT FALSE /*application='Dummy'*/
3464
+  (0.6ms) ALTER TABLE "snf_core_users" ADD "reset_password_token" character varying /*application='Dummy'*/
3465
+ ActiveRecord::SchemaMigration Create (1.8ms) INSERT INTO "schema_migrations" ("version") VALUES ('20250306074713') RETURNING "version" /*application='Dummy'*/
3466
+ TRANSACTION (0.4ms) COMMIT /*application='Dummy'*/
3467
+  (1.6ms) SELECT pg_advisory_unlock(869468062957908540) /*application='Dummy'*/
3468
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/