Skip to content

Convert to abstract schema#758

Open
xaoseric wants to merge 2 commits intomiraheze:mainfrom
Wikivy:postgres-support
Open

Convert to abstract schema#758
xaoseric wants to merge 2 commits intomiraheze:mainfrom
Wikivy:postgres-support

Conversation

@xaoseric
Copy link

This adds schema files for PostgreSQL, and modifies the installer hook to support postgres and mysql. It also adds the new tables.json scheme for generating tables, if sqllite is required, one can easily add sqlite support from the tables-generated file.

Adds JSON schema for database tables and SQL files generated from it.
This supports multiple database engines (MySQL, PostgreSQL, SQLite).
These tables handle settings, permissions, and namespaces, providing a
flexible and extensible data model.
Introduces database type-specific SQL schema files.

This change enhances database compatibility by organizing SQL schema
definitions and updates into separate directories for each supported
database type (e.g., MySQL and PostgreSQL). The installer is updated to
dynamically determine the database type and load the corresponding SQL
files, ensuring proper schema creation and migration for different
database systems.
@coderabbitai
Copy link

coderabbitai bot commented Jan 16, 2026

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Universal-Omega Universal-Omega self-requested a review January 17, 2026 00:14
@Universal-Omega Universal-Omega changed the title Postgres support Convert to abstract schema Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant