diff --git a/db/migrate/20140826095949_create_logins.rb b/db/migrate/20140826095949_create_logins.rb new file mode 100644 --- /dev/null +++ b/db/migrate/20140826095949_create_logins.rb @@ -0,0 +1,10 @@ +class CreateLogins < ActiveRecord::Migration + def change + create_table :logins do |t| + t.string :user_id + t.string :ip_address + + t.timestamps + end + end +end