1

I have this in my datasources.json

{
  "db": {
    "name": "db",
    "connector": "memory",
    "file": "storage/dbdata.json"
  }
}

and everything works fine. But I see it dumps all data in one single file which I don't want. Is there any way that I can generate per model data dump file like above which will automatically imported during app bootup process?

Nur Rony
  • 7,823
  • 7
  • 38
  • 45

1 Answers1

0

You can setup as many datasources in the datasources.json file as needed. You can then connect your model to a specific data source as per the instructions listed here

JSimonsen
  • 2,642
  • 1
  • 13
  • 13