1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-12-28 07:18:59 +00:00

add user handle column to fedi account table

This commit is contained in:
Lynne Megido 2019-08-31 23:59:31 +10:00
parent 3041310004
commit 1d296ec3bd

View file

@ -32,6 +32,7 @@ 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,
`instance` VARCHAR(256) NOT NULL,
FOREIGN KEY (`credentials_id`) REFERENCES credentials(id) ON DELETE CASCADE