Merge pull request #51 from opf/feature/longer_logins
migrate longer logins plugin to corepull/52/merge
commit
1a0aca08dc
@ -0,0 +1,13 @@ |
|||||||
|
class AddLongerLoginToUsers < ActiveRecord::Migration |
||||||
|
def self.up |
||||||
|
change_table :users do |t| |
||||||
|
t.change "login", :string, :limit => 256, :default => "", :null => false |
||||||
|
end |
||||||
|
end |
||||||
|
|
||||||
|
def self.down |
||||||
|
change_table :users do |t| |
||||||
|
t.change "login", :string, :limit => 30, :default => "", :null => false |
||||||
|
end |
||||||
|
end |
||||||
|
end |
Loading…
Reference in new issue