From 0ed5d5aabf8d8f9781dbe452ac6a873f4e257b23 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 30 Mar 2024 00:31:03 +0100 Subject: [PATCH] feat: remove migrations Signed-off-by: kjuulh --- cuddle-rust-cli/README.md | 7 +------ .../%%name%%/migrations/crdb/20240201211013_initial.sql | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 cuddle-rust-cli/crates/%%name%%/migrations/crdb/20240201211013_initial.sql diff --git a/cuddle-rust-cli/README.md b/cuddle-rust-cli/README.md index f799ebf..0f41f12 100644 --- a/cuddle-rust-cli/README.md +++ b/cuddle-rust-cli/README.md @@ -1,7 +1,2 @@ -# Newsletter API +# %%name%% -represents a newsletter service for handling subscriptins and whatnot for my own email newsletter - -## Usage - -This services requires a postgresql compatible, instance, in this case cockroachdb is used. Simply pass a DATABASE_URL to the app and it should apply migrations by itself. Do note that because Cockroach is used with SQLX locking on the schema table is disabled, reason being that cockroachdb doesn't currently support advisory locks diff --git a/cuddle-rust-cli/crates/%%name%%/migrations/crdb/20240201211013_initial.sql b/cuddle-rust-cli/crates/%%name%%/migrations/crdb/20240201211013_initial.sql deleted file mode 100644 index 8ddc1d3..0000000 --- a/cuddle-rust-cli/crates/%%name%%/migrations/crdb/20240201211013_initial.sql +++ /dev/null @@ -1 +0,0 @@ --- Add migration script here