diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-05 22:19:59 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-05 22:19:59 +0100 |
commit | a287a34c215903d3452023d74149eb5880125715 (patch) | |
tree | 92af334c0797e8c3112ce5d05cb6be741dda658c /tests/mocks/database/schema/skeleton.php | |
parent | 2b73037e450859e85fb468ad7499a26882a67292 (diff) |
Refactored DB Forge
- PDO subdrivers are isolated from each other now.
- Added compatibility for pretty much all of the features, for every DB platform.
- Unified the way that stuff works in general.
- Fixes issue #1005.
Diffstat (limited to 'tests/mocks/database/schema/skeleton.php')
-rw-r--r-- | tests/mocks/database/schema/skeleton.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/mocks/database/schema/skeleton.php b/tests/mocks/database/schema/skeleton.php index d72244528..e5c536090 100644 --- a/tests/mocks/database/schema/skeleton.php +++ b/tests/mocks/database/schema/skeleton.php @@ -69,7 +69,7 @@ class Mock_Database_Schema_Skeleton { ) )); static::$forge->add_key('id', TRUE); - static::$forge->create_table('user', (strpos(static::$driver, 'pgsql') === FALSE)); + static::$forge->create_table('user', TRUE); // Job Table static::$forge->add_field(array( @@ -86,7 +86,7 @@ class Mock_Database_Schema_Skeleton { ) )); static::$forge->add_key('id', TRUE); - static::$forge->create_table('job', (strpos(static::$driver, 'pgsql') === FALSE)); + static::$forge->create_table('job', TRUE); // Misc Table static::$forge->add_field(array( @@ -103,7 +103,7 @@ class Mock_Database_Schema_Skeleton { ) )); static::$forge->add_key('id', TRUE); - static::$forge->create_table('misc', (strpos(static::$driver, 'pgsql') === FALSE)); + static::$forge->create_table('misc', TRUE); } /** |