Sha256: 7d317f586d55bbd7aed313830c2ad734ea4b87123d2d7bd33ced62d4352bb430

Contents?: true

Size: 569 Bytes

Versions: 3

Compression:

Stored size: 569 Bytes

Contents

# frozen_string_literal: true

class RemoveItunesFieldsFromResources < ActiveRecord::Migration[6.1]
  def change
    remove_column :resources, :itunes_metadata, :boolean
    remove_column :resources, :itunes_author, :string
    remove_column :resources, :itunes_subtitle, :string
    remove_column :resources, :itunes_duration, :integer
    remove_column :resources, :itunes_summary, :text
    remove_column :resources, :itunes_keywords, :string
    remove_column :resources, :itunes_category, :string
    remove_column :resources, :itunes_explicit, :boolean
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
publify_core-10.0.2 db/migrate/20221012163214_remove_itunes_fields_from_resources.rb
publify_core-10.0.1 db/migrate/20221012163214_remove_itunes_fields_from_resources.rb
publify_core-10.0.0 db/migrate/20221012163214_remove_itunes_fields_from_resources.rb