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:

004_change_projects_section_name_limit.rb

Minh Thien, 15 Dec 2013 10:01

Download (243 Bytes)

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

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