diff options
author | Taufan Aditya <toopay@taufanaditya.com> | 2012-04-04 21:31:52 +0200 |
---|---|---|
committer | Taufan Aditya <toopay@taufanaditya.com> | 2012-04-04 21:31:52 +0200 |
commit | b0703b0bee89ab0eae83bae78daad5c5a3504043 (patch) | |
tree | 2fa65c871e0a3e90a7b6668b5dff36436f6d6379 /tests | |
parent | 1bfc0d9a2b47be1a2a0b8efda60ebdd9d7a303dd (diff) |
Resolve postgres issue on create table
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mocks/database/schema/skeleton.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/mocks/database/schema/skeleton.php b/tests/mocks/database/schema/skeleton.php index 47e8bfd35..6610d6b59 100644 --- a/tests/mocks/database/schema/skeleton.php +++ b/tests/mocks/database/schema/skeleton.php @@ -7,7 +7,7 @@ class Mock_Database_Schema_Skeleton { * * @return void */ - public static function create_tables($forge) + public static function create_tables($forge, $driver) { // Job Table $forge->add_field(array( @@ -24,8 +24,7 @@ class Mock_Database_Schema_Skeleton { ), )); $forge->add_key('id', TRUE); - $res = $forge->create_table('job'); - var_dump($res); + $forge->create_table('job', (strpos($driver, 'pgsql') === FALSE)); } /** |