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.

20110226120112_change_repositories_password_limit.rb 281B

123456789
  1. class ChangeRepositoriesPasswordLimit < ActiveRecord::Migration[4.2]
  2. def self.up
  3. change_column :repositories, :password, :string, :limit => nil, :default => ''
  4. end
  5. def self.down
  6. change_column :repositories, :password, :string, :limit => 60, :default => ''
  7. end
  8. end