From: Rafael Kitover Date: Fri, 5 Mar 2010 20:00:51 +0000 (-0500) Subject: Firebird: more specific autoinc trigger search X-Git-Tag: 0.06000~63 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=93e8c51329e34b8028aa107602575a50564a3d67;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Firebird: more specific autoinc trigger search --- diff --git a/lib/DBIx/Class/Schema/Loader/DBI/InterBase.pm b/lib/DBIx/Class/Schema/Loader/DBI/InterBase.pm index 978f1ab..69cfc15 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI/InterBase.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI/InterBase.pm @@ -119,6 +119,8 @@ sub _extra_column_info { SELECT t.rdb$trigger_source FROM rdb$triggers t WHERE t.rdb$relation_name = ? +AND t.rdb$system_flag = 0 -- user defined +AND t.rdb$trigger_type = 1 -- BEFORE INSERT EOF $sth->execute($table);