moved sql migration.
This commit is contained in:
1 parent
688d1005bf
commit
d74d8b9d3e
4 files changed
+285
-2
No files matched your search
+1
-1
@@ -91,7 +91,7 @@ fn check_migration(tx: &Transaction, id: usize, migration: &String) -> Result<()
|
||||
|
||||
fn get_migrations() -> Vec<String> {
|
||||
let mut ret = Vec::new();
|
||||
ret.push(resource_str!("migrations/create_tables_001.sql").as_ref().to_string());
|
||||
ret.push(resource_str!("migrations/sql/create_tables_001.sql").as_ref().to_string());
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user