72 lines
2.1 KiB
Ruby
Executable file
72 lines
2.1 KiB
Ruby
Executable file
# 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 => 20110727134352) do
|
|
|
|
create_table "folders", :force => true do |t|
|
|
t.string "name"
|
|
t.string "delim"
|
|
t.boolean "haschildren"
|
|
t.integer "messages"
|
|
t.integer "unseen"
|
|
t.integer "user_id"
|
|
t.datetime "created_at"
|
|
t.datetime "updated_at"
|
|
t.string "parent"
|
|
t.datetime "msgs_updated_at"
|
|
end
|
|
|
|
create_table "messages", :force => true do |t|
|
|
t.integer "folder_id"
|
|
t.integer "user_id"
|
|
t.string "msg_id"
|
|
t.string "from"
|
|
t.string "to"
|
|
t.string "subject"
|
|
t.string "content_type"
|
|
t.integer "uid"
|
|
t.integer "size"
|
|
t.boolean "unread"
|
|
t.datetime "date"
|
|
t.datetime "created_at"
|
|
t.datetime "updated_at"
|
|
end
|
|
|
|
create_table "prefs", :force => true do |t|
|
|
t.string "theme"
|
|
t.string "locale"
|
|
t.integer "user_id"
|
|
t.datetime "created_at"
|
|
t.datetime "updated_at"
|
|
t.string "msgs_per_page"
|
|
t.string "msg_send_type"
|
|
end
|
|
|
|
create_table "servers", :force => true do |t|
|
|
t.string "name"
|
|
t.string "port"
|
|
t.integer "user_id"
|
|
t.datetime "created_at"
|
|
t.datetime "updated_at"
|
|
t.boolean "use_ssl"
|
|
end
|
|
|
|
create_table "users", :force => true do |t|
|
|
t.string "email"
|
|
t.string "first_name"
|
|
t.string "last_name"
|
|
t.datetime "created_at"
|
|
t.datetime "updated_at"
|
|
end
|
|
|
|
end
|