mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-12-28 07:18:59 +00:00
the handle should really be the PK
This commit is contained in:
parent
037dd05148
commit
e19abc6a18
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ CREATE TABLE IF NOT EXISTS `credentials` (
|
|||
`secret` VARCHAR(128) NOT NULL
|
||||
);
|
||||
CREATE TABLE IF NOT EXISTS `fedi_account` (
|
||||
`handle` VARCHAR(128) NOT NULL,
|
||||
`outbox` VARCHAR(256) PRIMARY KEY,
|
||||
`handle` VARCHAR(128) NOT NULL PRIMARY KEY,
|
||||
`outbox` VARCHAR(256),
|
||||
FOREIGN KEY (`credentials_id`) REFERENCES credentials(id) ON DELETE CASCADE
|
||||
);
|
||||
CREATE TABLE IF NOT EXISTS `posts` (
|
||||
|
|
Loading…
Reference in a new issue