From a4d551644802ee3cf634a2315e1f8dc9dca6c046 Mon Sep 17 00:00:00 2001
From: Vegard Storheil Eriksen <zyp@jvnv.net>
Date: Sun, 19 Sep 2010 19:24:42 +0200
Subject: Database schema.

---
 init.sql | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 init.sql

(limited to 'init.sql')

diff --git a/init.sql b/init.sql
new file mode 100644
index 0000000..58f1112
--- /dev/null
+++ b/init.sql
@@ -0,0 +1,19 @@
+CREATE TABLE artists (
+	id INTEGER PRIMARY KEY,
+	name VARCHAR);
+
+CREATE TABLE albums (
+	id INTEGER PRIMARY KEY,
+	artist_id INTEGER,
+	name VARCHAR,
+	tracks INTEGER);
+
+CREATE TABLE tracks (
+	id INTEGER PRIMARY KEY,
+	artist_id INTEGER,
+	album_id INTEGER,
+	name VARCHAR,
+	length INTEGER,
+	num INTEGER,
+	file_name VARCHAR,
+	file_index INTEGER);
-- 
cgit v1.2.3

