]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Set to current time. Fixes #1319
authorAlan T. DeKok <aland@freeradius.org>
Wed, 14 Oct 2015 17:50:53 +0000 (13:50 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 14 Oct 2015 17:50:53 +0000 (13:50 -0400)
raddb/mods-config/sql/main/mysql/schema.sql

index c5185bee856646733a6bd9b341109cde0688b8f1..ca5ac77aa03dbb86ef714d1a1af647f7e63fda00 100644 (file)
@@ -128,7 +128,7 @@ CREATE TABLE radpostauth (
   username varchar(64) NOT NULL default '',
   pass varchar(64) NOT NULL default '',
   reply varchar(32) NOT NULL default '',
-  authdate timestamp NOT NULL,
+  authdate timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
   PRIMARY KEY  (id)
 ) ENGINE = INNODB;