Merge pull request #1232 from GPCsolutions/pgsql-installer
Fixed SQL install script for PostgreSQL
This commit is contained in:
commit
09de33ad97
@ -209,7 +209,7 @@ class DoliDBPgsql extends DoliDB
|
||||
}
|
||||
|
||||
// tinyint type conversion
|
||||
$line=str_replace('tinyint','smallint',$line);
|
||||
$line=preg_replace('/tinyint\(?[0-9]*\)?/','smallint',$line);
|
||||
|
||||
// nuke unsigned
|
||||
$line=preg_replace('/(int\w+|smallint)\s+unsigned/i','\\1',$line);
|
||||
|
||||
@ -51,5 +51,5 @@ create table llx_socpeople
|
||||
default_lang varchar(6),
|
||||
canvas varchar(32), -- type of canvas if used (null by default)
|
||||
import_key varchar(14),
|
||||
statut tinyint(4)
|
||||
statut tinyint
|
||||
)ENGINE=innodb;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user