@@ -298,8 +298,8 @@ |
||
298 | 298 | public function getSequence ( $table , $column ) |
299 | 299 | { |
300 | 300 | $return = $this->getPDO () |
301 | - ->query ( "select * from information_schema.columns where extra like '%auto_increment%' and TABLE_SCHEMA='{$this->database}' AND TABLE_NAME='{$table}' AND COLUMN_NAME='{$column}';" ) |
|
302 | - ->fetch ( \PDO::FETCH_ASSOC ); |
|
301 | + ->query ( "select * from information_schema.columns where extra like '%auto_increment%' and TABLE_SCHEMA='{$this->database}' AND TABLE_NAME='{$table}' AND COLUMN_NAME='{$column}';" ) |
|
302 | + ->fetch ( \PDO::FETCH_ASSOC ); |
|
303 | 303 | |
304 | 304 | if ( ! $return ) |
305 | 305 | { |
@@ -247,7 +247,7 @@ |
||
247 | 247 | { |
248 | 248 | $pdo = $this->getPDO (); |
249 | 249 | $return1 = $pdo->query ( "SELECT pg_get_serial_sequence('$table', '$column');" ) |
250 | - ->fetchColumn (); |
|
250 | + ->fetchColumn (); |
|
251 | 251 | |
252 | 252 | if ( $return1 ) |
253 | 253 | { |
@@ -19,6 +19,6 @@ |
||
19 | 19 | |
20 | 20 | public function parseRelation ( \Classes\MakerFile $makerFile, \Classes\Db\DbTable $dbTable ) |
21 | 21 | { |
22 | - return array(); |
|
22 | + return array(); |
|
23 | 23 | } |
24 | 24 | } |
@@ -117,7 +117,7 @@ |
||
117 | 117 | */ |
118 | 118 | public function isOverwrite () |
119 | 119 | { |
120 | - return $this->overwrite; |
|
120 | + return $this->overwrite; |
|
121 | 121 | } |
122 | 122 | |
123 | 123 | } |
@@ -67,7 +67,7 @@ |
||
67 | 67 | 'database' => true , |
68 | 68 | 'host' => true , |
69 | 69 | 'username' => true , |
70 | - // 'password' => true , |
|
70 | + // 'password' => true , |
|
71 | 71 | 'path' => true |
72 | 72 | ); |
73 | 73 |