I'm using Rails 6 and recently wrote a small migration to add a column to a table. Simple stuff:
class AddInstagramUsernameToUsers < ActiveRecord::Migration[6.0]
def change
add_column :users, :instagram_username, :string
end
end
But noticed that I see the following line added to my structure.sql when I run the migration:
SET xmloption = content;
I'm not especially worried about it, (admittedly the documentation describing the option makes it seem pretty innocuous) but would like not to have such a small migration change any meta postgres stuff. I tried downgrading to Rails 5 to get rid of this line but no luck. I am using postgres version 10.8 and haven't upgraded recently.
Currently I have no idea what's adding this line, and would like to get rid of it if possible. Anyone know what's causing this/how to prevent it?