Skip to content

OWN DevKit 0.17.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 14:49
· 12 commits to main since this release

Publish with PostgreSQL.

  • A PostgreSQL project gets a PostgreSQL database on the server. Making a project's site from the Publish tab gives it a database on the same engine it uses here: PostgreSQL for a Rails, Laravel or other app on the kit's PostgreSQL (Project OWN v0.24.0 or newer makes them), MariaDB as before. A Rails, Django or Node.js app gets DATABASE_URL as postgresql://...@127.0.0.1:5432/...; a Laravel app's .env gets DB_CONNECTION=pgsql and port 5432. An older server says to update rather than make the site without its database. The plan names the engine.
  • Pull and push a PostgreSQL database. Database sync works for PostgreSQL projects: Pull brings the site's database here (this project's saved first), Push sends this one there (the server keeps its own first). The dump goes as plain SQL without owners, grants or statistics, so it loads into the server's older PostgreSQL and belongs to the site's own database user there. A project and a site on different engines are told so, not synced.