hskLog 테이블의 actionBy 필드의 Foreign key constraint이 잘못 지정되어 있던 버그 수정

This commit is contained in:
static
2025-01-19 02:03:44 +09:00
parent 6018b03523
commit 0002b4e5f2
8 changed files with 33 additions and 2634 deletions

View File

@@ -1,7 +1,7 @@
{
"version": "6",
"dialect": "sqlite",
"id": "928e5669-81cf-486c-9122-8ee64fc9f457",
"id": "396a26d6-6f55-4162-a23e-c1117f3a3757",
"prevId": "00000000-0000-0000-0000-000000000000",
"tables": {
"client": {
@@ -470,12 +470,33 @@
"notNull": true,
"autoincrement": false
},
"encrypted_content_hash": {
"name": "encrypted_content_hash",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"encrypted_name": {
"name": "encrypted_name",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"encrypted_created_at": {
"name": "encrypted_created_at",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"encrypted_last_modified_at": {
"name": "encrypted_last_modified_at",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
}
},
"indexes": {
@@ -763,10 +784,10 @@
"onDelete": "no action",
"onUpdate": "no action"
},
"hmac_secret_key_log_action_by_user_id_fk": {
"name": "hmac_secret_key_log_action_by_user_id_fk",
"hmac_secret_key_log_action_by_client_id_fk": {
"name": "hmac_secret_key_log_action_by_client_id_fk",
"tableFrom": "hmac_secret_key_log",
"tableTo": "user",
"tableTo": "client",
"columnsFrom": [
"action_by"
],