Code

Added logging database
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 May 2007 07:03:20 +0000 (07:03 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 May 2007 07:03:20 +0000 (07:03 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6374 594d385d-05f5-0310-b6e9-bd551577e9d8

contrib/mysql/logging/logging.sql [new file with mode: 0644]

diff --git a/contrib/mysql/logging/logging.sql b/contrib/mysql/logging/logging.sql
new file mode 100644 (file)
index 0000000..d589e23
--- /dev/null
@@ -0,0 +1,14 @@
+create database gosa_log;
+use gosa_log;
+
+CREATE TABLE `gosa_log` (
+  `id` int(10) unsigned NOT NULL auto_increment,
+  `timestamp` int(10) NOT NULL,
+  `user` longtext NOT NULL,
+  `action` varchar(255) NOT NULL,
+  `objecttype` varchar(255) NOT NULL,
+  `object` varchar(255) NOT NULL,
+  `changes` blob NOT NULL,
+  `result` varchar(255) NOT NULL,
+  PRIMARY KEY  (`id`)
+) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;