Sha256: ec2f021be006e5d24c14828290d543c8dc219ff3a1fb39d9d7341299eacc0e79

Contents?: true

Size: 291 Bytes

Versions: 4

Compression:

Stored size: 291 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
ds-kitsune-0.2.5 generators/kitsune/templates/migrations/create_pages.rb
ds-kitsune-0.2.3 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.2.1 generators/kitsune/templates/migrations/create_pages.rb
kitsune-0.2.0 generators/kitsune/templates/migrations/create_pages.rb