mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 04:22:28 +02:00
- Add flyway-database-postgresql dependency - Create DatabaseUdfProvider abstraction with SQLite/PostgreSQL implementations - Update all DAO classes to use JooqUdfHelper for database-agnostic UDF/collation - Implement dynamic JOOQ dialect configuration based on database type - Add PostgreSQL migration directory with initial migration - Create Docker Compose setup for PostgreSQL 16 - Add integration test with Testcontainers PostgreSQL - Create helper scripts for local testing - Update application.yml for simplified testing - Add documentation and task tracking
7 lines
No EOL
347 B
SQL
7 lines
No EOL
347 B
SQL
-- PostgreSQL initialization script for Komga
|
|
-- Creates necessary extensions and sets up database
|
|
|
|
-- Enable required extensions
|
|
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
|
CREATE EXTENSION IF NOT EXISTS "pg_trgm"; -- For text search/pattern matching
|
|
CREATE EXTENSION IF NOT EXISTS "unaccent"; -- For accent removal (similar to UDF_STRIP_ACCENTS) |