From 7a70e30c7e20a3dbe57b95e511c89374dfdafe2b Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 27 Aug 2022 23:38:54 +0200 Subject: [PATCH] Fix Containerfile and order of migrations Signed-off-by: trivernis --- Cargo.lock | 2 +- Containerfile | 4 ++-- bot-database/migration/src/lib.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cac45f8..8face3e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3520,7 +3520,7 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tobi-rs" -version = "0.10.2" +version = "0.10.3" dependencies = [ "animethemes-rs", "aspotify", diff --git a/Containerfile b/Containerfile index 850235f..da5a784 100644 --- a/Containerfile +++ b/Containerfile @@ -4,7 +4,7 @@ FROM ${BASE_IMAGE} AS build_base RUN apk update RUN apk add --no-cache --force-overwrite \ build-base \ - openssl3-dev \ + openssl-dev \ libopusenc-dev \ libpq-dev \ curl \ @@ -29,7 +29,7 @@ RUN cp target/release/tobi-rs /tmp/tobi/ FROM ${BASE_IMAGE} AS runtime-base RUN apk update RUN apk add --no-cache --force-overwrite \ - openssl3 \ + openssl \ libopusenc \ libpq \ python3 \ diff --git a/bot-database/migration/src/lib.rs b/bot-database/migration/src/lib.rs index 5e67577..486d5e1 100644 --- a/bot-database/migration/src/lib.rs +++ b/bot-database/migration/src/lib.rs @@ -9,8 +9,8 @@ pub struct Migrator; impl MigratorTrait for Migrator { fn migrations() -> Vec> { vec![ - Box::new(m20220029_164527_change_timestamp_format::Migration), Box::new(m20220101_000001_create_table::Migration), + Box::new(m20220029_164527_change_timestamp_format::Migration), ] } }