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