Mercurial > hg > soundsoftware-site
comparison db/migrate/20110207142856_add_ext_rep_to_repositories.rb @ 1484:51364c0cd58f redmine-2.4-integration
Merge from live branch. Still need to merge manually in files overridden by plugins.
author | Chris Cannam |
---|---|
date | Wed, 15 Jan 2014 09:59:14 +0000 |
parents | 11661511fc20 |
children |
comparison
equal
deleted
inserted
replaced
1464:261b3d9a4903 | 1484:51364c0cd58f |
---|---|
1 class AddExtRepToRepositories < ActiveRecord::Migration | |
2 def self.up | |
3 add_column :repositories, :is_external, :bool | |
4 add_column :repositories, :external_url, :string | |
5 end | |
6 | |
7 def self.down | |
8 remove_column :repositories, :is_external | |
9 remove_column :repositories, :external_url | |
10 end | |
11 end |