13 lines
959 B
JSON
13 lines
959 B
JSON
{
|
|
"db_name": "SQLite",
|
|
"query": "\n\t\tINSERT INTO instance_files (\n\t\t\tid,\n\t\t\tinstance_id,\n\t\t\trelative_path,\n\t\t\tfile_name,\n\t\t\tenabled,\n\t\t\tsha1,\n\t\t\tsize,\n\t\t\tmissing,\n\t\t\tadded_at,\n\t\t\tmodified_at,\n\t\t\tlocal_mod_data,\n\t\t\ticon_path\n\t\t)\n\t\tVALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)\n\t\tON CONFLICT (instance_id, relative_path) DO UPDATE SET\n\t\t\tfile_name = excluded.file_name,\n\t\t\tenabled = excluded.enabled,\n\t\t\tsha1 = excluded.sha1,\n\t\t\tsize = excluded.size,\n\t\t\tmissing = excluded.missing,\n\t\t\tmodified_at = excluded.modified_at,\n\t\t\tlocal_mod_data = COALESCE(excluded.local_mod_data, instance_files.local_mod_data),\n\t\t\ticon_path = COALESCE(excluded.icon_path, instance_files.icon_path)\n\t\t",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 12
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "94e55af4b843be7a570b91986ede933ac6674e96efb212ea787abad2468a2332"
|
|
}
|