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