Mercurial > hg > soundsoftware-site
annotate .svn/pristine/b7/b79e266e4acd3c5400f7b2a9ec13bc6b7730bf4f.svn-base @ 1426:7367cd232b1e luisf
Merge.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 07 Oct 2013 15:42:39 +0100 |
parents | 038ba2d95de8 |
children |
rev | line source |
---|---|
Chris@1296 | 1 class ChangeUsersLoginLimit < ActiveRecord::Migration |
Chris@1296 | 2 def self.up |
Chris@1296 | 3 change_column :users, :login, :string, :limit => nil, :default => '', :null => false |
Chris@1296 | 4 end |
Chris@1296 | 5 |
Chris@1296 | 6 def self.down |
Chris@1296 | 7 change_column :users, :login, :string, :limit => 30, :default => '', :null => false |
Chris@1296 | 8 end |
Chris@1296 | 9 end |