Sha256: d0ca3bc9871833ce6e612d03dee4d2d835bf8b464d356a314124b562bc6143eb

Contents?: true

Size: 245 Bytes

Versions: 8

Compression:

Stored size: 245 Bytes

Contents

class AddPagePathToContentBlocks < ActiveRecord::Migration
  def change
    add_column :blocky_content_blocks, :page_path, :string
    remove_column :blocky_content_blocks, :controller
    remove_column :blocky_content_blocks, :action
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
blocky-0.0.11 db/migrate/20140520212037_add_page_path_to_content_blocks.rb
blocky-0.0.10 db/migrate/20140520212037_add_page_path_to_content_blocks.rb
blocky-0.0.9 db/migrate/20140520212037_add_page_path_to_content_blocks.rb
blocky-0.0.8 db/migrate/20140520212037_add_page_path_to_content_blocks.rb
blocky-0.0.7 db/migrate/20140520212037_add_page_path_to_content_blocks.rb
blocky-0.0.6 db/migrate/20140520212037_add_page_path_to_content_blocks.rb
blocky-0.0.5 db/migrate/20140520212037_add_page_path_to_content_blocks.rb
blocky-0.0.4 db/migrate/20140520212037_add_page_path_to_content_blocks.rb