forgeplus/db/migrate/20210315093350_add_website_...

7 lines
196 B
Ruby

class AddWebsiteToProjects < ActiveRecord::Migration[5.2]
def change
add_column :projects, :default_branch, :string, default: 'master'
add_column :projects, :website, :string
end
end