Commit fa2e829c authored by Robert Czechowski's avatar Robert Czechowski

Remove old sqlite database provider

parent a19e113e
Pipeline #442 passed with stages
......@@ -11,12 +11,10 @@ license = "AGPL-3.0-or-later"
maintenance = { status = "active-developed" }
[features]
rusqlite_old = ["rusqlite"]
rusqlite_new = ["rusqlite"]
default = ["rusqlite_new"]
complete = ["rusqlite_new", "postgres", "webbrowser"]
server = ["rusqlite_new", "postgres"]
desktop = ["rusqlite_new", "webbrowser"]
default = ["rusqlite"]
complete = ["rusqlite", "postgres", "webbrowser"]
server = ["rusqlite", "postgres"]
desktop = ["rusqlite", "webbrowser"]
watch = ["handlebars-iron/watch"]
strict = [] # Treat warnings as a build error
debug = []
......
......@@ -1182,7 +1182,8 @@ impl MedalConnection for Connection {
'teachers': {},
'participations': {},
'submissions': {}
}}",
}}
",
now.sec, n_asession, n_apart, n_session, n_user, n_pmsuser, n_teacher, n_part, n_sub
)
}
......
This diff is collapsed.
#![cfg(feature = "rusqlite_new")]
#![cfg(feature = "rusqlite")]
extern crate rusqlite;
......
......@@ -11,7 +11,7 @@
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#![cfg(feature = "rusqlite_new")]
#![cfg(feature = "rusqlite")]
extern crate rusqlite;
......@@ -1182,7 +1182,8 @@ impl MedalConnection for Connection {
'teachers': {},
'participations': {},
'submissions': {}
}}",
}}
",
now.sec, n_asession, n_apart, n_session, n_user, n_pmsuser, n_teacher, n_part, n_sub
)
}
......
......@@ -23,9 +23,7 @@ extern crate urlencoded;
#[cfg(feature = "postgres")]
extern crate postgres;
#[cfg(feature = "rusqlite_old")]
extern crate rusqlite;
#[cfg(feature = "rusqlite_new")]
#[cfg(feature = "rusqlite")]
extern crate rusqlite;
#[cfg(feature = "webbrowser")]
extern crate webbrowser;
......@@ -39,7 +37,6 @@ pub mod oauth_provider;
mod db_apply_migrations;
mod db_conn_postgres;
mod db_conn_sqlite;
mod db_conn_sqlite_new;
mod db_objects;
mod webfw_iron;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment