adamitejs/service-database

Database crashes when creating a collection's table

Opened this issue · 0 comments

When the first document in a collection is created, the database service attempts to add the table to the database, but this is causing issues.

Steps to reproduce

  1. Create a new collection and insert an initial document.

Expected behavior

The table for the collection should be created in RethinkDB, and the document should be added to the table.

Actual behavior

The database creates the table, then crashes, and the document is not added to the database.