Sha256: 7ddeee50b289a6c53b6b7d539f0a287ac9c1039a3a0e6673ae66e8ac556036ea

Contents?: true

Size: 249 Bytes

Versions: 18

Compression:

Stored size: 249 Bytes

Contents

class KitsuneCreatePages < ActiveRecord::Migration
  def self.up
    create_table(:pages) do |t|
      t.string :title
      t.string :url
      t.text :body
      t.integer :parent_id
    end
  end
  
  def self.down
    drop_table :pages
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
kitsune-0.1.0 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.19 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.18 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.17 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.16 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.14 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.13 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.12 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.11 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.10 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.9 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.8 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.7 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.6 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.5 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.4 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.3 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.0.2 generators/kitsune/templates/migrations/create_pages.rb