Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: b1b4e26a89
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (9 sloc) 0.237 kB
class AddPrereleaseToVersions < ActiveRecord::Migration
def self.up
add_column :versions, :prerelease, :boolean
Version.update_all(:prerelease => false)
end
def self.down
remove_column :versions, :prerelease
end
end
Jump to Line
Something went wrong with that request. Please try again.