summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7943059)
raw | patch | inline | side by side (parent: 7943059)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Feb 2008 15:20:49 +0000 (15:20 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Feb 2008 15:20:49 +0000 (15:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9178 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/contrib/mysql/logging/logging.sql | patch | blob | history |
diff --git a/gosa-core/contrib/mysql/logging/logging.sql b/gosa-core/contrib/mysql/logging/logging.sql
index e61472d8b186ade3a870235447d4f2ed69305fc1..0ddf4db6450a21fd49e53d33b9233d330d69ed73 100644 (file)
create database gosa_log;
use gosa_log;
+
+CREATE TABLE `gosa_locations` (
+ `id` int(11) NOT NULL auto_increment,
+ `location` text NOT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
+
+
CREATE TABLE `gosa_log` (
`id` int(10) unsigned NOT NULL auto_increment,
`timestamp` int(10) NOT NULL,
- `user` longtext NOT NULL,
+ `user` text NOT NULL,
`action` varchar(255) NOT NULL,
`objecttype` varchar(255) NOT NULL,
- `object` varchar(255) NOT NULL,
+ `object` text NOT NULL,
`changes` blob NOT NULL,
`result` varchar(255) NOT NULL,
- PRIMARY KEY (`id`)
- KEY `timestamp` (`timestamp`)
+ `location_id` int(11) NOT NULL,
+ PRIMARY KEY (`id`),
KEY `action` (`action`),
-) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
+ KEY `timestamp` (`timestamp`),
+ KEY `objecttype` (`objecttype`),
+ KEY `result` (`result`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;