Commit 13f2ea77 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 486375f8
......@@ -58,13 +58,7 @@ class Doctrine_Export_Firebird_TestCase extends Doctrine_UnitTestCase
$this->export->createTable($name, $fields);
$this->assertEqual($this->adapter->pop(), 'CREATE TRIGGER mytable_AUTOINCREMENT_PK FOR mytable
ACTIVE BEFORE INSERT POSITION 0
AS
BEGIN
IF (NEW.id IS NULL OR NEW.id = 0) THEN
NEW.id = GEN_ID(mytable_seq, 1);
END');
$this->assertEqual($this->adapter->pop(), 'CREATE TRIGGER mytable_AUTOINCREMENT_PK FOR mytable ACTIVE BEFORE INSERT POSITION 0 AS BEGIN IF (NEW.id IS NULL OR NEW.id = 0) THEN NEW.id = GEN_ID(mytable_seq, 1) END');
}
public function testCreateTableSupportsDefaultAttribute()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment