I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

003_change_projects_section_identifier_limit.rb

new migration - Martin Corino, 11 Oct 2013 17:48

Download (261 Bytes)

 
1
class ChangeProjectsSectionIdentifierLimit < ActiveRecord::Migration
2
  def self.up
3
    change_column :project_sections, :identifier, :string, :limit => nil
4
  end
5

    
6
  def self.down
7
    change_column :project_sections, :identifier, :string, :limit => 20
8
  end
9
end
Terms of use | Privacy policy