зеркало из
https://github.com/redmine/redmine.git
synced 2024-08-26 17:58:38 +02:00
12 строки
347 B
Ruby
12 строки
347 B
Ruby
![]() |
class AddRepositoryLoginAndPassword < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
add_column :repositories, :login, :string, :limit => 60, :default => ""
|
||
|
add_column :repositories, :password, :string, :limit => 60, :default => ""
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_column :repositories, :login
|
||
|
remove_column :repositories, :password
|
||
|
end
|
||
|
end
|