Added orders to the user db

I manually merged changes I made in the testing-db-things branch here so
that the database migration would work.
Log in to the admin pages to see the changes.