aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.rs
diff options
context:
space:
mode:
authorTeddy Wing2021-06-07 20:13:24 +0200
committerTeddy Wing2021-06-07 20:13:24 +0200
commit2a2780d8c3a0bd9d5a22b948627cfb3eaf338d1f (patch)
tree45c6aaebeee078b64c38873870d83553c460713b /src/database.rs
parent52c1d69abef01228d939fa0377e655069bc19340 (diff)
downloadreflectub-2a2780d8c3a0bd9d5a22b948627cfb3eaf338d1f.tar.bz2
Add license (GNU GPLv3+)
Diffstat (limited to 'src/database.rs')
-rw-r--r--src/database.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/database.rs b/src/database.rs
index 6197db6..2c1c0c8 100644
--- a/src/database.rs
+++ b/src/database.rs
@@ -1,3 +1,21 @@
+// Copyright (c) 2021 Teddy Wing
+//
+// This file is part of Reflectub.
+//
+// Reflectub is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Reflectub 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Reflectub. If not, see <https://www.gnu.org/licenses/>.
+
+
use sqlx::{self, ConnectOptions, Connection, Executor, Row};
use thiserror;