-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
133 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
CREATE TABLE IF NOT EXISTS api ( | ||
id INTEGER PRIMARY KEY AUTOINCREMENT, | ||
api_key TEXT, | ||
api_slug TEXT, | ||
api_usage INTEGER DEFAULT 0, | ||
api_allowed_domains TEXT, | ||
status INTEGER DEFAULT 1, | ||
created_by TEXT, | ||
created_at TIMESTAMP DEFAULT (strftime('%s',CURRENT_TIMESTAMP,'localtime')) | ||
); | ||
|
||
CREATE TABLE IF NOT EXISTS permissions ( | ||
id INTEGER PRIMARY KEY AUTOINCREMENT, | ||
name TEXT, | ||
"default" INTEGER DEFAULT 0 | ||
); | ||
|
||
CREATE TABLE IF NOT EXISTS roles ( | ||
id INTEGER PRIMARY KEY AUTOINCREMENT, | ||
name TEXT, | ||
description TEXT, | ||
access TEXT, | ||
color TEXT, | ||
"default" INTEGER DEFAULT 0, | ||
is_admin INTEGER DEFAULT 0 | ||
); | ||
|
||
INSERT INTO roles (id, name, description, access, color, is_admin) | ||
VALUES (0, 'Member', NULL, NULL, NULL, 0); | ||
|
||
INSERT INTO roles (id, name, description, access, color, is_admin) | ||
VALUES (1, 'Admin', NULL, '*', NULL, 1); | ||
|
||
CREATE TABLE IF NOT EXISTS site ( | ||
id INTEGER PRIMARY KEY AUTOINCREMENT, | ||
site_name TEXT, | ||
site_title TEXT, | ||
site_description TEXT, | ||
site_keywords TEXT, | ||
site_logo TEXT, | ||
smtp_host TEXT, | ||
smtp_mail TEXT, | ||
smtp_port TEXT, | ||
smtp_scheme TEXT, | ||
smtp_user TEXT, | ||
smtp_pass TEXT, | ||
uri_backend TEXT, | ||
uri_auth TEXT, | ||
base_url TEXT, | ||
color_primary TEXT, | ||
color_primary_text TEXT, | ||
color_dark TEXT, | ||
color_light TEXT, | ||
color_dark_secondary TEXT, | ||
color_light_secondary TEXT, | ||
setup_wizzard INTEGER DEFAULT 1, | ||
enable_frontend INTEGER DEFAULT 1, | ||
enable_api INTEGER DEFAULT 1, | ||
enable_register INTEGER DEFAULT 0 | ||
); | ||
|
||
CREATE TABLE IF NOT EXISTS users ( | ||
id INTEGER PRIMARY KEY AUTOINCREMENT, | ||
user_id TEXT, | ||
displayName TEXT, | ||
avatar TEXT, | ||
phone TEXT, | ||
email TEXT, | ||
bio TEXT, | ||
address TEXT, | ||
dob TEXT, | ||
crypt TEXT, | ||
confirmed INTEGER DEFAULT 0, | ||
nonce TEXT, | ||
role INTEGER DEFAULT 0, | ||
ip_address TEXT, | ||
last_online TEXT, | ||
login_alerts INTEGER DEFAULT 0, | ||
twofactor INTEGER DEFAULT 0, | ||
twofactor_sk TEXT, | ||
passkey INTEGER DEFAULT 0, | ||
pin INTEGER DEFAULT 0, | ||
login_count INTEGER DEFAULT 0, | ||
is_admin INTEGER DEFAULT 0, | ||
is_super_admin INTEGER DEFAULT 0, | ||
is_developer INTEGER DEFAULT 0, | ||
created_at TIMESTAMP, | ||
status INTEGER DEFAULT 0 | ||
); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"compression":25,"cropmethod":0,"apple-background":"2d89ef","apple-margin":15,"android-background":"00a300","android-margin":15,"android-name":"Test","android-url":"https:\/\/host.local","android-orientation":"portrait","ms-background":"00a300"} | ||
{"compression":25,"cropmethod":0,"apple-background":"2d89ef","apple-margin":15,"android-background":"00a300","android-margin":15,"android-name":"Tests","android-url":"https:\/\/api.local","android-orientation":"portrait","ms-background":"00a300"} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"name":"Test","start_url":"https:\/\/host.local","display":"standalone","orientation":"portrait","icons":[{"src":"public\/manifest\/android-chrome-36x36.png","sizes":"36x36","type":"image\/png","density":"0.75"},{"src":"public\/manifest\/android-chrome-48x48.png","sizes":"48x48","type":"image\/png","density":"1.0"},{"src":"public\/manifest\/android-chrome-72x72.png","sizes":"72x72","type":"image\/png","density":"1.5"},{"src":"public\/manifest\/android-chrome-96x96.png","sizes":"96x96","type":"image\/png","density":"2.0"},{"src":"public\/manifest\/android-chrome-144x144.png","sizes":"144x144","type":"image\/png","density":"3.0"},{"src":"public\/manifest\/android-chrome-192x192.png","sizes":"192x192","type":"image\/png","density":"4.0"}]} | ||
{"name":"Tests","start_url":"https:\/\/api.local","display":"standalone","orientation":"portrait","icons":[{"src":"public\/manifest\/android-chrome-36x36.png","sizes":"36x36","type":"image\/png","density":"0.75"},{"src":"public\/manifest\/android-chrome-48x48.png","sizes":"48x48","type":"image\/png","density":"1.0"},{"src":"public\/manifest\/android-chrome-72x72.png","sizes":"72x72","type":"image\/png","density":"1.5"},{"src":"public\/manifest\/android-chrome-96x96.png","sizes":"96x96","type":"image\/png","density":"2.0"},{"src":"public\/manifest\/android-chrome-144x144.png","sizes":"144x144","type":"image\/png","density":"3.0"},{"src":"public\/manifest\/android-chrome-192x192.png","sizes":"192x192","type":"image\/png","density":"4.0"}]} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.