mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 08:38:59 +00:00
add user handle column to fedi account table
This commit is contained in:
parent
3041310004
commit
1d296ec3bd
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ CREATE TABLE IF NOT EXISTS `credentials` (
|
||||||
`secret` VARCHAR(128) NOT NULL
|
`secret` VARCHAR(128) NOT NULL
|
||||||
);
|
);
|
||||||
CREATE TABLE IF NOT EXISTS `fedi_account` (
|
CREATE TABLE IF NOT EXISTS `fedi_account` (
|
||||||
|
`handle` VARCHAR(128) NOT NULL,
|
||||||
`outbox` VARCHAR(256) PRIMARY KEY,
|
`outbox` VARCHAR(256) PRIMARY KEY,
|
||||||
`instance` VARCHAR(256) NOT NULL,
|
`instance` VARCHAR(256) NOT NULL,
|
||||||
FOREIGN KEY (`credentials_id`) REFERENCES credentials(id) ON DELETE CASCADE
|
FOREIGN KEY (`credentials_id`) REFERENCES credentials(id) ON DELETE CASCADE
|
||||||
|
|
Loading…
Reference in a new issue