diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-03-19 05:38:42 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-03-19 05:38:42 +0100 |
| commit | 6ff6c5af6510b321bf54b384d1263c50f1a122c0 (patch) | |
| tree | 2153c8e42b762ec29905f1095e578c7fee8b9855 /crates/rocie-server/src/storage/migrate | |
| parent | build(rocie-server/nix/package): Include required dependencies (diff) | |
| download | server-6ff6c5af6510b321bf54b384d1263c50f1a122c0.zip | |
chore(treewide): Add missing license headers
Diffstat (limited to 'crates/rocie-server/src/storage/migrate')
| -rw-r--r-- | crates/rocie-server/src/storage/migrate/defaults.rs | 10 | ||||
| -rw-r--r-- | crates/rocie-server/src/storage/migrate/mod.rs | 10 | ||||
| -rw-r--r-- | crates/rocie-server/src/storage/migrate/sql/0->1.sql | 10 |
3 files changed, 30 insertions, 0 deletions
diff --git a/crates/rocie-server/src/storage/migrate/defaults.rs b/crates/rocie-server/src/storage/migrate/defaults.rs index 3a2019c..99d5c66 100644 --- a/crates/rocie-server/src/storage/migrate/defaults.rs +++ b/crates/rocie-server/src/storage/migrate/defaults.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de> +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. + use crate::{ app::App, storage::sql::{insert::Operations, unit::Unit, unit_property::UnitProperty}, diff --git a/crates/rocie-server/src/storage/migrate/mod.rs b/crates/rocie-server/src/storage/migrate/mod.rs index 6044440..b39b58b 100644 --- a/crates/rocie-server/src/storage/migrate/mod.rs +++ b/crates/rocie-server/src/storage/migrate/mod.rs @@ -1,3 +1,13 @@ +// rocie - An enterprise grocery management system +// +// Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de> +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Rocie. +// +// You should have received a copy of the License along with this program. +// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. + use std::{ fmt::Display, time::{SystemTime, UNIX_EPOCH}, diff --git a/crates/rocie-server/src/storage/migrate/sql/0->1.sql b/crates/rocie-server/src/storage/migrate/sql/0->1.sql index dd7ce5f..e8bcd95 100644 --- a/crates/rocie-server/src/storage/migrate/sql/0->1.sql +++ b/crates/rocie-server/src/storage/migrate/sql/0->1.sql @@ -1,3 +1,13 @@ +-- rocie - An enterprise grocery management system +-- +-- Copyright (C) 2026 Benedikt Peetz <benedikt.peetz@b-peetz.de> +-- SPDX-License-Identifier: GPL-3.0-or-later +-- +-- This file is part of Rocie. +-- +-- You should have received a copy of the License along with this program. +-- If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. + -- All tables should be declared STRICT, as I actually like to have types checking (and a -- db that doesn't lie to me). |
