remove SQL comments
This commit is contained in:
parent
89f122b75b
commit
35f3ba1a89
|
@ -2,8 +2,6 @@
|
||||||
--
|
--
|
||||||
-- SPDX-License-Identifier: CC0-1.0
|
-- SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
-- Create table of users with username, password hash, salt, and creation
|
|
||||||
-- timestamp
|
|
||||||
CREATE TABLE users
|
CREATE TABLE users
|
||||||
(
|
(
|
||||||
username TEXT NOT NULL PRIMARY KEY,
|
username TEXT NOT NULL PRIMARY KEY,
|
||||||
|
@ -12,8 +10,6 @@ CREATE TABLE users
|
||||||
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
|
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||||
);
|
);
|
||||||
|
|
||||||
-- Create table of sessions with session GUID, username, and timestamp of when
|
|
||||||
-- the session was created
|
|
||||||
CREATE TABLE sessions
|
CREATE TABLE sessions
|
||||||
(
|
(
|
||||||
token TEXT NOT NULL PRIMARY KEY,
|
token TEXT NOT NULL PRIMARY KEY,
|
||||||
|
@ -22,8 +18,6 @@ CREATE TABLE sessions
|
||||||
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
|
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||||
);
|
);
|
||||||
|
|
||||||
-- Create table of tracked projects with URL, name, forge, running version, and
|
|
||||||
-- timestamp of when the project was added
|
|
||||||
CREATE TABLE projects
|
CREATE TABLE projects
|
||||||
(
|
(
|
||||||
url TEXT NOT NULL PRIMARY KEY,
|
url TEXT NOT NULL PRIMARY KEY,
|
||||||
|
@ -33,8 +27,6 @@ CREATE TABLE projects
|
||||||
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
|
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||||
);
|
);
|
||||||
|
|
||||||
-- Create table of project releases with the project URL and the release tags,
|
|
||||||
-- contents, URLs, and dates
|
|
||||||
CREATE TABLE releases
|
CREATE TABLE releases
|
||||||
(
|
(
|
||||||
id TEXT NOT NULL PRIMARY KEY,
|
id TEXT NOT NULL PRIMARY KEY,
|
||||||
|
|
Loading…
Reference in New Issue