After each deploy postgres data and structure is cleared and I lose my data. I read a lot of topics here but nothing.
│ Time │ Fri Jul 26 2024 11:05:29 GMT+0000 (Coordinated … │
│ Launched in │ 1605 ms │
│ Environment │ production │
│ Process PID │ 57 │
│ Version │ 4.23.1 (node v20.12.2) │
│ Edition │ Community │
│ Database │ postgres
env/production/database.js:
module.exports = ({ env }) => ({
connection: {
connection: {
connectionString: env('DATABASE_URL')
}
}
});
and database_url is set in env and starts with postgres:…
using Strapi on railway.
System Information
- Strapi Version: v4.23.1
- Database: Postgres