10 lines
220 B
Ruby
10 lines
220 B
Ruby
|
class RemoveRepositoryIdFromProject < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
remove_column :projects, :repository_id
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
add_column :projects, :repository_id, :integer, :null => false
|
||
|
end
|
||
|
end
|