mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-28 19:56:11 +01:00
Apply James Kebinger's patch to fix #407. Thanks, James!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@483 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
cd25d7e278
commit
3dcc0152a1
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
|||
class AddSubclassAttrToTodos < ActiveRecord::Migration
|
||||
|
||||
class Todo < ActiveRecord::Base; end
|
||||
|
||||
class Immediate < Todo; end
|
||||
|
||||
def self.up
|
||||
add_column :todos, :type, :string, :null => false, :default => "Immediate"
|
||||
add_column :todos, :show_from, :date
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue