diff options
author | rhenium <re4k@re4k.info> | 2013-05-20 23:56:26 +0900 |
---|---|---|
committer | rhenium <re4k@re4k.info> | 2013-05-20 23:56:26 +0900 |
commit | 43b82c0d5deb0587365d98be599ab03a50c79fa4 (patch) | |
tree | 9579d89477584834e428e51436e603464bb07054 /db | |
parent | 0830b385775b17479100021e956fa14df8dcb4f9 (diff) | |
download | aclog-43b82c0d5deb0587365d98be599ab03a50c79fa4.tar.gz |
remove stolen_tweet model
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20130403114115_create_stolen_tweets.rb | 11 | ||||
-rw-r--r-- | db/schema.rb | 8 |
2 files changed, 0 insertions, 19 deletions
diff --git a/db/migrate/20130403114115_create_stolen_tweets.rb b/db/migrate/20130403114115_create_stolen_tweets.rb deleted file mode 100644 index 7dbe8c9..0000000 --- a/db/migrate/20130403114115_create_stolen_tweets.rb +++ /dev/null @@ -1,11 +0,0 @@ -class CreateStolenTweets < ActiveRecord::Migration - def change - create_table :stolen_tweets do |t| - t.integer :tweet_id, :limit => 8 - t.integer :original_id, :limit => 8 - end - - add_index :stolen_tweets, :tweet_id, :unique => true - add_index :stolen_tweets, :original_id - end -end diff --git a/db/schema.rb b/db/schema.rb index 49247ed..6dee41a 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -53,14 +53,6 @@ ActiveRecord::Schema.define(version: 20130511060935) do add_index "retweets", ["tweet_id"], name: "index_retweets_on_tweet_id", using: :btree add_index "retweets", ["user_id"], name: "index_retweets_on_user_id", using: :btree - create_table "stolen_tweets", force: true do |t| - t.integer "tweet_id", limit: 8 - t.integer "original_id", limit: 8 - end - - add_index "stolen_tweets", ["original_id"], name: "index_stolen_tweets_on_original_id", using: :btree - add_index "stolen_tweets", ["tweet_id"], name: "index_stolen_tweets_on_tweet_id", unique: true, using: :btree - create_table "tweets", force: true do |t| t.text "text", limit: 16777215, null: false t.text "source", limit: 16777215 |