# janky way to generate db schema from swagger run `node schema.js` this will create `output.sql` you will need to massage a few things: - there are duplicate tables like rsv_address and rsv_revenue_and_balances - address needs to be named to two separate things - revenue is the same table, delete the second instance and make sure it has two foreign key to point to both potential parents