1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00

Integrate schema change necessary for microsub

This commit is contained in:
J. King 2020-11-06 11:06:27 -05:00
parent b24c469dca
commit e861cca53d
3 changed files with 8 additions and 0 deletions

View file

@ -4,6 +4,8 @@
-- Please consult the SQLite 3 schemata for commented version
alter table arsse_tokens add column data longtext default null;
alter table arsse_users add column num bigint unsigned unique;
alter table arsse_users add column admin boolean not null default 0;
alter table arsse_users add column lang longtext;

View file

@ -4,6 +4,8 @@
-- Please consult the SQLite 3 schemata for commented version
alter table arsse_tokens add column data text default null;
alter table arsse_users add column num bigint unique;
alter table arsse_users add column admin smallint not null default 0;
alter table arsse_users add column lang text;

View file

@ -2,6 +2,10 @@
-- Copyright 2017 J. King, Dustin Wilson et al.
-- See LICENSE and AUTHORS files for details
-- Add a column to the token table to hold arbitrary class-specific data
-- This is a speculative addition to support OAuth login in the future
alter table arsse_tokens add column data text default null;
-- Add multiple columns to the users table
-- In particular this adds a numeric identifier for each user, which Miniflux requires
create table arsse_users_new(