update with changes from Production branch
This commit is contained in:
15
db/migrate/20140121232049_create_daily_feeds.rb
Normal file
15
db/migrate/20140121232049_create_daily_feeds.rb
Normal file
@ -0,0 +1,15 @@
|
||||
class CreateDailyFeeds < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :daily_feeds do |t|
|
||||
t.integer :channel_id
|
||||
t.date :date
|
||||
t.string :calculation, :limit => 20
|
||||
t.string :result
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :daily_feeds, [:channel_id, :date]
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user