db/migrate/20121116210759_create_authorizations.rb in challah-1.2.5.pre vs db/migrate/20121116210759_create_authorizations.rb in challah-1.2.5
- old
+ new
@@ -7,14 +7,14 @@
t.string :token, limit: 500
t.datetime :expires_at
t.datetime :last_session_at
t.string :last_session_ip
t.integer :session_count, default: 0
- t.timestamps
+ t.timestamps null: true
end
add_index :authorizations, :user_id
add_index :authorizations, [ :user_id, :provider ]
add_index :authorizations, :uid
add_index :authorizations, :token
end
-end
\ No newline at end of file
+end