``` change_column :topic_views, :ip_address, :inet, null: true ``` translates to ``` "ALTER TABLE \"topic_views\" ALTER COLUMN \"ip_address\" TYPE inet" ``` which locks the whole table while the migration is taking place.