aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-02-14 10:55:33 -0500
committerCara Salter <cara@devcara.com>2022-02-15 08:27:37 -0500
commit18abf2d8410bd31f16b406e6e5be18c9c14b653f (patch)
tree1449f8638139d201b40ce4fdbab1e09e3e3f642a /src/main.rs
parent274f2cceabc1b0e2b35e0937473a6497a82d7c98 (diff)
downloadglitch-ng-18abf2d8410bd31f16b406e6e5be18c9c14b653f.tar.gz
glitch-ng-18abf2d8410bd31f16b406e6e5be18c9c14b653f.zip
Add CI0.6.0
Update dependencies Update docker image Fix CI Docker
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 2968f20..8693381 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -123,6 +123,9 @@ async fn main() {
)
.await
.expect("Couldn't connect to postgresql");
+ sqlx::migrate!("./migrations")
+ .run(&pool)
+ .await.unwrap();
Ok(Data {
pg: Mutex::new(pool),
})