Sha256: 7ef0940955e980cb821a5c936a2ed0ca1089531c5982ae76c35990ef43b68694

Contents?: true

Size: 535 Bytes

Versions: 1

Compression:

Stored size: 535 Bytes

Contents

class Main
  migration "Aura v0.0.1 - page" do
    database.create_table :pages do
      # aura_hierarchy
      primary_key :id
      foreign_key :parent_id, :pages

      String :title
      String :body, :text => true
      String :custom, :text => true

      # aura_sluggable
      String :slug

      # aura_subtyped
      String :subtype

      String :author_name #unused

      String :meta_keywords
      String :meta_description

      Boolean :shown_in_menu

      Time :created_at
      Time :modified_at
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aura-0.0.1.pre10 app/migrations/page.rb