Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Commit

Permalink
added schema, don't know how that got in my gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Adams committed Dec 13, 2008
1 parent 0ba59ba commit 1c2f2c0
Showing 1 changed file with 255 additions and 0 deletions.
255 changes: 255 additions & 0 deletions db/schema.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,255 @@
# This file is auto-generated from the current state of the database. Instead of editing this file,
# please use the migrations feature of Active Record to incrementally modify your database, and
# then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your database schema. If you need
# to create the application database on another system, you should be using db:schema:load, not running
# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.

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

create_table "ansuz_themes", :force => true do |t|
t.string "name"
t.string "repository_url"
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "blog_comments", :force => true do |t|
t.string "author"
t.string "email"
t.string "website"
t.text "text"
t.integer "blog_post_id", :limit => 11
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "blog_posts", :force => true do |t|
t.string "title"
t.text "contents"
t.integer "created_by", :limit => 11
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "content_section_versions", :force => true do |t|
t.integer "content_section_id", :limit => 11
t.integer "version", :limit => 11
t.integer "author_id", :limit => 11
t.string "name"
t.text "contents"
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "content_sections", :force => true do |t|
t.string "name"
t.text "contents"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "version", :limit => 11, :default => 1
end

create_table "forums", :force => true do |t|
t.string "name"
t.string "description"
t.integer "topics_count", :limit => 11, :default => 0
t.integer "posts_count", :limit => 11, :default => 0
t.integer "position", :limit => 11
t.text "description_html"
end

create_table "fyles", :force => true do |t|
t.string "mime_type"
t.string "file_name"
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "menu_entries", :force => true do |t|
t.string "name"
t.string "link"
t.integer "position", :limit => 11
t.integer "parent_id", :limit => 11
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "moderatorships", :force => true do |t|
t.integer "forum_id", :limit => 11
t.integer "user_id", :limit => 11
end

add_index "moderatorships", ["forum_id"], :name => "index_moderatorships_on_forum_id"

create_table "monitorships", :force => true do |t|
t.integer "topic_id", :limit => 11
t.integer "user_id", :limit => 11
t.boolean "active", :default => true
end

create_table "page_metadatas", :force => true do |t|
t.integer "page_id", :limit => 11
t.string "title"
t.string "subject"
t.text "description"
t.string "publisher"
t.string "rights"
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "page_plugins", :force => true do |t|
t.integer "page_id", :limit => 11
t.string "module_type"
t.integer "module_id", :limit => 11
t.datetime "created_at"
t.datetime "updated_at"
t.integer "position", :limit => 11
end

create_table "pages", :force => true do |t|
t.string "name"
t.string "title"
t.string "full_title"
t.text "body"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "page_order", :limit => 11, :default => 0
t.integer "parent_id", :limit => 11
t.string "page_type", :default => "page"
t.boolean "display_title", :default => true
t.boolean "published", :default => true
t.boolean "linked", :default => true
t.boolean "show_sub_menu", :default => false
t.string "status"
end

add_index "pages", ["status"], :name => "index_pages_on_status"

create_table "photo_album_photos", :force => true do |t|
t.integer "photo_album_id", :limit => 11
t.string "title"
t.text "caption"
t.string "photo_album_photo_image_file_name"
t.string "photo_album_photo_image_content_type"
t.integer "photo_album_photo_image_file_size", :limit => 11
end

create_table "photo_albums", :force => true do |t|
t.string "name"
end

create_table "posts", :force => true do |t|
t.integer "user_id", :limit => 11
t.integer "topic_id", :limit => 11
t.text "body"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "forum_id", :limit => 11
t.text "body_html"
end

add_index "posts", ["forum_id", "created_at"], :name => "index_posts_on_forum_id"
add_index "posts", ["user_id", "created_at"], :name => "index_posts_on_user_id"
add_index "posts", ["topic_id", "created_at"], :name => "index_posts_on_topic_id"

create_table "roles", :force => true do |t|
t.string "name", :limit => 40
t.string "authorizable_type", :limit => 40
t.integer "authorizable_id", :limit => 11
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "roles_users", :id => false, :force => true do |t|
t.integer "user_id", :limit => 11
t.integer "role_id", :limit => 11
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "scrollable_content_sections", :force => true do |t|
t.integer "scrollable_content_id", :limit => 11
t.string "title"
t.text "contents"
end

create_table "scrollable_contents", :force => true do |t|
t.string "name"
end

create_table "site_settings", :force => true do |t|
t.string "name"
t.string "user_theme_name"
t.datetime "created_at"
t.datetime "updated_at"
t.string "site_title"
t.boolean "show_inline_edit_links", :default => false
end

create_table "taggings", :force => true do |t|
t.integer "tag_id", :limit => 11
t.integer "taggable_id", :limit => 11
t.string "taggable_type"
t.integer "user_id", :limit => 11
end

add_index "taggings", ["tag_id", "taggable_type"], :name => "index_taggings_on_tag_id_and_taggable_type"
add_index "taggings", ["user_id", "tag_id", "taggable_type"], :name => "index_taggings_on_user_id_and_tag_id_and_taggable_type"
add_index "taggings", ["taggable_id", "taggable_type"], :name => "index_taggings_on_taggable_id_and_taggable_type"
add_index "taggings", ["user_id", "taggable_id", "taggable_type"], :name => "index_taggings_on_user_id_and_taggable_id_and_taggable_type"

create_table "tags", :force => true do |t|
t.string "name"
t.integer "taggings_count", :limit => 11, :default => 0, :null => false
end

add_index "tags", ["name"], :name => "index_tags_on_name"
add_index "tags", ["taggings_count"], :name => "index_tags_on_taggings_count"

create_table "testimonials", :force => true do |t|
t.text "content"
t.string "attributed_to"
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "topics", :force => true do |t|
t.integer "forum_id", :limit => 11
t.integer "user_id", :limit => 11
t.string "title"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "hits", :limit => 11, :default => 0
t.integer "sticky", :limit => 11, :default => 0
t.integer "posts_count", :limit => 11, :default => 0
t.datetime "replied_at"
t.boolean "locked", :default => false
t.integer "replied_by", :limit => 11
t.integer "last_post_id", :limit => 11
end

add_index "topics", ["forum_id"], :name => "index_topics_on_forum_id"
add_index "topics", ["forum_id", "sticky", "replied_at"], :name => "index_topics_on_sticky_and_replied_at"
add_index "topics", ["forum_id", "replied_at"], :name => "index_topics_on_forum_id_and_replied_at"

create_table "users", :force => true do |t|
t.string "login"
t.string "email"
t.string "crypted_password", :limit => 40
t.string "salt", :limit => 40
t.datetime "created_at"
t.datetime "updated_at"
t.string "remember_token"
t.datetime "remember_token_expires_at"
t.integer "posts_count", :limit => 11, :default => 0
t.datetime "last_seen_at"
t.boolean "admin", :default => false
end

end

0 comments on commit 1c2f2c0

Please sign in to comment.