Jsondb / jsondb-core

JsonDB a pure java database that stores its data as Json Files

Home Page:http://www.jsondb.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table Generation Strategy

mataide opened this issue · comments

Feature Request:

Create a setting for Table Generation Strategy.
Usually databases have 3 options:

  1. Create
  2. Drop and Create
  3. Update

@mataide could you explain a bit more what would this strategy do. Please give a example

When you start the application, you want to:

  1. Create only if not exist.
  2. Drop everything and create again.
  3. Only update the models.

@mataide Okay thanks that makes it clear, i will try to incorporate this next time i get some time.