Fix migration specs leaving rows after running
Rather than using transactional tests, migration testing migrates the database up after each test, and manually cleans each table. This could pollute rows into the postgres_async_foreign_key_validations table during a test run, since migrating up happened after cleaning all tables. Instead, clean tables after migrating to delete these rows.
加载中
想要评论请 注册 或 登录