mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-26 20:08:51 +01:00
adding missing table
This commit is contained in:
parent
fdbd2a6391
commit
1cf5967eb5
1 changed files with 6 additions and 4 deletions
|
|
@ -1,11 +1,13 @@
|
|||
class AdaptToNewAasm < ActiveRecord::Migration
|
||||
def self.up
|
||||
change_column :todos, :state, :string, :limit => 20, :default => "", :null => false
|
||||
change_column :projects, :state, :string, :limit => 20, :default => "", :null => false
|
||||
change_column :todos, :state, :string, :limit => 20, :default => "", :null => false
|
||||
change_column :projects, :state, :string, :limit => 20, :default => "", :null => false
|
||||
change_column :recurring_todos, :state, :string, :limit => 20, :default => "", :null => false
|
||||
end
|
||||
|
||||
def self.down
|
||||
change_column :todos, :state, :string, :limit => 20, :default => "immediate", :null => false
|
||||
change_column :projects, :state, :string, :limit => 20, :default => "active", :null => false
|
||||
change_column :todos, :state, :string, :limit => 20, :default => "immediate", :null => false
|
||||
change_column :projects, :state, :string, :limit => 20, :default => "active", :null => false
|
||||
change_column :recurring_todos, :state, :string, :limit => 20, :default => "active", :null => false
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue