LabiciIvan / exchange-bot

1 stars 0 forks source link

PRO - Database Tables #16

Open LabiciIvan opened 1 year ago

LabiciIvan commented 1 year ago

Because this project is at the beginning, it will need to have only 2 tables.

Users -> This table will hold all registered users, with the next fields (id,name, password, email, age, amount )

Exchanges -> _This table will hold all exhanges from users, with the next fields (id, user_id, date_start_exch, date_stop_exch, from, to, amount_from, amountto )

LabiciIvan commented 1 year ago

Created 2 tables for now, if you want to run migration locally, then go to app.js file in root of PRO , and uncomment line 9 and 21 , and then from postman run a GET request to the PRO URL that is build with variables from your .ENV file.