Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
saasbook committed May 4, 2012
1 parent c5234bc commit 1bb0f61
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ gem 'rails', '3.1.0'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

#gem 'kaminari'
gem 'sqlite3'
gem 'rails3-jquery-autocomplete'
gem 'nifty-generators'
Expand Down
18 changes: 18 additions & 0 deletions db/migrate/20120504075303_reshift_response_templates.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
class ReshiftResponseTemplates < ActiveRecord::Migration
def up
drop_table :response_templates
create_table :response_templates do |t|
t.string :response
t.depth :integer
t.score :integer
t.parent_id :integer
t.user_id :integer
t.anonymous :boolean
t.group_response :boolean
t.timestamps
end
end

def down
end
end
7 changes: 7 additions & 0 deletions db/migrate/20120504075303_reshift_response_templates.rb~
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class ReshiftResponseTemplates < ActiveRecord::Migration
def up
end

def down
end
end

0 comments on commit 1bb0f61

Please sign in to comment.