diff options
author | Taufan Aditya <toopay@taufanaditya.com> | 2012-04-04 21:25:25 +0200 |
---|---|---|
committer | Taufan Aditya <toopay@taufanaditya.com> | 2012-04-04 21:25:25 +0200 |
commit | 1bfc0d9a2b47be1a2a0b8efda60ebdd9d7a303dd (patch) | |
tree | 594c94eb34ac1886906279b8d408956bb3b68e91 | |
parent | 024098d05d00383bf82165e1f8bbadb53cbcaa9b (diff) |
Fix postgre table datatype
-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 53df73bdd..47e8bfd35 100644 --- a/tests/mocks/database/schema/skeleton.php +++ b/tests/mocks/database/schema/skeleton.php @@ -12,7 +12,7 @@ class Mock_Database_Schema_Skeleton { // Job Table $forge->add_field(array( 'id' => array( - 'type' => 'INT', + 'type' => 'INTEGER', 'constraint' => 3, ), 'name' => array( @@ -21,11 +21,11 @@ class Mock_Database_Schema_Skeleton { ), 'description' => array( 'type' => 'TEXT', - 'constraint' => 0, ), )); $forge->add_key('id', TRUE); - $forge->create_table('job', TRUE); + $res = $forge->create_table('job'); + var_dump($res); } /** |