Figured out a good schema for the pane serialization stuff
This commit is contained in:
parent
46ff0885f0
commit
5505a776e6
9 changed files with 156 additions and 65 deletions
|
@ -1,7 +1,7 @@
|
|||
use rusqlite_migration::{Migrations, M};
|
||||
|
||||
// use crate::items::ITEMS_M_1;
|
||||
use crate::{kvp::KVP_M_1, WORKSPACE_M_1};
|
||||
use crate::{kvp::KVP_M_1, pane::PANE_M_1, WORKSPACE_M_1};
|
||||
|
||||
// This must be ordered by development time! Only ever add new migrations to the end!!
|
||||
// Bad things will probably happen if you don't monotonically edit this vec!!!!
|
||||
|
@ -10,6 +10,7 @@ use crate::{kvp::KVP_M_1, WORKSPACE_M_1};
|
|||
lazy_static::lazy_static! {
|
||||
pub static ref MIGRATIONS: Migrations<'static> = Migrations::new(vec![
|
||||
M::up(KVP_M_1),
|
||||
M::up(WORKSPACE_M_1)
|
||||
M::up(WORKSPACE_M_1),
|
||||
M::up(PANE_M_1)
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue