Commit Graph

14 Commits

Author SHA1 Message Date
ddb7e7379d Every instance of sqlite database should have foreign_keys constraints on 2019-12-22 13:14:12 +01:00
8e23ae5a27 Added babel for ES6 functionality. In this case the new import statements 2019-07-27 01:28:41 +02:00
40b7ceda5f The name of the teardown.sql file was renamed, reverted to correct name. 2018-03-19 16:23:58 +01:00
9645fba4ef Removed connect, connection is now a new sqlite instance, async run function, check for errors when executing and setup and teardown now return promises. 2018-03-19 15:24:42 +01:00
354b833375 Removed console log of table data. 2018-03-06 21:24:18 +01:00
34a97c069b Updated from sqlite to sqlite3 now all functions are async so we wait for response. 2018-03-06 19:16:10 +01:00
272300249e Linted all database files. 2018-02-07 13:49:22 +01:00
d92e6d8c78 Psst. Removed console logs from debug hunt. 2017-12-21 01:01:43 +01:00
0459fb9312 More testing for this bug. 2017-12-20 23:18:13 +01:00
6a725e3921 Added tons of console.logs to try find out where the problem with travis not being able to read file lies. 2017-12-20 23:06:02 +01:00
f6c27482e4 Added script for teardown of database. 2017-12-20 21:07:33 +01:00
ac6bbe6ac6 Now we can build or database by reading schema files. Also added doc strings to all the functions. This is a much better definition of a database script for our usecases.. 2017-12-01 10:19:22 +01:00
56405e54f9 Downgraded from sqlite3 to sqlite because of connection function error. 2017-08-23 10:26:23 +02:00
47aa638fd8 Moved eveything related to the api to a seperate folder seasoned_api. 2017-08-06 16:45:02 +02:00