2011-07-23 21:55:26 +02:00
|
|
|
# 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.
|
|
|
|
|
2011-09-29 21:16:40 +02:00
|
|
|
ActiveRecord::Schema.define(:version => 20110927091830) do
|
2011-08-16 20:05:58 +02:00
|
|
|
|
|
|
|
create_table "contacts", :force => true do |t|
|
|
|
|
t.string "nick"
|
|
|
|
t.string "email"
|
|
|
|
t.string "first_name"
|
|
|
|
t.string "last_name"
|
|
|
|
t.string "info"
|
|
|
|
t.integer "user_id"
|
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
|
|
|
end
|
2011-07-27 20:34:30 +02:00
|
|
|
|
2011-09-29 21:16:40 +02:00
|
|
|
create_table "events", :force => true do |t|
|
|
|
|
t.integer "user_id"
|
|
|
|
t.integer "priority"
|
|
|
|
t.text "description"
|
|
|
|
t.string "category"
|
|
|
|
t.datetime "start"
|
|
|
|
t.datetime "stop"
|
|
|
|
t.boolean "allday"
|
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
|
|
|
end
|
|
|
|
|
2011-07-27 20:34:30 +02:00
|
|
|
create_table "folders", :force => true do |t|
|
|
|
|
t.string "name"
|
|
|
|
t.string "delim"
|
|
|
|
t.boolean "haschildren"
|
2011-08-16 20:05:58 +02:00
|
|
|
t.integer "total"
|
2011-07-27 20:34:30 +02:00
|
|
|
t.integer "unseen"
|
|
|
|
t.integer "user_id"
|
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
|
|
|
t.string "parent"
|
2011-07-31 22:45:29 +02:00
|
|
|
t.boolean "shown"
|
|
|
|
t.string "alter_name"
|
2011-09-03 13:07:40 +02:00
|
|
|
t.integer "sys"
|
2011-07-27 20:34:30 +02:00
|
|
|
end
|
|
|
|
|
2011-08-26 22:59:43 +02:00
|
|
|
create_table "messages", :id => false, :force => true do |t|
|
2011-07-27 20:34:30 +02:00
|
|
|
t.integer "folder_id"
|
|
|
|
t.integer "user_id"
|
|
|
|
t.string "msg_id"
|
2011-08-16 20:05:58 +02:00
|
|
|
t.string "from_addr"
|
|
|
|
t.string "to_addr"
|
2011-07-27 20:34:30 +02:00
|
|
|
t.string "subject"
|
|
|
|
t.string "content_type"
|
|
|
|
t.integer "uid"
|
|
|
|
t.integer "size"
|
2011-08-16 20:05:58 +02:00
|
|
|
t.boolean "unseen"
|
2011-07-27 20:34:30 +02:00
|
|
|
t.datetime "date"
|
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
|
|
|
end
|
2011-07-24 15:56:47 +02:00
|
|
|
|
|
|
|
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"
|
2011-09-09 22:10:25 +02:00
|
|
|
t.string "msg_image_view_as"
|
|
|
|
t.string "msg_image_thumbnail_size"
|
2011-07-24 15:56:47 +02:00
|
|
|
end
|
2011-07-23 21:55:26 +02:00
|
|
|
|
|
|
|
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"
|
2011-07-27 20:34:30 +02:00
|
|
|
t.boolean "use_ssl"
|
2011-09-03 13:07:40 +02:00
|
|
|
t.boolean "use_tls"
|
|
|
|
t.boolean "for_imap"
|
|
|
|
t.boolean "for_smtp"
|
|
|
|
t.string "auth"
|
2011-07-23 21:55:26 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
create_table "users", :force => true do |t|
|
2011-09-29 21:16:40 +02:00
|
|
|
t.string "login"
|
2011-07-23 21:55:26 +02:00
|
|
|
t.string "first_name"
|
|
|
|
t.string "last_name"
|
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
2011-09-03 13:07:40 +02:00
|
|
|
t.string "domain"
|
2011-07-23 21:55:26 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|