about summary refs log tree commit diff stats
path: root/yt/src/storage/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'yt/src/storage/migrate')
-rw-r--r--yt/src/storage/migrate/mod.rs10
-rw-r--r--yt/src/storage/migrate/sql/00_empty_to_zero.sql1
-rw-r--r--yt/src/storage/migrate/sql/01_zero_to_one.sql10
-rw-r--r--yt/src/storage/migrate/sql/02_one_to_two.sql10
4 files changed, 31 insertions, 0 deletions
diff --git a/yt/src/storage/migrate/mod.rs b/yt/src/storage/migrate/mod.rs
index 767fe0f..badeb6f 100644
--- a/yt/src/storage/migrate/mod.rs
+++ b/yt/src/storage/migrate/mod.rs
@@ -1,3 +1,13 @@
+// yt - A fully featured command line YouTube client
+//
+// Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Yt.
+//
+// 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,
     future::Future,
diff --git a/yt/src/storage/migrate/sql/00_empty_to_zero.sql b/yt/src/storage/migrate/sql/00_empty_to_zero.sql
index 2e890e5..d703bfc 100644
--- a/yt/src/storage/migrate/sql/00_empty_to_zero.sql
+++ b/yt/src/storage/migrate/sql/00_empty_to_zero.sql
@@ -1,6 +1,7 @@
 -- yt - A fully featured command line YouTube client
 --
 -- Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+-- Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
 -- SPDX-License-Identifier: GPL-3.0-or-later
 --
 -- This file is part of Yt.
diff --git a/yt/src/storage/migrate/sql/01_zero_to_one.sql b/yt/src/storage/migrate/sql/01_zero_to_one.sql
index d33eb05..da9315b 100644
--- a/yt/src/storage/migrate/sql/01_zero_to_one.sql
+++ b/yt/src/storage/migrate/sql/01_zero_to_one.sql
@@ -1,3 +1,13 @@
+-- yt - A fully featured command line YouTube client
+--
+-- Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+-- SPDX-License-Identifier: GPL-3.0-or-later
+--
+-- This file is part of Yt.
+--
+-- 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>.
+
 -- Is the video currently in a playlist?
 ALTER TABLE videos ADD in_playlist INTEGER NOT NULL DEFAULT 0 CHECK (in_playlist IN (0, 1));
 UPDATE videos SET in_playlist = 0;
diff --git a/yt/src/storage/migrate/sql/02_one_to_two.sql b/yt/src/storage/migrate/sql/02_one_to_two.sql
index dd85737..806de07 100644
--- a/yt/src/storage/migrate/sql/02_one_to_two.sql
+++ b/yt/src/storage/migrate/sql/02_one_to_two.sql
@@ -1 +1,11 @@
+-- yt - A fully featured command line YouTube client
+--
+-- Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+-- SPDX-License-Identifier: GPL-3.0-or-later
+--
+-- This file is part of Yt.
+--
+-- 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>.
+
 ALTER TABLE videos DROP in_playlist;