You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

026_add_repository_login_and_password.rb 352B

1234567891011
  1. class AddRepositoryLoginAndPassword < ActiveRecord::Migration[4.2]
  2. def self.up
  3. add_column :repositories, :login, :string, :limit => 60, :default => ""
  4. add_column :repositories, :password, :string, :limit => 60, :default => ""
  5. end
  6. def self.down
  7. remove_column :repositories, :login
  8. remove_column :repositories, :password
  9. end
  10. end