From 48f28375255a2614269e4c6c38ecd6c61fe44cfd Mon Sep 17 00:00:00 2001
From: Lukas Fleischer <lfleischer@archlinux.org>
Date: Wed, 1 Mar 2017 20:01:10 +0100
Subject: 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>
---
 schema/aur-schema.sql | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'schema/aur-schema.sql')

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.
 --
-- 
cgit v1.2.3-24-g4f1b

