mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-05 01:36:30 +00:00
49bb8cb0bc
* import migrations via macro * panic on database not to the latest migration * add subcommand to plm * create migration that run tantivy index creation * remove diesel_cli from places it was * use our migration system for tests * create table __diesel_schema_migrations if needed
10 lines
264 B
SQL
10 lines
264 B
SQL
-- Your SQL goes here
|
|
--#!|conn: &Connection, path: &Path| {
|
|
--#! let mut pb = path.to_path_buf();
|
|
--#! pb.push("search_index");
|
|
--#! let searcher = super::search::Searcher::create(&pb)?;
|
|
--#! searcher.fill(conn)?;
|
|
--#! searcher.commit();
|
|
--#! Ok(())
|
|
--#!}
|
|
|