Spaces:
Running on Zero

File size: 32,933 Bytes
2eef5d6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
-- SQL Export
-- Generated: 2026-07-29T16:53:16+07:00

SET statement_timeout = 0;
SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;

-- Table: system_settings
INSERT INTO system_settings (id, setting_key, setting_value, description, updated_by, created_at, updated_at) VALUES (1, 'store_name', '"My Store"', 'Store display name', NULL, '2026-07-21 21:44:35+07:00', '2026-07-21 21:44:35+07:00') ON CONFLICT DO NOTHING;
INSERT INTO system_settings (id, setting_key, setting_value, description, updated_by, created_at, updated_at) VALUES (2, 'store_phone', '"+856 20 00 000 000"', 'Store contact phone', NULL, '2026-07-21 21:44:35+07:00', '2026-07-21 21:44:35+07:00') ON CONFLICT DO NOTHING;
INSERT INTO system_settings (id, setting_key, setting_value, description, updated_by, created_at, updated_at) VALUES (3, 'currency', '"LAK"', 'Default currency', NULL, '2026-07-21 21:44:35+07:00', '2026-07-21 21:44:35+07:00') ON CONFLICT DO NOTHING;
INSERT INTO system_settings (id, setting_key, setting_value, description, updated_by, created_at, updated_at) VALUES (4, 'tax_percent', '7', 'Default tax rate', NULL, '2026-07-21 21:44:35+07:00', '2026-07-21 21:44:35+07:00') ON CONFLICT DO NOTHING;
INSERT INTO system_settings (id, setting_key, setting_value, description, updated_by, created_at, updated_at) VALUES (5, 'store_logo', '""', 'Store logo URL', NULL, '2026-07-21 21:44:35+07:00', '2026-07-21 21:44:35+07:00') ON CONFLICT DO NOTHING;

-- Table: users
INSERT INTO users (id, email, phone, password_hash, full_name, avatar_url, role, email_verified, is_active, last_login_at, created_at, updated_at, deleted_at) VALUES ('74b0cd37-4c14-49fc-b02b-967125c912ce', 'test@example.com', '12345', '$2a$10$2tgW58n8o7v09fZ5CGcdT.7NXb9177e5r9jPlJwSWNdhAw4KUb4Da', 'Test User', NULL, 'user', FALSE, TRUE, NULL, '2026-07-22 12:29:36+07:00', '2026-07-22 12:29:36+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO users (id, email, phone, password_hash, full_name, avatar_url, role, email_verified, is_active, last_login_at, created_at, updated_at, deleted_at) VALUES ('26604887-450f-4ad3-81f5-56d25d5b6247', 'admin@template.com', NULL, '$2a$10$Kyyc.xHcYDoD1A8O//VsY.fHH7/TtsScyi4v6129G7hw5LFe8PAQu', 'Admin User', NULL, 'superadmin', TRUE, TRUE, NULL, '2026-07-22 12:08:43+07:00', '2026-07-22 12:08:43+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO users (id, email, phone, password_hash, full_name, avatar_url, role, email_verified, is_active, last_login_at, created_at, updated_at, deleted_at) VALUES ('53276888-2e16-44f5-bdb0-f310c6ba5b62', 'souliyapps@gmail.com', '+8562078287500', '$2a$10$pexz1XbE0gNdPOctNJ7K4Osg2uEC7239UPWlw7BUvPlB3A2z50y0y', 'souliya pps', NULL, 'user', FALSE, TRUE, NULL, '2026-07-22 12:16:34+07:00', '2026-07-28 18:00:36+07:00', NULL) ON CONFLICT DO NOTHING;

-- Table: categories
INSERT INTO categories (id, parent_id, name, slug, description, image_url, sort_order, is_active, created_at, updated_at) VALUES ('059d9d35-0230-44a2-b171-bfa66c41b917', NULL, 'Electronics', 'electronics', 'Phones, tablets, and accessories', NULL, 0, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00') ON CONFLICT DO NOTHING;
INSERT INTO categories (id, parent_id, name, slug, description, image_url, sort_order, is_active, created_at, updated_at) VALUES ('7ca35ac8-fc4a-4078-8c75-5e00031b1512', NULL, 'Clothing', 'clothing', 'Men and women fashion', NULL, 0, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00') ON CONFLICT DO NOTHING;
INSERT INTO categories (id, parent_id, name, slug, description, image_url, sort_order, is_active, created_at, updated_at) VALUES ('5c5f2981-25d3-414a-9cfe-6625d5560646', NULL, 'Home & Garden', 'home-garden', 'Furniture and home decor', NULL, 0, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00') ON CONFLICT DO NOTHING;
INSERT INTO categories (id, parent_id, name, slug, description, image_url, sort_order, is_active, created_at, updated_at) VALUES ('bcc138c6-1b22-4cb2-9b41-08f688b2cb23', NULL, 'Sports', 'sports', 'Sports equipment and gear', NULL, 0, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00') ON CONFLICT DO NOTHING;
INSERT INTO categories (id, parent_id, name, slug, description, image_url, sort_order, is_active, created_at, updated_at) VALUES ('5295dd27-badf-417b-a492-f9891fc0af04', NULL, 'Books', 'books', 'Physical and digital books', NULL, 0, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00') ON CONFLICT DO NOTHING;

-- Table: products
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('47ee8455-fb24-4923-87d7-a7e2cd955367', NULL, 'Test Product', 'test-product', 'TP001', NULL, NULL, '50.00', '99.99', '0.00', 100, 0, 'pcs', NULL, '[]', '{}', FALSE, TRUE, '2026-07-22 12:23:16+07:00', '2026-07-22 12:23:16+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('33677a32-33ce-459e-817f-e4f9ec42821b', '059d9d35-0230-44a2-b171-bfa66c41b917', 'iPhone 15 Pro Max', 'iphone-15-pro-max', 'IPH15PM', NULL, 'Latest Apple smartphone with A17 Pro chip', '999.00', '1299.99', '0.00', 25, 0, 'pcs', NULL, '[]', '{}', TRUE, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('ec02f33d-5ed9-42d4-8dc5-36a1dd8d114b', '059d9d35-0230-44a2-b171-bfa66c41b917', 'Samsung Galaxy S24', 'samsung-galaxy-s24', 'SGS24', NULL, 'Samsung flagship with AI features', '699.00', '899.99', '0.00', 30, 0, 'pcs', NULL, '[]', '{}', TRUE, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('bf9cf888-cc33-4125-b855-a8184ce870f8', '059d9d35-0230-44a2-b171-bfa66c41b917', 'MacBook Air M3', 'macbook-air-m3', 'MBA3', NULL, 'Ultra-thin laptop with M3 chip', '899.00', '1099.99', '0.00', 15, 0, 'pcs', NULL, '[]', '{}', TRUE, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('a0d2e3ef-9c30-435f-bf94-77c1d1248522', '059d9d35-0230-44a2-b171-bfa66c41b917', 'AirPods Pro 2', 'airpods-pro-2', 'APP2', NULL, 'Active noise cancelling earbuds', '179.99', '249.99', '0.00', 50, 0, 'pcs', NULL, '[]', '{}', FALSE, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('b71f79af-c617-4dc5-be2a-6d2cfd8ea300', '059d9d35-0230-44a2-b171-bfa66c41b917', 'USB-C Hub 7-in-1', 'usb-c-hub-7in1', 'USB7', NULL, 'Multiport adapter for MacBook', '19.99', '39.99', '0.00', 100, 0, 'pcs', NULL, '[]', '{}', FALSE, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('c78a62db-ef42-40c9-8449-c70ad101a249', '7ca35ac8-fc4a-4078-8c75-5e00031b1512', 'Classic Cotton T-Shirt', 'classic-cotton-tshirt', 'CCT01', NULL, '100% cotton casual t-shirt', '10.00', '24.99', '0.00', 200, 0, 'pcs', NULL, '[]', '{}', FALSE, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('7e9f5e51-87bc-42e6-9184-ce1794444a7d', '7ca35ac8-fc4a-4078-8c75-5e00031b1512', 'Denim Jacket', 'denim-jacket', 'DJ01', NULL, 'Vintage style denim jacket', '40.00', '79.99', '0.00', 50, 0, 'pcs', NULL, '[]', '{}', TRUE, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('ef8849cb-dc14-4374-a35d-907f94e942c3', '7ca35ac8-fc4a-4078-8c75-5e00031b1512', 'Running Shoes Pro', 'running-shoes-pro', 'RSP01', NULL, 'Lightweight running shoes', '65.00', '129.99', '0.00', 75, 0, 'pcs', NULL, '[]', '{}', FALSE, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('c5ed3df7-6b41-422d-b9f5-33548891cfcd', '5c5f2981-25d3-414a-9cfe-6625d5560646', 'Ergonomic Office Chair', 'ergonomic-office-chair', 'EOC01', NULL, 'Adjustable lumbar support chair', '180.00', '349.99', '0.00', 20, 0, 'pcs', NULL, '[]', '{}', TRUE, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('ffac1073-feae-45c7-b526-ac0bff9e8eb1', '5c5f2981-25d3-414a-9cfe-6625d5560646', 'LED Desk Lamp', 'led-desk-lamp', 'LDL01', NULL, 'Dimmable LED desk lamp with USB port', '25.00', '49.99', '0.00', 60, 0, 'pcs', NULL, '[]', '{}', FALSE, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('1aed088a-062b-4ae3-a909-4cd39c193f72', 'bcc138c6-1b22-4cb2-9b41-08f688b2cb23', 'Yoga Mat Premium', 'yoga-mat-premium', 'YMP01', NULL, 'Non-slip exercise yoga mat', '15.00', '39.99', '0.00', 80, 0, 'pcs', NULL, '[]', '{}', FALSE, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('68ed210a-d924-4c25-9059-025f1aa1efff', 'bcc138c6-1b22-4cb2-9b41-08f688b2cb23', 'Adjustable Dumbbells', 'adjustable-dumbbells', 'AD01', NULL, '5-25 lb adjustable dumbbell set', '100.00', '199.99', '0.00', 30, 0, 'pcs', NULL, '[]', '{}', TRUE, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('c73518d7-8317-45d6-9fc5-14b3ae1da938', '5295dd27-badf-417b-a492-f9891fc0af04', 'The Art of Code', 'the-art-of-code', 'TAOC', NULL, 'Modern software engineering patterns', '10.00', '29.99', '0.00', 100, 0, 'pcs', NULL, '[]', '{}', FALSE, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00', NULL) ON CONFLICT DO NOTHING;
INSERT INTO products (id, category_id, name, slug, sku, barcode, description, cost_price, selling_price, compare_price, stock, min_stock, unit, weight, images, features, is_featured, is_active, created_at, updated_at, deleted_at) VALUES ('11e47c7c-11ee-4bbe-bf81-45a94e02ec36', '5295dd27-badf-417b-a492-f9891fc0af04', 'Business Strategy 101', 'business-strategy-101', 'BS101', NULL, 'Essential business strategy guide', '12.00', '34.99', '0.00', 60, 0, 'pcs', NULL, '[]', '{}', FALSE, TRUE, '2026-07-22 12:23:41+07:00', '2026-07-22 12:23:41+07:00', NULL) ON CONFLICT DO NOTHING;

-- Table: orders
INSERT INTO orders (id, order_number, user_id, status, payment_status, payment_method, subtotal, discount, tax_percent, tax_amount, shipping_fee, grand_total, currency, shipping_address, billing_address, notes, paid_at, shipped_at, delivered_at, created_at, updated_at, deleted_at) VALUES ('93d6c88a-112e-4cb2-9977-afdf08943f55', 'ORD-1784698177131', '26604887-450f-4ad3-81f5-56d25d5b6247', 'pending', 'unpaid', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', '69.98', 'LAK', NULL, NULL, NULL, NULL, NULL, NULL, '2026-07-22 12:29:37+07:00', '2026-07-22 12:29:37+07:00', NULL) ON CONFLICT DO NOTHING;

-- Table: order_items
INSERT INTO order_items (id, order_id, product_id, product_name, quantity, unit_price, subtotal, created_at) VALUES ('0b9b160f-6af6-4701-b5f3-12b9b30971e4', '93d6c88a-112e-4cb2-9977-afdf08943f55', '11e47c7c-11ee-4bbe-bf81-45a94e02ec36', 'Business Strategy 101', 2, '34.99', '69.98', '2026-07-22 12:29:37+07:00') ON CONFLICT DO NOTHING;

-- Table: cart_items

-- Table: quotations

-- Table: quotation_items

-- Table: quotation_history

-- Table: expenses

-- Table: expense_categories
INSERT INTO expense_categories (id, name, description, created_at) VALUES ('ab62e5b7-112b-46e1-b06b-0670cf678293', 'Rent', 'Monthly rent', '2026-07-21 21:44:35+07:00') ON CONFLICT DO NOTHING;
INSERT INTO expense_categories (id, name, description, created_at) VALUES ('ceb81ca0-d3d1-4442-b8ea-c3579111e098', 'Utilities', 'Electricity, water, internet', '2026-07-21 21:44:35+07:00') ON CONFLICT DO NOTHING;
INSERT INTO expense_categories (id, name, description, created_at) VALUES ('44e7a0cd-e6ba-40a9-ab86-537c219b3303', 'Supplies', 'Office and store supplies', '2026-07-21 21:44:35+07:00') ON CONFLICT DO NOTHING;
INSERT INTO expense_categories (id, name, description, created_at) VALUES ('e6dbf605-52cd-4d0d-b11a-6daa2d6cb8fd', 'Marketing', 'Advertising and promotions', '2026-07-21 21:44:35+07:00') ON CONFLICT DO NOTHING;
INSERT INTO expense_categories (id, name, description, created_at) VALUES ('893a1b6e-15a4-45ca-b934-d7e4b4d45304', 'Transport', 'Delivery and logistics', '2026-07-21 21:44:35+07:00') ON CONFLICT DO NOTHING;

-- Table: favorites

-- Table: notifications

-- Table: audit_logs
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (1, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-23 17:45:03+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (2, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-23 17:47:58+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (3, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-23 17:54:46+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (4, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-23 17:55:23+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (5, '26604887-450f-4ad3-81f5-56d25d5b6247', 'login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-23 17:56:33+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (6, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-23 21:54:42+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (7, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-23 22:03:54+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (8, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-23 22:35:41+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (9, '26604887-450f-4ad3-81f5-56d25d5b6247', 'login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 12:44:57+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (10, '26604887-450f-4ad3-81f5-56d25d5b6247', 'login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 12:48:07+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (11, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-24 12:50:21+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (12, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-24 13:08:56+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (13, '26604887-450f-4ad3-81f5-56d25d5b6247', 'login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 13:09:08+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (14, '26604887-450f-4ad3-81f5-56d25d5b6247', 'update_user', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-24 13:09:25+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (15, '26604887-450f-4ad3-81f5-56d25d5b6247', 'login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 13:12:17+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (16, '26604887-450f-4ad3-81f5-56d25d5b6247', 'login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 13:19:16+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (17, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-24 13:22:03+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (18, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-24 13:22:22+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (19, '26604887-450f-4ad3-81f5-56d25d5b6247', 'login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 13:23:37+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (20, '26604887-450f-4ad3-81f5-56d25d5b6247', 'login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 13:23:54+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (21, '26604887-450f-4ad3-81f5-56d25d5b6247', 'login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 13:24:05+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (22, '26604887-450f-4ad3-81f5-56d25d5b6247', 'login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 13:25:13+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (23, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 14:05:41+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (24, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 14:05:52+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (25, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 14:05:55+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (26, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 14:06:34+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (27, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 14:06:55+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (28, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 14:07:48+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (29, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 14:08:18+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (30, '26604887-450f-4ad3-81f5-56d25d5b6247', 'login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 14:11:22+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (31, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 14:11:22+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (32, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 14:11:34+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (33, '26604887-450f-4ad3-81f5-56d25d5b6247', 'login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 14:11:57+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (34, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 14:11:57+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (35, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-24 14:14:36+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (36, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-27 11:07:55+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (37, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-27 11:08:53+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (38, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-27 11:11:39+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (39, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-27 11:41:16+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (40, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-27 11:42:34+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (41, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-27 12:33:54+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (42, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-27 12:34:08+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (43, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-27 13:18:50+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (44, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-29 09:28:31+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (45, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-29 10:12:03+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (46, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-29 10:25:10+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (47, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-29 10:32:43+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (48, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-29 10:32:47+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (49, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-29 10:32:50+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (50, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-29 16:05:05+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (51, '53276888-2e16-44f5-bdb0-f310c6ba5b62', 'login', 'users', '53276888-2e16-44f5-bdb0-f310c6ba5b62', NULL, NULL, NULL, NULL, '2026-07-29 16:05:24+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (52, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-29 16:15:18+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (53, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-29 16:24:52+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (54, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-29 16:25:08+07:00') ON CONFLICT DO NOTHING;
INSERT INTO audit_logs (id, user_id, action, target_table, target_id, old_values, new_values, ip_address, user_agent, created_at) VALUES (55, '26604887-450f-4ad3-81f5-56d25d5b6247', 'admin_login', 'users', '26604887-450f-4ad3-81f5-56d25d5b6247', NULL, NULL, NULL, NULL, '2026-07-29 16:41:18+07:00') ON CONFLICT DO NOTHING;

-- Table: inquiries

-- Table: inquiry_messages

-- Table: banners

-- Table: promotions

-- Table: user_roles

-- Table: user_sessions

-- Table: product_images

-- End of export