diff --git a/Cargo.toml b/Cargo.toml index a8ddd51..c92476d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ path = "src/main.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rb = { git = "https://git.rustybever.be/rusty-bever/common-rs.git" } +rb = { git = "https://git.hackbever.be/rusty-bever/common-rs.git" } # Backend web framework rocket = { version = "0.5.0-rc.1", features = [ "json", "uuid" ] } # Used to provide Rocket routes with database connections diff --git a/docker-compose.yml b/docker-compose.yml index fd28363..5fc94bb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,15 +6,7 @@ services: image: 'postgres:14-alpine' restart: 'always' - healthcheck: - test: pg_isready - interval: 30s - timeout: 5s - retries: 3 - start_period: 15s - environment: - - 'POSTGRES_DB=rb' - 'POSTGRES_USER=rb' - 'POSTGRES_PASSWORD=rb' ports: diff --git a/migrations/2021-09-13-143540_sections/down.sql b/migrations/2021-09-13-143540_sections/down.sql index c3b5ba5..792db38 100644 --- a/migrations/2021-09-13-143540_sections/down.sql +++ b/migrations/2021-09-13-143540_sections/down.sql @@ -2,7 +2,6 @@ drop trigger insert_enforce_version_titles on versions; drop trigger update_enforce_version_titles on versions; drop function enforce_version_titles; -drop index sections_shortname_index; drop table versions cascade; drop table tags cascade; diff --git a/migrations/2021-09-13-143540_sections/up.sql b/migrations/2021-09-13-143540_sections/up.sql index ca30c71..3334941 100644 --- a/migrations/2021-09-13-143540_sections/up.sql +++ b/migrations/2021-09-13-143540_sections/up.sql @@ -15,8 +15,6 @@ create table sections ( is_private boolean NOT NULL DEFAULT false ); -create index sections_shortname_index on sections(shortname); - create table posts ( id uuid DEFAULT gen_random_uuid() PRIMARY KEY,