summaryrefslogtreecommitdiffstats
path: root/tests/mocks/database
diff options
context:
space:
mode:
authorTaufan Aditya <toopay@taufanaditya.com>2012-04-04 21:25:25 +0200
committerTaufan Aditya <toopay@taufanaditya.com>2012-04-04 21:25:25 +0200
commit1bfc0d9a2b47be1a2a0b8efda60ebdd9d7a303dd (patch)
tree594c94eb34ac1886906279b8d408956bb3b68e91 /tests/mocks/database
parent024098d05d00383bf82165e1f8bbadb53cbcaa9b (diff)
Fix postgre table datatype
Diffstat (limited to 'tests/mocks/database')
-rw-r--r--tests/mocks/database/schema/skeleton.php6
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);
}
/**