rosa-build/db/migrate/20120417133722_remove_downl...

18 lines
388 B
Ruby
Raw Permalink Normal View History

class RemoveDownloads < ActiveRecord::Migration
def up
drop_table :downloads
end
def down
2014-01-21 04:51:49 +00:00
create_table "downloads", force: true do |t|
t.string "name", null: false
t.string "version"
t.string "distro"
t.string "platform"
2014-01-21 04:51:49 +00:00
t.integer "counter", default: 0
t.datetime "created_at"
t.datetime "updated_at"
end
end
end