28 lines
1.1 KiB
TOML
28 lines
1.1 KiB
TOML
# This file is part of inventur.
|
|
# inventur is a simple web app using rocket to help maintain inventory data.
|
|
# Copyright (C) 2024 Johannes Randerath
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Affero General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Affero General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
#
|
|
|
|
# For documentation on how to configure this file,
|
|
# see https://diesel.rs/guides/configuring-diesel-cli
|
|
|
|
[print_schema]
|
|
file = "src/schema.rs"
|
|
custom_type_derives = ["diesel::query_builder::QueryId", "Clone"]
|
|
|
|
[migrations_directory]
|
|
dir = "/opt/inventur/inventur/inventur_db/migrations"
|