aboutsummaryrefslogtreecommitdiff
path: root/src/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'src/contrib')
-rw-r--r--src/contrib/admin/migrations/m_0001_initial.rs6
-rw-r--r--src/contrib/admin/mod.rs1
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,
};