summaryrefslogtreecommitdiffstats
path: root/config/SQL/privs.sql
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-12-10 19:00:04 +0100
committerneoraider <devnull@localhost>2006-12-10 19:00:04 +0100
commit93e1133ee88b03e7cae7318cb19761e698e57b86 (patch)
tree825b0ca10c5b32f3ad03430ec8b427f99d3dc855 /config/SQL/privs.sql
parent7be63518bdb86fb747dda20918ef6eab3d30e40c (diff)
downloadneon-93e1133ee88b03e7cae7318cb19761e698e57b86.tar
neon-93e1133ee88b03e7cae7318cb19761e698e57b86.zip
SQL-Daten tabellenweise aufgeteilt;
config-Daten jetzt mit urlencode kodiert.
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');