diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2017-10-23 20:05:27 +0000 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2017-10-23 20:14:21 +0000 |
commit | 1015cab6e4db5f18deadba0a6eb2adbe82ffe585 (patch) | |
tree | 9a37147f9fcea80657a52f29db1d9421c2098618 /activerecord/test/active_record | |
parent | 9c5c0596f137c396b6356416a3f92a3a082c53f6 (diff) | |
download | rails-1015cab6e4db5f18deadba0a6eb2adbe82ffe585.tar.gz rails-1015cab6e4db5f18deadba0a6eb2adbe82ffe585.tar.bz2 rails-1015cab6e4db5f18deadba0a6eb2adbe82ffe585.zip |
Remove `supports_disable_referential_integrity?`
`supports_disable_referential_integrity?` used to handle
if PostgreSQL database supports
`ALTER TABLE <table name> DISABLE/ENABLE TRIGGER` statements.
Refer https://github.com/rails/rails/commit/9a947af0e79cfb8692eb7e5ae94c1b8c40756f49
These statements have been documented since 8.1.
https://www.postgresql.org/docs/8.1/static/sql-altertable.html
> DISABLE/ENABLE TRIGGER
Now Rails supports PostgreSQL 9.1 or higher only.
No need to handle `supports_disable_referential_integrity?` anymore.
Also, this method does not exist in any other adapters including AbstractAdapter.
Diffstat (limited to 'activerecord/test/active_record')
0 files changed, 0 insertions, 0 deletions