IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
iferr:=sess.Table("information_schema.sequences").Cols("sequence_name").Where("sequence_name LIKE 'tmp_recreate__%_id_seq%' AND sequence_catalog = ?",setting.Database.Name).Find(&sequences);err!=nil{
return0,err
}
sess.Engine().SetSchema(schema)
returnint64(len(sequences)),nil
}
// FixBadSequences fixes for broken sequences from recreate-table mistakes
iferr:=sess.Table("information_schema.sequences").Cols("sequence_name").Where("sequence_name LIKE 'tmp_recreate__%_id_seq%' AND sequence_catalog = ?",setting.Database.Name).Find(&sequences);err!=nil{