Fixed up db/schema to remove spurious payments table
add referral code to order admin table