summaryrefslogtreecommitdiffstats
path: root/config/SQL/privs.sql
diff options
context:
space:
mode:
Diffstat (limited to 'config/SQL/privs.sql')
-rw-r--r--config/SQL/privs.sql21
1 files changed, 21 insertions, 0 deletions
diff --git a/config/SQL/privs.sql b/config/SQL/privs.sql
new file mode 100644
index 0000000..77342a8
--- /dev/null
+++ b/config/SQL/privs.sql
@@ -0,0 +1,21 @@
+--
+-- Tabellenstruktur für Tabelle `privs`
+--
+
+CREATE TABLE `privs` (
+ `id` bigint(20) NOT NULL auto_increment,
+ `name` varchar(255) NOT NULL,
+ `type` enum('c','n','e') NOT NULL,
+ `readaccess` text NOT NULL,
+ `writeaccess` text NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`,`type`)
+) TYPE=MyISAM AUTO_INCREMENT=9 ;
+
+--
+-- Daten für Tabelle `privs`
+--
+
+INSERT INTO `privs` (`id`, `name`, `type`, `readaccess`, `writeaccess`) VALUES (6, 'Home:Startseite', 'c', '9', '0');
+INSERT INTO `privs` (`id`, `name`, `type`, `readaccess`, `writeaccess`) VALUES (2, 'Test:LoremIpsum', 'c', '9', '0');
+INSERT INTO `privs` (`id`, `name`, `type`, `readaccess`, `writeaccess`) VALUES (3, 'Test:BBCode', 'c', '9', '0');