SF.net SVN: postfixadmin:[1283] trunk/upgrade.php
Brought to you by:
christian_boltz,
gingerdog
|
From: <chr...@us...> - 2011-11-27 20:22:37
|
Revision: 1283
http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=1283&view=rev
Author: christian_boltz
Date: 2011-11-27 20:22:31 +0000 (Sun, 27 Nov 2011)
Log Message:
-----------
upgrade.php
- upgrade_1283(): add a "superadmin" column to the admin table
This is the first step to get rid of the "ALL" dummy domain.
Modified Paths:
--------------
trunk/upgrade.php
Modified: trunk/upgrade.php
===================================================================
--- trunk/upgrade.php 2011-11-26 01:09:38 UTC (rev 1282)
+++ trunk/upgrade.php 2011-11-27 20:22:31 UTC (rev 1283)
@@ -1304,6 +1304,12 @@
db_query_parsed(_add_index('log', 'domain_timestamp', 'domain,timestamp'));
}
+function upgrade_1283() {
+ _db_add_field('admin', 'superadmin', '{BOOLEAN}', 'password');
+}
+
+
+
# TODO MySQL:
# - various varchar fields do not have a default value
# https://sourceforge.net/projects/postfixadmin/forums/forum/676076/topic/3419725
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|