Sha256: 09f62709f095b15dcef529350ab3308b7851fdf2caf4bfc58ca39d91a0a4e6e9

Contents?: true

Size: 1.58 KB

Versions: 1

Compression:

Stored size: 1.58 KB

Contents

# This file is autogenerated. Instead of editing this file, please use the
# migrations feature of ActiveRecord to incrementally modify your database, and
# then regenerate this schema definition.

ActiveRecord::Schema.define(:version => 6) do

  create_table "contents", :force => true do |t|
    t.column "body", :text
    t.column "content_type", :string
  end

  create_table "meta_datas", :force => true do |t|
    t.column "content_id", :integer, :default => 0, :null => false
    t.column "key", :string, :default => "", :null => false
    t.column "value", :string
  end

  add_index "meta_datas", ["content_id"], :name => "meta_datas_content_id_index"

  create_table "page_elements", :force => true do |t|
    t.column "page_id", :integer, :default => 0, :null => false
    t.column "content_id", :integer, :default => 0, :null => false
    t.column "area_name", :string
    t.column "position", :integer
  end

  add_index "page_elements", ["area_name", "position"], :name => "page_elements_area_name_index"

  create_table "pages", :force => true do |t|
    t.column "title", :string, :default => "", :null => false
    t.column "theme_name", :string
  end

  create_table "sessions", :force => true do |t|
    t.column "session_id", :string
    t.column "data", :text
    t.column "updated_at", :datetime
  end

  add_index "sessions", ["session_id"], :name => "sessions_session_id_index"

  create_table "urlnames", :force => true do |t|
    t.column "nameable_type", :string
    t.column "nameable_id", :integer
    t.column "name", :string
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
compages-0.4.0 db/Copia di schema.rb