Sha256: a6859d0d62ef8e43e9f13533c6377c28866b37d4edc2d7768c1265da63350687

Contents?: true

Size: 253 Bytes

Versions: 25

Compression:

Stored size: 253 Bytes

Contents

class AddStorylineIdToChapters < ActiveRecord::Migration
  def change
    add_column :pageflow_chapters, :storyline_id, :integer
    add_index :pageflow_chapters, [:storyline_id], name: "index_pageflow_chapters_on_storyline_id", using: :btree
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
pageflow-0.11.3 db/migrate/20150826125744_add_storyline_id_to_chapters.rb
pageflow-0.11.2 db/migrate/20150826125744_add_storyline_id_to_chapters.rb
pageflow-0.11.1 db/migrate/20150826125744_add_storyline_id_to_chapters.rb
pageflow-0.11.0 db/migrate/20150826125744_add_storyline_id_to_chapters.rb
pageflow-0.10.0 db/migrate/20150826125744_add_storyline_id_to_chapters.rb