Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
C#
Hi
i have a system "x" which has some promocodes, when user logs in to system x, then SMS is sent to user with unique promocode

System x has some 3rd party app when user trys to register or login to that app using promocode

Then 3rd party system registers user or it authenticates it and send a response to system x as user has logged in with promocode and credentials used

How should i  design database schema for such scenario


What I have tried:

i have created a table which as Xpromocodes which as field as id, promocode,lodingForX
and another table which will have data return from 3rd party app
table:promoReturned
id
promocode
applogin
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900