diff options
author | Melody Horn / boringcactus <melody@boringcactus.com> | 2021-06-16 14:22:50 -0600 |
---|---|---|
committer | Melody Horn / boringcactus <melody@boringcactus.com> | 2021-06-16 14:22:50 -0600 |
commit | 58d2f63f4577bc701b6bd655064cefebb65118b4 (patch) | |
tree | 0427ac03e6d0d0ed7879aecaa45cd3937939aa4e /src/contrib | |
parent | 685b47247aad71468f190c42929ca6f0dce843fa (diff) | |
download | tosin-58d2f63f4577bc701b6bd655064cefebb65118b4.tar.gz tosin-58d2f63f4577bc701b6bd655064cefebb65118b4.zip |
actually run migrations
Diffstat (limited to 'src/contrib')
-rw-r--r-- | src/contrib/admin/migrations/m_0001_initial.rs | 6 | ||||
-rw-r--r-- | src/contrib/admin/mod.rs | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/contrib/admin/migrations/m_0001_initial.rs b/src/contrib/admin/migrations/m_0001_initial.rs index 6fed631..ebfdc47 100644 --- a/src/contrib/admin/migrations/m_0001_initial.rs +++ b/src/contrib/admin/migrations/m_0001_initial.rs @@ -1,10 +1,8 @@ -use crate::db::migration::{Migration, DatabaseChange}; +use crate::db::migration::Migration; pub const MIGRATION: Migration = Migration { id: 1, name: "initial", prereqs: &[], - changes: &[ - DatabaseChange::CreateModel, - ], + changes: &[], }; diff --git a/src/contrib/admin/mod.rs b/src/contrib/admin/mod.rs index 5098a4a..f92e709 100644 --- a/src/contrib/admin/mod.rs +++ b/src/contrib/admin/mod.rs @@ -4,5 +4,6 @@ mod migrations; pub mod site; pub const APP: AppConfig = AppConfig { + name: module_path!(), migrations: migrations::migrations, }; |