diff options
| author | Syndamia <kamen@syndamia.com> | 2025-02-02 13:43:26 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2025-02-02 13:43:26 +0200 |
| commit | 0e4f90e6a82f0fc275d65bf0e4f4c2842052dde9 (patch) | |
| tree | 892ccf952d364f03734ed95950845037fef26179 /migrations | |
| parent | 168abc2c8512343f2a65461c6791ae852ae64665 (diff) | |
| download | nowayforward_human-0e4f90e6a82f0fc275d65bf0e4f4c2842052dde9.tar nowayforward_human-0e4f90e6a82f0fc275d65bf0e4f4c2842052dde9.tar.gz nowayforward_human-0e4f90e6a82f0fc275d65bf0e4f4c2842052dde9.zip | |
feat(views/user): Implement account deletion
Diffstat (limited to 'migrations')
| -rw-r--r-- | migrations/00-initial.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migrations/00-initial.sql b/migrations/00-initial.sql index 879b5f1..a4b999f 100644 --- a/migrations/00-initial.sql +++ b/migrations/00-initial.sql @@ -15,7 +15,7 @@ CREATE TABLE IF NOT EXISTS Cookies ( Token CHAR(36) NOT NULL, Expires DATETIME, PRIMARY KEY (UID, Token), - FOREIGN KEY (UID) REFERENCES Users(UID) + FOREIGN KEY (UID) REFERENCES Users(UID) ON DELETE CASCADE ); CREATE TABLE IF NOT EXISTS Webpages ( |
