update with changes from Production branch
This commit is contained in:
22
db/migrate/20101117211040_create_feeds.rb
Normal file
22
db/migrate/20101117211040_create_feeds.rb
Normal file
@@ -0,0 +1,22 @@
|
||||
class CreateFeeds < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :feeds do |t|
|
||||
t.integer :device_id
|
||||
t.text :raw_data
|
||||
t.text :data1
|
||||
t.text :data2
|
||||
t.text :data3
|
||||
t.text :data4
|
||||
t.text :data5
|
||||
t.text :data6
|
||||
t.text :data7
|
||||
t.text :data8
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
def self.down
|
||||
drop_table :feeds
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user