diff --git a/main.go b/main.go index 657342e9..286b7f51 100644 --- a/main.go +++ b/main.go @@ -451,6 +451,7 @@ func (s *DB) CurrentDatabase() string { return name } + /* Add foreign key to the given scope @@ -550,3 +551,7 @@ func (s *DB) GetErrors() (errors []error) { } return } + +func (s *DB) EnableIdentityInsert(db *DB, tableName string) *DB { + return s.dialect.EnableIdentityInsert(db, tableName) +}