Sha256: 52b126cc6bd55343cc621e237c0ae2a45f942c49bb3eadf0276d73ab0053e7e0

Contents?: true

Size: 207 Bytes

Versions: 6

Compression:

Stored size: 207 Bytes

Contents

class AddPriorityToPagesAndSections < ActiveRecord::Migration[5.1]
  def change
  	add_column :pages, :priority, :integer, default: 1000
  	add_column :sections, :priority, :integer, default: 1000
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dhatu-0.1.25 db/migrate/20180101093438_add_priority_to_pages_and_sections.rb
dhatu-0.1.24 db/migrate/20180101093438_add_priority_to_pages_and_sections.rb
dhatu-0.1.23 db/migrate/20180101093438_add_priority_to_pages_and_sections.rb
dhatu-0.1.22 db/migrate/20180101093438_add_priority_to_pages_and_sections.rb
dhatu-0.1.21 db/migrate/20180101093438_add_priority_to_pages_and_sections.rb
dhatu-0.1.20 db/migrate/20180101093438_add_priority_to_pages_and_sections.rb