DEV: Skip readonly tables when remapping content (#10461)

This commit is contained in:
David Taylor 2020-08-18 08:53:12 +01:00 committed by GitHub
parent 24fe08230f
commit 33c21c5921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -114,7 +114,8 @@ class DbHelper
DB.query(REMAP_SQL).each do |r|
next if excluded_tables.include?(r.table_name) ||
triggers.include?(Migration::BaseDropper.readonly_trigger_name(r.table_name, r.column_name))
triggers.include?(Migration::BaseDropper.readonly_trigger_name(r.table_name, r.column_name)) ||
triggers.include?(Migration::BaseDropper.readonly_trigger_name(r.table_name))
text_columns[r.table_name] << {
name: r.column_name,