Sha256: a3260ad995ec22fdc55b954af106b3b688843aa4965b7e89d3f55c5b45c1dc54

Contents?: true

Size: 259 Bytes

Versions: 30

Compression:

Stored size: 259 Bytes

Contents

class CreateKuhsaftPages < ActiveRecord::Migration
  def self.up
    create_table :pages do |t|
      t.integer :position
      t.integer :parent_id
      t.references :page
      t.timestamps
    end
  end
  
  def self.down
    drop_table :pages
  end  
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
kuhsaft-0.2.legacy4 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.3.4.legacy3 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.2.legacy3 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.2.legacy2 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.2.legacy lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.3.4.legacy2 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.3.4.legacy lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.3.6 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.3.5 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.3.4 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.3.4.rc2 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.3.4.rc1 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.3.3 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.3.2 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.2.5 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.2.4 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.2.3 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.3.1 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.3.0 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb
kuhsaft-0.2.2 lib/templates/kuhsaft/install/create_kuhsaft_pages.rb