mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 18:33:51 +01:00
Revert non-trivial changes to upgrade scripts
This commit is contained in:
parent
e2722f58ee
commit
cda4a6f93f
3 changed files with 5 additions and 5 deletions
|
@ -22,7 +22,7 @@ CREATE TABLE IF NOT EXISTS rejections(
|
||||||
|
|
||||||
-- Push notification endpoints that users have configured
|
-- Push notification endpoints that users have configured
|
||||||
CREATE TABLE IF NOT EXISTS pushers (
|
CREATE TABLE IF NOT EXISTS pushers (
|
||||||
id BIGINT PRIMARY KEY,
|
id BIGINT PRIMARY KEY AUTOINCREMENT,
|
||||||
user_name VARCHAR(150) NOT NULL,
|
user_name VARCHAR(150) NOT NULL,
|
||||||
profile_tag VARCHAR(32) NOT NULL,
|
profile_tag VARCHAR(32) NOT NULL,
|
||||||
kind VARCHAR(8) NOT NULL,
|
kind VARCHAR(8) NOT NULL,
|
||||||
|
@ -40,7 +40,7 @@ CREATE TABLE IF NOT EXISTS pushers (
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS push_rules (
|
CREATE TABLE IF NOT EXISTS push_rules (
|
||||||
id BIGINT PRIMARY KEY,
|
id BIGINT PRIMARY KEY AUTOINCREMENT,
|
||||||
user_name VARCHAR(150) NOT NULL,
|
user_name VARCHAR(150) NOT NULL,
|
||||||
rule_id VARCHAR(150) NOT NULL,
|
rule_id VARCHAR(150) NOT NULL,
|
||||||
priority_class TINYINT NOT NULL,
|
priority_class TINYINT NOT NULL,
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS application_services(
|
CREATE TABLE IF NOT EXISTS application_services(
|
||||||
id BIGINT PRIMARY KEY,
|
id BIGINT PRIMARY KEY AUTOINCREMENT,
|
||||||
url VARCHAR(150),
|
url VARCHAR(150),
|
||||||
token VARCHAR(150),
|
token VARCHAR(150),
|
||||||
hs_token VARCHAR(150),
|
hs_token VARCHAR(150),
|
||||||
|
@ -23,7 +23,7 @@ CREATE TABLE IF NOT EXISTS application_services(
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS application_services_regex(
|
CREATE TABLE IF NOT EXISTS application_services_regex(
|
||||||
id BIGINT PRIMARY KEY,
|
id BIGINT PRIMARY KEY AUTOINCREMENT,
|
||||||
as_id BIGINT NOT NULL,
|
as_id BIGINT NOT NULL,
|
||||||
namespace INTEGER, /* enum[room_id|room_alias|user_id] */
|
namespace INTEGER, /* enum[room_id|room_alias|user_id] */
|
||||||
regex VARCHAR(150),
|
regex VARCHAR(150),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
CREATE TABLE IF NOT EXISTS push_rules_enable (
|
CREATE TABLE IF NOT EXISTS push_rules_enable (
|
||||||
id BIGINT PRIMARY KEY,
|
id BIGINT PRIMARY KEY AUTOINCREMENT,
|
||||||
user_name VARCHAR(150) NOT NULL,
|
user_name VARCHAR(150) NOT NULL,
|
||||||
rule_id VARCHAR(150) NOT NULL,
|
rule_id VARCHAR(150) NOT NULL,
|
||||||
enabled TINYINT,
|
enabled TINYINT,
|
||||||
|
|
Loading…
Reference in a new issue