Sha256: 7e8c3184e4158760b4ab57dc51188cda14d8e1defea89a2ee672b6700c889874
Contents?: true
Size: 419 Bytes
Versions: 22
Compression:
Stored size: 419 Bytes
Contents
# frozen_string_literal: true class CreateGoodJobLabels < ActiveRecord::Migration<%= migration_version %> def change reversible do |dir| dir.up do # Ensure this incremental update migration is idempotent # with monolithic install migration. return if connection.column_exists?(:good_jobs, :labels) end end add_column :good_jobs, :labels, :text, array: true end end
Version data entries
22 entries across 22 versions & 1 rubygems