restructure migration directory

This commit is contained in:
Mike Dilger 2023-08-18 12:25:40 +12:00
parent 8bca415866
commit 008a7716de
6 changed files with 5 additions and 4 deletions

View File

@ -4,8 +4,6 @@ use heed::RwTxn;
use nostr_types::{Event, RelayUrl};
use speedy::Readable;
mod settings;
impl Storage {
const MAX_MIGRATION_LEVEL: u32 = 3;

View File

@ -1,5 +1,6 @@
mod import;
mod migrations;
mod types;
use crate::error::{Error, ErrorKind};
use crate::globals::GLOBALS;

View File

@ -3,12 +3,14 @@
// to look like.
mod settings1;
use settings1::Settings1;
pub use settings1::Settings1;
mod settings2;
use settings2::Settings2;
pub use settings2::Settings2;
mod theme1;
pub use theme1::{Theme1, ThemeVariant1};
use crate::error::Error;
use crate::storage::Storage;