This commit is contained in:
parent
ab38654ea2
commit
fbe1662721
@ -43,7 +43,7 @@ class Doctrine_Export_CheckConstraint_TestCase extends Doctrine_UnitTestCase
|
||||
|
||||
$sql = $e->exportClassesSql(array('CheckConstraintTest'));
|
||||
|
||||
$this->assertEqual($sql[0], 'CREATE TABLE check_constraint_test (id INTEGER PRIMARY KEY AUTOINCREMENT, price DECIMAL(2,2), discounted_price DECIMAL(2,2)), CHECK (price > 100), CHECK (price < 5000), CHECK (price > discounted_price))');
|
||||
$this->assertEqual($sql[0], 'CREATE TABLE check_constraint_test (id INTEGER PRIMARY KEY AUTOINCREMENT, price DECIMAL(2,2), discounted_price DECIMAL(2,2)), CHECK (price >= 100), CHECK (price <= 5000), CHECK (price > discounted_price))');
|
||||
|
||||
try {
|
||||
$dbh = new PDO('sqlite::memory:');
|
||||
|
Loading…
x
Reference in New Issue
Block a user