feat: init postgres implementation via sqlx

This commit is contained in:
realaravinth
2022-05-08 20:02:17 +05:30
parent 02abffd63a
commit dba1f662a7
16 changed files with 308 additions and 4 deletions

View File

@@ -0,0 +1,4 @@
CREATE TABLE IF NOT EXISTS mcaptcha_pow_fetched_stats (
config_id INTEGER references mcaptcha_config(config_id) ON DELETE CASCADE,
time timestamptz NOT NULL DEFAULT now()
);