Bugzilla – Attachment 10794 Details for
Bug 6716
Database Documentation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6716: Document action_logs table
Bug-6716-Document-actionlogs-table.patch (text/plain), 1.79 KB, created by
Nicole C. Engard
on 2012-07-12 14:00:40 UTC
(
hide
)
Description:
Bug 6716: Document action_logs table
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2012-07-12 14:00:40 UTC
Size:
1.79 KB
patch
obsolete
>From 1631e71bc654085574f0dba8b147124d1b701ac4 Mon Sep 17 00:00:00 2001 >From: Nicole C. Engard <nengard@bywatersolutions.com> >Date: Wed, 11 Jul 2012 23:24:50 -0400 >Subject: [PATCH] Bug 6716: Document action_logs table > >--- > installer/data/mysql/kohastructure.sql | 16 ++++++++-------- > 1 files changed, 8 insertions(+), 8 deletions(-) > >diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql >index 3b9827a..fa16e37 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/installer/data/mysql/kohastructure.sql >@@ -2504,14 +2504,14 @@ CREATE TABLE `accountoffsets` ( > -- > > DROP TABLE IF EXISTS `action_logs`; >-CREATE TABLE `action_logs` ( >- `action_id` int(11) NOT NULL auto_increment, >- `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, >- `user` int(11) NOT NULL default 0, >- `module` text, >- `action` text, >- `object` int(11) default NULL, >- `info` text, >+CREATE TABLE `action_logs` ( -- logs of actions taken in Koha (requires that the logs be turned on) >+ `action_id` int(11) NOT NULL auto_increment, -- unique identifier for each action >+ `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, -- the date and time the action took place >+ `user` int(11) NOT NULL default 0, -- the staff member who performed the action (borrowers.borrowernumber) >+ `module` text, -- the module this action was taken against >+ `action` text, -- the action (includes things like DELETED, ADDED, MODIFY, etc) >+ `object` int(11) default NULL, -- the object that the action was taken against (could be a borrowernumber, itemnumber, etc) >+ `info` text, -- information about the action (usually includes SQL statement) > PRIMARY KEY (`action_id`), > KEY (`timestamp`,`user`) > ) ENGINE=InnoDB DEFAULT CHARSET=utf8; >-- >1.7.2.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6716
:
4987
|
4988
|
4989
|
4992
|
5003
|
5004
|
5005
|
5006
|
5007
|
5008
|
5009
|
5011
|
5012
|
5013
|
5014
|
5139
|
5140
|
5141
|
5142
|
5174
|
5175
|
5176
|
5177
|
5178
|
5179
|
5186
|
5187
|
5188
|
5190
|
5192
|
5193
|
5355
|
5356
|
5663
|
5664
|
5665
|
5666
|
5668
|
5669
|
5686
|
5687
|
5706
|
5829
|
6004
|
6015
|
6591
|
6592
|
6593
|
6594
|
6595
|
6596
|
6597
|
6598
|
6599
|
10788
|
10789
|
10790
|
10791
|
10792
|
10793
|
10794
|
10795
|
10822
|
10823
|
10824
|
10832
|
10833
|
10942
|
10970
|
10975
|
11011
|
11013
|
11014
|
11016
|
11018
|
11019
|
11020
|
11021
|
11022
|
11023
|
11084
|
11729
|
11823
|
11987
|
12024
|
12561
|
26777