mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 08:28:18 +00:00
codegen db
This commit is contained in:
1 parent
d99eef6b8d
commit
e53df57e43
2 files changed
+24
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"db_name": "MySQL",
|
||||
"query": "\nINSERT INTO featured_items\nSET\n entity_type = ?,\n entity_token = ?\nON DUPLICATE KEY UPDATE\n deleted_at = NULL\n ",
|
||||
"describe": {
|
||||
"columns": [],
|
||||
"parameters": {
|
||||
"Right": 2
|
||||
},
|
||||
"nullable": []
|
||||
},
|
||||
"hash": "2d5412f06bba83b16bdea092568a2ff61713a7e5cfb3d02eb0bcc41f877c45c1"
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"db_name": "MySQL",
|
||||
"query": "\nUPDATE featured_items\nSET\n deleted_at = CURRENT_TIMESTAMP\nWHERE\n entity_type = ?\n AND entity_token = ?\nLIMIT 1\n ",
|
||||
"describe": {
|
||||
"columns": [],
|
||||
"parameters": {
|
||||
"Right": 2
|
||||
},
|
||||
"nullable": []
|
||||
},
|
||||
"hash": "81ab2e79e876f69253b738709692445a7563d4dd0b5bcec41e7a690f99e3fe5d"
|
||||
}
|
||||
Reference in new issue
Block a user