mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-29 05:07:23 +01:00
Refactor module layout
This commit is contained in:
parent
e59052a362
commit
5956b7ff15
70 changed files with 757 additions and 841 deletions
|
|
@ -6,12 +6,11 @@ use std::fmt::Display;
|
|||
use anyhow::Result;
|
||||
use diesel::prelude::*;
|
||||
use gtk::glib::{self, Boxed};
|
||||
|
||||
use super::{schema::*, tables, TranslatedString};
|
||||
|
||||
// Re-exports for tables that don't need additional information.
|
||||
pub use tables::{Instrument, Person, Role};
|
||||
|
||||
use super::{schema::*, tables, TranslatedString};
|
||||
|
||||
#[derive(Boxed, Clone, Debug)]
|
||||
#[boxed_type(name = "MusicusWork")]
|
||||
pub struct Work {
|
||||
|
|
|
|||
|
|
@ -2,8 +2,7 @@
|
|||
//! tables in the database schema.
|
||||
|
||||
use chrono::NaiveDateTime;
|
||||
use diesel::prelude::*;
|
||||
use diesel::sqlite::Sqlite;
|
||||
use diesel::{prelude::*, sqlite::Sqlite};
|
||||
use gtk::glib::{self, Boxed};
|
||||
|
||||
use super::{schema::*, TranslatedString};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue