Skip to content

Instantly share code, notes, and snippets.

@poppen
Created October 27, 2010 02:57
Show Gist options
  • Select an option

  • Save poppen/648341 to your computer and use it in GitHub Desktop.

Select an option

Save poppen/648341 to your computer and use it in GitHub Desktop.
patch for upgara.php of postfixadmin-2.3.2
--- upgrade.php.orig 2010-10-27 11:56:13.000000000 +0900
+++ upgrade.php 2010-10-27 11:52:40.000000000 +0900
@@ -167,7 +167,7 @@
'{FULLTEXT}' => 'FULLTEXT',
'{BOOLEAN}' => 'tinyint(1) NOT NULL',
'{UTF-8}' => '/*!40100 CHARACTER SET utf8 */',
- '{LATIN1}' => '/*!40100 CHARACTER SET latin1 */',
+ '{LATIN1}' => '/*!40100 CHARACTER SET utf8 */',
'{IF_NOT_EXISTS}' => 'IF NOT EXISTS',
'{RENAME_COLUMN}' => 'CHANGE COLUMN',
'{MYISAM}' => 'ENGINE=MyISAM',
@@ -1097,7 +1097,7 @@
# table for dovecot v1.0 & 1.1
db_query_parsed("
CREATE TABLE {IF_NOT_EXISTS} $table_quota (
- username VARCHAR(255) {LATIN1} NOT NULL,
+ username VARCHAR(200) {LATIN1} NOT NULL,
path VARCHAR(100) {LATIN1} NOT NULL,
current {BIGINT},
PRIMARY KEY (username, path)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment