aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorre4k <re4k@re4k.info>2013-03-26 17:54:34 +0900
committerre4k <re4k@re4k.info>2013-03-26 17:55:13 +0900
commit9e05ce53b550ab05d06268bd0c2ae26ad294d0ab (patch)
treea431e3e1811e32e465a872c3ea9481106b83b2f7 /db
parent22b478cd66a419c30ab28471fbd495019810469e (diff)
downloadaclog-9e05ce53b550ab05d06268bd0c2ae26ad294d0ab.tar.gz
Add favs_from/rts_from
Diffstat (limited to 'db')
-rw-r--r--db/schema.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb
index d8b9299..0efc468 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -38,6 +38,7 @@ ActiveRecord::Schema.define(version: 20130323045606) do
t.integer "user_id", limit: 8, null: false
end
+ add_index "retweets", ["tweet_id", "user_id"], name: "index_retweets_on_tweet_id_and_user_id", unique: true
add_index "retweets", ["tweet_id"], name: "index_retweets_on_tweet_id"
add_index "retweets", ["user_id"], name: "index_retweets_on_user_id"
@@ -50,6 +51,8 @@ ActiveRecord::Schema.define(version: 20130323045606) do
t.integer "retweets_count", default: 0
end
+ add_index "tweets", ["user_id"], name: "index_tweets_on_user_id"
+
create_table "users", force: true do |t|
t.string "screen_name"
t.string "name"