-
Notifications
You must be signed in to change notification settings - Fork 1
Connect to a multi-nodal distributed database system #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 15 commits
8d7a627
7236e9a
6cc7512
6143d14
bb81877
6d15aea
84b6164
c13b2df
b27b3b9
0152fa5
3e34919
1ae9773
5558262
154ffaa
843347f
df911a4
b0bfae4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| .PHONY: all sqlc | ||
|
|
||
| all: sqlc | ||
|
|
||
| sqlc: | ||
| sqlc generate |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| DROP TABLE domains; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| CREATE TABLE IF NOT EXISTS domains | ||
| ( | ||
| id INTEGER PRIMARY KEY AUTO_INCREMENT, | ||
| domain TEXT UNIQUE NOT NULL, | ||
| active BOOLEAN NOT NULL DEFAULT 1 | ||
| ); |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| DROP TABLE favicons; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| CREATE TABLE IF NOT EXISTS favicons | ||
| ( | ||
| id INTEGER PRIMARY KEY AUTO_INCREMENT, | ||
| host TEXT NOT NULL, | ||
| svg TEXT, | ||
| png TEXT, | ||
| ico TEXT | ||
| ); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| DROP TABLE routes; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| CREATE TABLE IF NOT EXISTS routes | ||
| ( | ||
| id INTEGER PRIMARY KEY AUTO_INCREMENT, | ||
| source TEXT UNIQUE NOT NULL, | ||
| destination TEXT NOT NULL, | ||
| description TEXT NOT NULL, | ||
| flags INTEGER NOT NULL DEFAULT 0, | ||
| active BOOLEAN NOT NULL DEFAULT 1 | ||
| ); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| DROP TABLE redirects; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| CREATE TABLE IF NOT EXISTS redirects | ||
| ( | ||
| id INTEGER PRIMARY KEY AUTO_INCREMENT, | ||
| source TEXT UNIQUE NOT NULL, | ||
| destination TEXT NOT NULL, | ||
| description TEXT NOT NULL, | ||
| flags INTEGER NOT NULL DEFAULT 0, | ||
| code INTEGER NOT NULL DEFAULT 0, | ||
| active BOOLEAN NOT NULL DEFAULT 1 | ||
| ); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could place the entire build system within the makefile in future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My idea is to eventually have a build system for debian packages which can be loaded onto the server via the standard packaging system.