-
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.
feat: fix everything, basically (maybe)
- Loading branch information
1 parent
0f0e04e
commit 9920861
Showing
111 changed files
with
10,404 additions
and
12,452 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
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,31 @@ | ||
CREATE TABLE element ( | ||
id serial PRIMARY KEY, | ||
name TEXT NOT NULL, | ||
slug TEXT NULL DEFAULT NULL, | ||
uri TEXT NULL, | ||
parent INT NULL, | ||
empty BOOL NOT NULL, | ||
checksum TEXT NULL, | ||
size INT NULL, | ||
directory BOOL NOT NULL, | ||
pending BOOL NOT NULL, | ||
deleted BOOL NOT NULL, | ||
link TEXT NULL, | ||
added timestamptz NOT NULL DEFAULT now(), | ||
requested_deletion BOOL NOT NULL, | ||
downloads_today INT NOT NULL DEFAULT 0, | ||
downloads_week INT NOT NULL DEFAULT 0, | ||
downloads_month INT NOT NULL DEFAULT 0, | ||
downloads_year INT NOT NULL DEFAULT 0, | ||
downloads_all INT NOT NULL DEFAULT 0, | ||
last_visited timestamptz NULL DEFAULT NULL, | ||
last_downloaded timestamptz NULL DEFAULT NULL | ||
); | ||
|
||
CREATE TABLE download ( | ||
element INT NOT NULL, | ||
date DATE NOT NULL, | ||
downloads INT NOT NULL | ||
); | ||
|
||
ALTER TABLE download ADD PRIMARY KEY (element, date); |
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,3 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"chrome": "58", | ||
"ie": "11" | ||
} | ||
} | ||
], | ||
"@babel/preset-react" | ||
], | ||
"plugins": [ | ||
"@babel/plugin-transform-runtime" | ||
] | ||
"presets": ["@babel/env", "@babel/react"] | ||
} |
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 @@ | ||
18.12.0 |
Oops, something went wrong.