aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2024-04-07 15:35:46 -0400
committerShav Kinderlehrer <[email protected]>2024-04-07 15:35:46 -0400
commitf080854b84d80f6063b4f9392d059a84ec09e66c (patch)
treec5b64f79fc808b0dd417ca18753aa81e17444770 /src/main.rs
parent2405c9cf315f3bba470a2d373089ff011a20572e (diff)
downloadchela-f080854b84d80f6063b4f9392d059a84ec09e66c.tar.gz
chela-f080854b84d80f6063b4f9392d059a84ec09e66c.zip
Version 1.0v1.0.0
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index ccad3e8..e307b8e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -98,7 +98,8 @@ async fn init_db() -> eyre::Result<Pool<Postgres>> {
CREATE TABLE IF NOT EXISTS chela.urls (
index BIGSERIAL PRIMARY KEY,
id TEXT NOT NULL UNIQUE,
- url TEXT NOT NULL
+ url TEXT NOT NULL,
+ custom_id BOOLEAN NOT NULL
)
",
)