diff options
author | re4k <re4k@re4k.info> | 2013-03-09 19:48:53 +0900 |
---|---|---|
committer | re4k <re4k@re4k.info> | 2013-03-09 19:48:53 +0900 |
commit | 11d5c2683fe0f296280fa4b717db92b1d358d704 (patch) | |
tree | eeb7b773f072a668ab6668f99162dcdc9932c132 /db/schema.rb | |
parent | 4ba0b50fc998c9b47b74adc31b6422f7dddcd199 (diff) | |
download | aclog-11d5c2683fe0f296280fa4b717db92b1d358d704.tar.gz |
* Fix #1
* Increase worker
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb new file mode 100644 index 0000000..72fb1e1 --- /dev/null +++ b/db/schema.rb @@ -0,0 +1,52 @@ +# encoding: UTF-8 +# 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 that you check this file into your version control system. + +ActiveRecord::Schema.define(version: 20130226151042) do + + create_table "accounts", force: true do |t| + t.string "oauth_token" + t.string "oauth_token_secret" + t.datetime "created_at" + t.datetime "updated_at" + end + + create_table "favorites", force: true do |t| + t.integer "tweet_id", limit: 8 + t.integer "user_id", limit: 8 + end + + create_table "retweets", force: true do |t| + t.integer "tweet_id", limit: 8 + t.integer "user_id", limit: 8 + end + + create_table "tweets", force: true do |t| + t.text "text" + t.text "source" + t.integer "user_id", limit: 8 + t.datetime "tweeted_at" + t.integer "favorites_count" + t.integer "retweets_count" + end + + create_table "users", force: true do |t| + t.string "screen_name" + t.string "name" + t.text "profile_image_url" + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "users", ["screen_name"], name: "index_users_on_screen_name" + +end |