You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the Demo environment, will are going to have a cron task that resets DB to the initial state every night (e.g. at 00:00). The "reset" DB means the following steps:
drop DB schema (DROP DATABASE gauzy)
create DB schema again (CREATE DATABASE gauzy)
run yarn seed:all so it reseeds all DB with fake demo data
Dev env should recreate (reset) DB on each deployment. It means the following steps:
drop DB schema (DROP DATABASE gauzy)
create DB schema again (CREATE DATABASE gauzy)
no need to run yarn seed or yarn seed:all because the default seed runs as part of the first API start.
DROP DATABASE gauzy)CREATE DATABASE gauzy)yarn seed:allso it reseeds all DB with fake demo dataDROP DATABASE gauzy)CREATE DATABASE gauzy)yarn seedoryarn seed:allbecause the default seed runs as part of the first API start.