From d0a31efbb191ca055aaf4bf0793774e28fe28339 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Tue, 3 Jun 2008 23:44:35 +0000 Subject: [PATCH] ActionItem44: adding password_type field to users table --- db/migrate/034_adds_password_type_to_users.rb | 9 +++++++++ 1 file changed, 9 insertions(+), 0 deletions(-) create mode 100644 db/migrate/034_adds_password_type_to_users.rb diff --git a/db/migrate/034_adds_password_type_to_users.rb b/db/migrate/034_adds_password_type_to_users.rb new file mode 100644 index 0000000..3f85fdb --- /dev/null +++ b/db/migrate/034_adds_password_type_to_users.rb @@ -0,0 +1,9 @@ +class AddsPasswordTypeToUsers < ActiveRecord::Migration + def self.up + add_column :users, :password_type, :string + end + + def self.down + remove_column :users, :password_type + end +end -- libgit2 0.21.2