Skip to content

Commit d9ccc92

Browse files
committed
reset db with rake db:migrate VERSION=0
1 parent 0d0b7dd commit d9ccc92

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class DropEmailFromUser < ActiveRecord::Migration
2-
def change
2+
def up
33
remove_column :users, :email
44
end
55
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class RemoveAuthorFromStories < ActiveRecord::Migration
2-
def change
2+
def up
33
remove_column :stories, :author
44
end
55
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class ChangeStoryPermalinkColumn < ActiveRecord::Migration
2-
def change
2+
def up
33
change_column :stories, :permalink, :text
44
end
55
end

0 commit comments

Comments
 (0)