blob: 7dbe8c99e893ed8847619cecd1ca5399a1384486 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
|