Sha256: 22a5c7b6aa234b8eae7fdaf5e445129ec0c36d1afd2dd576c547aacdbaf9c9a9

Contents?: true

Size: 471 Bytes

Versions: 5

Compression:

Stored size: 471 Bytes

Contents

class CreateSkylineLinkSectionLinks < ActiveRecord::Migration
  def self.up
    create_table :skyline_link_section_links do |t|
      t.integer :link_section_id, :null => false
      t.integer :linked_id
      t.string :custom_url
      t.string :title
      t.integer :position, :null => false
      t.timestamps
    end
    add_index :skyline_link_section_links, [:link_section_id, :position]
  end

  def self.down
    drop_table :skyline_link_section_links
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
skylinecms-3.1.0 db/migrate/20090624154251_create_skyline_link_section_links.rb
westarete-skylinecms-3.0.8.20100329 db/migrate/20090624154251_create_skyline_link_section_links.rb
westarete-skylinecms-3.0.8.20100330 db/migrate/20090624154251_create_skyline_link_section_links.rb
skylinecms-3.0.8 db/migrate/20090624154251_create_skyline_link_section_links.rb
skylinecms-3.0.7 db/migrate/20090624154251_create_skyline_link_section_links.rb