This commit is contained in:
Yam ZhengLim
2022-10-29 01:31:08 +08:00
parent 5d30c6c505
commit d4d17efa3d
3 changed files with 142 additions and 33 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
"service_types" : "SELECT *, now() AS '_source_loaded_at' FROM service_types;",
"states" : "SELECT *, now() AS '_source_loaded_at' FROM states;",
"transactions" : "SELECT *, now() AS '_source_loaded_at' FROM transactions;",
"transaction_detail" : "SELECT *, now() AS '_source_loaded_at' FROM transaction_detail;",
"transaction_detail" : "SELECT id, transaction_id, REPLACE(REPLACE(REPLACE(product_code, '\n', ''),'|', ''),'\\\\','') AS product_code, REPLACE(REPLACE(REPLACE(product_name, '\n', ''),'|', ''),'\\\\','') AS product_name, quantity, price, amount, deleted_at, created_at, updated_at, now() AS '_source_loaded_at' FROM `transaction_detail`;",
"users" : "SELECT *, now() AS '_source_loaded_at' FROM users;",
"user_email_verifications" : "SELECT *, now() AS '_source_loaded_at' FROM user_email_verifications;",
"wallets" : "SELECT *, now() AS '_source_loaded_at' FROM wallets;"