move repositories to separate db package

replace jacoco with kover
This commit is contained in:
Savosin Denis
2025-03-28 14:38:57 +07:00
parent 4f9ad14767
commit d7c051746d
37 changed files with 603 additions and 34 deletions

View File

@@ -0,0 +1,3 @@
insert into "city" (id, guid, name, created_at) values
(1000, '21a1a3a8-621a-40f7-b64f-7e118aa241b9', 'Tokyo', '2025-01-01 12:10:05 +00:00')
;

View File

@@ -0,0 +1,3 @@
insert into "customer" (id, guid, name, city_id, created_at) values
(1000, '823c50de-4c81-49bd-a69a-2d52be42b728', 'Customer', 1000, '2025-01-01 12:10:05 +00:00')
;

View File

@@ -0,0 +1,3 @@
insert into "order" (id, guid, customer_id, created_at) values
(1000, '2c960a08-7187-4e91-9ef3-275c91b1342c', 1000, '2025-01-01 12:10:05 +00:00')
;

View File

@@ -0,0 +1,3 @@
insert into "order_product" (guid, order_id, product_id, created_at) values
('930f54e2-c60d-448e-83b1-0d259ff2c2d3', 1000, 1000, '2025-01-01 12:10:05 +00:00')
;

View File

@@ -0,0 +1,3 @@
insert into "product" (id, guid, name, description, price, created_at) values
(1000, '1fb5c7e4-8ce2-43b8-8ca7-1089b04959b9', 'product', 'description', 10000, '2025-01-01 12:10:05 +00:00')
;