add auth token for users
This commit is contained in:
parent
8d74123d61
commit
003bf61258
5 changed files with 19 additions and 7 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddAuthenticationTokenToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :authentication_token, :string
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20111111093150) do
|
||||
ActiveRecord::Schema.define(:version => 20111115063954) do
|
||||
|
||||
create_table "issues", :force => true do |t|
|
||||
t.string "title"
|
||||
|
@ -103,6 +103,7 @@ ActiveRecord::Schema.define(:version => 20111111093150) do
|
|||
t.string "skype", :default => "", :null => false
|
||||
t.string "linkedin", :default => "", :null => false
|
||||
t.string "twitter", :default => "", :null => false
|
||||
t.string "authentication_token"
|
||||
end
|
||||
|
||||
add_index "users", ["email"], :name => "index_users_on_email", :unique => true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue