summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2017-03-01 20:01:10 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2017-03-01 20:01:29 +0100
commit48f28375255a2614269e4c6c38ecd6c61fe44cfd (patch)
treefb1ceca6d447f366a4df80db07144e8d70f951ed
parent1af5ba64e748de0f8a94e7f5f023315d2ff0302c (diff)
downloadaur-48f28375255a2614269e4c6c38ecd6c61fe44cfd.tar.gz
aur-48f28375255a2614269e4c6c38ecd6c61fe44cfd.tar.xz
aur-schema.sql: Do not recreate the database
Modify the schema such that it only creates the necessary tables, indices and predefined data. This makes it easier to import the schema into a database with a name other than "AUR". Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r--schema/aur-schema.sql3
1 files changed, 0 insertions, 3 deletions
diff --git a/schema/aur-schema.sql b/schema/aur-schema.sql
index b75a257c..418e5323 100644
--- a/schema/aur-schema.sql
+++ b/schema/aur-schema.sql
@@ -1,9 +1,6 @@
-- The MySQL database layout for the AUR. Certain data
-- is also included such as AccountTypes, etc.
--
-DROP DATABASE IF EXISTS AUR;
-CREATE DATABASE AUR DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
-USE AUR;
-- Define the Account Types for the AUR.
--