coderbunker / timesheet-backend

Timesheet Datawarehouse backend
MIT License
1 stars 0 forks source link

timesheet.sql does not exist #21

Closed arseneeth closed 6 years ago

arseneeth commented 6 years ago

If you run "psql timesheet -f sql/timesheet.sql" from README.md you would get an error that such file does not exist.

/sql directory has a file PSQL.sql which will generate a database structure, but without any data in it. If it is what was meant to happen then the readme file should be updated.

rngadam commented 6 years ago

note the server/setup.sh script.

And yes, there's not supposed to be any data into it. You can transfer the latest snapshots data from the heroku database using SELECT incoming.update_from_server('heroku pg url');