X-Git-Url: http://git.euphorik.ch/?p=recipes.git;a=blobdiff_plain;f=backend%2Fsrc%2Fconsts.rs;fp=backend%2Fsrc%2Fconsts.rs;h=d84c21d0677bec86fcdba3b7e7eafa179fac9091;hp=a7fcf2db0c7b92b5c0f7e8ac591e1d48e8494570;hb=108476e3554ea3a25dca5b5ab260f38c1e734221;hpb=a080d19cb9076780db9e86325b2ab617886e2a5f diff --git a/backend/src/consts.rs b/backend/src/consts.rs index a7fcf2d..d84c21d 100644 --- a/backend/src/consts.rs +++ b/backend/src/consts.rs @@ -1,3 +1,4 @@ -pub static FILE_CONF: &str = "conf.ron"; -pub static DB_DIRECTORY: &str = "data"; -pub static DB_FILENAME: &str = "recipes.sqlite"; \ No newline at end of file +pub const FILE_CONF: &str = "conf.ron"; +pub const DB_DIRECTORY: &str = "data"; +pub const DB_FILENAME: &str = "data/recipes.sqlite"; +pub const SQL_FILENAME: &str = "sql/version_{VERSION}.sql"; \ No newline at end of file