Sha256: ea79ab4c27a502a102cf76edc914e2f185a2c282e1aff9a7b49da2f521969cbf

Contents?: true

Size: 249 Bytes

Versions: 14

Compression:

Stored size: 249 Bytes

Contents

# frozen_string_literal: true

class DemandBlogIdOnContents < ActiveRecord::Migration[4.2]
  def up
    change_column :contents, :blog_id, :integer, null: false
  end

  def down
    change_column :contents, :blog_id, :integer, null: true
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
publify_core-10.0.2 db/migrate/20160701061851_demand_blog_id_on_contents.rb
publify_core-10.0.1 db/migrate/20160701061851_demand_blog_id_on_contents.rb
publify_core-10.0.0 db/migrate/20160701061851_demand_blog_id_on_contents.rb
publify_core-9.2.10 db/migrate/20160701061851_demand_blog_id_on_contents.rb
publify_core-9.2.9 db/migrate/20160701061851_demand_blog_id_on_contents.rb
publify_core-9.2.8 db/migrate/20160701061851_demand_blog_id_on_contents.rb
publify_core-9.2.7 db/migrate/20160701061851_demand_blog_id_on_contents.rb
publify_core-9.2.6 db/migrate/20160701061851_demand_blog_id_on_contents.rb
publify_core-9.2.5 db/migrate/20160701061851_demand_blog_id_on_contents.rb
publify_core-9.2.4 db/migrate/20160701061851_demand_blog_id_on_contents.rb
publify_core-9.2.3 db/migrate/20160701061851_demand_blog_id_on_contents.rb
publify_core-9.2.2 db/migrate/20160701061851_demand_blog_id_on_contents.rb
publify_core-9.2.1 db/migrate/20160701061851_demand_blog_id_on_contents.rb
publify_core-9.2.0 db/migrate/20160701061851_demand_blog_id_on_contents.rb