X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=backend%2Fsrc%2Fconsts.rs;h=d84c21d0677bec86fcdba3b7e7eafa179fac9091;hb=855eb169737848e21061e637a8d562ccc33c58e8;hp=a7fcf2db0c7b92b5c0f7e8ac591e1d48e8494570;hpb=212222751363c15b2155555ac700ff50b69ac578;p=recipes.git 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