forked from extern/egroupware
Minor tweaks to make work with pg also
This commit is contained in:
parent
9814ac31b1
commit
60fbae908e
@ -580,7 +580,7 @@
|
||||
{
|
||||
global $setup_info, $phpgw_setup;
|
||||
|
||||
$phpgw_setup->oProc->query("select * from preferences order by preference_owner");
|
||||
$phpgw_setup->oProc->query("SELECT * FROM preferences ORDER BY preference_owner");
|
||||
$t = array();
|
||||
while ($phpgw_setup->oProc->next_record())
|
||||
{
|
||||
@ -652,17 +652,17 @@
|
||||
global $setup_info, $phpgw_setup;
|
||||
|
||||
$phpgw_setup->oProc->CreateTable(
|
||||
"phpgw_hooks", array(
|
||||
"fd" => array(
|
||||
"hook_id" => array("type" => "auto", "nullable" => false),
|
||||
"hook_appname" => array("type" => "varchar", "precision" => 255),
|
||||
"hook_location" => array("type" => "varchar", "precision" => 255),
|
||||
"hook_filename" => array("type" => "varchar", "precision" => 255)
|
||||
'phpgw_hooks', array(
|
||||
'fd' => array(
|
||||
'hook_id' => array('type' => 'auto', 'nullable' => false),
|
||||
'hook_appname' => array('type' => 'varchar', 'precision' => 255),
|
||||
'hook_location' => array('type' => 'varchar', 'precision' => 255),
|
||||
'hook_filename' => array('type' => 'varchar', 'precision' => 255)
|
||||
),
|
||||
"pk" => array("hook_id"),
|
||||
"ix" => array(),
|
||||
"fk" => array(),
|
||||
"uc" => array()
|
||||
'pk' => array("hook_id"),
|
||||
'ix' => array(),
|
||||
'fk' => array(),
|
||||
'uc' => array()
|
||||
)
|
||||
);
|
||||
|
||||
@ -682,10 +682,10 @@
|
||||
|
||||
$phpgw_setup->oProc->CreateTable(
|
||||
'phpgw_categories', array(
|
||||
"fd" => array(
|
||||
'fd' => array(
|
||||
'cat_id' => array('type' => 'auto', 'nullable' => false),
|
||||
'cat_parent' => array('type' => 'int', 'precision' => 4, 'default' => '0', 'nullable' => false),
|
||||
'cat_owner' => array('type' => 'int', 'precision' => 4, 'default' => '0', 'nullable' => false),
|
||||
'cat_parent' => array('type' => 'int', 'precision' => 4, 'default' => 0, 'nullable' => false),
|
||||
'cat_owner' => array('type' => 'int', 'precision' => 4, 'default' => 0, 'nullable' => false),
|
||||
'cat_appname' => array('type' => 'varchar', 'precision' => 50, 'nullable' => false),
|
||||
'cat_name' => array('type' => 'varchar', 'precision' => 150, 'nullable' => false),
|
||||
'cat_description' => array('type' => 'varchar', 'precision' => 255, 'nullable' => false),
|
||||
|
Loading…
Reference in New Issue
Block a user