transport-accessibility/setup_db.sql
Johannes Randerath 3853d25c1e Added LICENSE
- Code uses AGPL
- Docs use GNU FDL
2024-07-08 22:10:53 +02:00

19 lines
1.1 KiB
SQL

-- Setup the project's database as required.
-- This file is part of transport-accessibility.
-- Copyright (C) 2024 Janek Kiljanski, Johannes Randerath
--
-- transport-accessibility 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.
--
-- transport-accessibility 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 transport-accessibility.
-- If not, see <https://www.gnu.org/licenses/>.
CREATE DATABASE IF NOT EXISTS transport_accessibility DEFAULT CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci';
CREATE USER IF NOT EXISTS 'transport_accessibility'@'localhost' IDENTIFIED BY 'L8AClYIsC55SEAWTgYopD';
GRANT ALL PRIVILEGES ON transport_accessibility.* TO 'transport_accessibility'@'localhost';