|
|
|
|
|
by jharohit
196 days ago
|
|
love it. been using for personal projects. some things that still need to be done before v1 launch: - easy data migration in and out (right now is a pain if its large volume of data from other DB eg firebase or sqlite!) - API/programmatic setup of tables (right now its only via UI making it hard to setup large complex tables with variable permissions) - Multi-instance: easiest is to have another pocketbase in "mirror" mode that it updates once a day or whatever with primary (primary > secondary method like in mongo is a great mechanism, with some kind of voting for primary) |
|
Also, you can do programmatic setup of tables with migrations: https://pocketbase.io/docs/go-migrations/ (also available in JS). I can't remember if pocketbase will automatically write migrations to disk for you or if there's a flag you need to turn on, but you can generate those migrations on a local instance, commit them to VCS, deploy them somewhere, and either run a command to run the migrations or turn on auto-migrate (which does what you'd expect).