mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-16 13:01:04 +02:00
Rename subscription (#192)
* Rename addserver request to createsubscription * Rename server to subscription * Show subscriptions in frontend
This commit is contained in:
parent
3a0a322439
commit
874f27df58
15 changed files with 174 additions and 160 deletions
6
init.sql
6
init.sql
|
|
@ -33,10 +33,10 @@ CREATE TABLE IF NOT EXISTS profile (
|
|||
whitelisted BOOLEAN NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS server (
|
||||
server_id SERIAL PRIMARY KEY,
|
||||
CREATE TABLE IF NOT EXISTS subscription (
|
||||
subscription_id SERIAL PRIMARY KEY,
|
||||
created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
server_name VARCHAR(64),
|
||||
subscription_name VARCHAR(64),
|
||||
server_host VARCHAR(256) NOT NULL,
|
||||
server_port INTEGER NOT NULL,
|
||||
sharing BOOLEAN NOT NULL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue