mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 22:16:08 +00:00
Import Schema in demo/init config
This commit is contained in:
parent
78a9ccaaa4
commit
b0613aab10
@ -75,6 +75,9 @@ pub const jetzig_options = struct {
|
|||||||
// milliseconds.
|
// milliseconds.
|
||||||
pub const job_worker_sleep_interval_ms: usize = 10;
|
pub const job_worker_sleep_interval_ms: usize = 10;
|
||||||
|
|
||||||
|
/// Database Schema. Set to `@import("Schema")` to load `src/app/database/Schema.zig`.
|
||||||
|
pub const Schema = @import("Schema");
|
||||||
|
|
||||||
/// Key-value store options. Set backend to `.file` to use a file-based store.
|
/// Key-value store options. Set backend to `.file` to use a file-based store.
|
||||||
/// When using `.file` backend, you must also set `.file_options`.
|
/// When using `.file` backend, you must also set `.file_options`.
|
||||||
/// The key-value store is exposed as `request.store` in views and is also available in as
|
/// The key-value store is exposed as `request.store` in views and is also available in as
|
||||||
|
Loading…
x
Reference in New Issue
Block a user