on create order method in sql.rb