Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
исправил косяк
Browse files Browse the repository at this point in the history
  • Loading branch information
darkleaf committed Jan 26, 2012
1 parent e6a3b3b commit f7f6607
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions db/migrate/20120125162409_add_state.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class AddState < ActiveRecord::Migration
def up
add_column :stories, :state, :string
end

def down
remove_column :stories, :state
end
end
9 changes: 9 additions & 0 deletions db/migrate/20120125213241_add_pass.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class AddPass < ActiveRecord::Migration
def up
add_column :users, :password_digest, :string
end

def down
remove_column :users, :password_digest
end
end

0 comments on commit f7f6607

Please sign in to comment.