Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/programmatical-ly/doctrine-postgres-schema-extra-bundle
A Symfony bundle to make working with Postgres easier. Removes the annoying schema change in migrations, as well as provide a way to ignore manually created indices from migrations
https://github.com/programmatical-ly/doctrine-postgres-schema-extra-bundle
doctrine migrations postgres symfony
Last synced: 27 days ago
JSON representation
A Symfony bundle to make working with Postgres easier. Removes the annoying schema change in migrations, as well as provide a way to ignore manually created indices from migrations
- Host: GitHub
- URL: https://github.com/programmatical-ly/doctrine-postgres-schema-extra-bundle
- Owner: programmatical-ly
- License: mit
- Created: 2024-11-25T11:58:30.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-18T13:20:52.000Z (about 1 month ago)
- Last Synced: 2024-12-26T19:48:40.313Z (30 days ago)
- Topics: doctrine, migrations, postgres, symfony
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Doctrine Postgres Schema Extra Bundle
A Symfony bundle to make working with Postgres easier. Removes the annoying schema change in migrations,
as well as provide a way to ignore manually created indices from migrations## Installation
```bash
composer require programmatically/doctrine-postgres-schema-extra-bundle
```Add configuration:
```yaml
# config/packages/doctrine.yaml
doctrine:
dbal:
platform_service: 'Programmatically\DoctrinePostgresSchemaExtraBundle\Doctrine\CustomPostgreSQLPlatformService'
schema_manager_factory: 'doctrine.dbal.default_schema_manager_factory'
```To ignore indices (optional), add the following configuration:
```yaml
# config/packages/doctrine_postgres_schema_extra.yaml
doctrine_postgres_schema_extra:
ignored_index:
- name of the index
```## Contributions
Contributions are welcome! Please submit issues and pull requests to the GitHub repository.