The PR only shipped a SQLite creator_id migration; MySQL and PostgreSQL were missing (CodeRabbit) and the SQLite one lacked ON DELETE SET NULL. Regenerate on top of dev's widget_secret base: - sqlite 0041: ADD creator_id ... REFERENCES user(id) ON DELETE SET NULL - mysql 0043: ADD creator_id + FK ON DELETE set null (hand-written snapshot from dev's 0042 to avoid touching the pre-existing custom_widget_secret FK that must stay under MySQL's 64-char identifier limit) - postgresql 0009: ADD creator_id + FK ON DELETE set null Schema already declares onDelete: set null on integration.creatorId.
76 lines
1.5 KiB
JSON
76 lines
1.5 KiB
JSON
{
|
|
"version": "7",
|
|
"dialect": "postgresql",
|
|
"entries": [
|
|
{
|
|
"idx": 0,
|
|
"version": "7",
|
|
"when": 1754853510707,
|
|
"tag": "0000_initial",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 1,
|
|
"version": "7",
|
|
"when": 1756701573101,
|
|
"tag": "0001_increase-secret-kind-length",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 2,
|
|
"version": "7",
|
|
"when": 1760968530084,
|
|
"tag": "0002_add_app_reference_to_integration",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 3,
|
|
"version": "7",
|
|
"when": 1775399963041,
|
|
"tag": "0003_remove_salt",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 4,
|
|
"version": "7",
|
|
"when": 1775400000000,
|
|
"tag": "0004_add_user_ddg_bangs",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 5,
|
|
"version": "7",
|
|
"when": 1779199097716,
|
|
"tag": "0005_add_user_onboarding_tour_status",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 6,
|
|
"version": "7",
|
|
"when": 1780764416094,
|
|
"tag": "0006_last_callisto",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 7,
|
|
"version": "7",
|
|
"when": 1780764500000,
|
|
"tag": "0007_merge_custom_widget_url",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 8,
|
|
"version": "7",
|
|
"when": 1783176100870,
|
|
"tag": "0008_add_widget_secret",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 9,
|
|
"version": "7",
|
|
"when": 1783786378808,
|
|
"tag": "0009_add_integration_creator_id",
|
|
"breakpoints": true
|
|
}
|
|
]
|
|
} |