mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Code formatting and base configuration update
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3116 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
0d707d4360
commit
feba2725c2
1 changed files with 24 additions and 19 deletions
|
@ -42,16 +42,21 @@ uses ('model' . DS . 'datasources' . DS . 'dbo_source');
|
|||
* @subpackage cake.cake.libs.model.dbo
|
||||
*/
|
||||
class DboPostgres extends DboSource {
|
||||
|
||||
var $description = "PostgreSQL DBO Driver";
|
||||
|
||||
var $_baseConfig = array('persistent' => true,
|
||||
var $_baseConfig = array(
|
||||
'persistent' => true,
|
||||
'host' => 'localhost',
|
||||
'login' => 'root',
|
||||
'password' => '',
|
||||
'database' => 'cake',
|
||||
'port' => 5432);
|
||||
'port' => 5432,
|
||||
'connect' => 'pg_pconnect'
|
||||
);
|
||||
|
||||
var $columns = array('primary_key' => array('name' => 'serial NOT NULL'),
|
||||
var $columns = array(
|
||||
'primary_key' => array('name' => 'serial NOT NULL'),
|
||||
'string' => array('name' => 'varchar', 'limit' => '255'),
|
||||
'text' => array('name' => 'text'),
|
||||
'integer' => array('name' => 'integer'),
|
||||
|
|
Loading…
Reference in a new issue