registry/internal/database/migrations
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Radoslav Dimitrov e39b008b41
Ensure we populate sane defaults for NULL values (#583)
<!-- Provide a brief summary of your changes -->

## Motivation and Context
<!-- Why is this change needed? What problem does it solve? -->
The following PR tries to ensure sane defaults for entries that for one
reason or another have NULL values for some of their properties.

## How Has This Been Tested?
<!-- Have you tested this in a real application? Which scenarios were
tested? -->

## Breaking Changes
<!-- Will users need to update their code or configurations? -->

## Types of changes
<!-- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update

## Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply. -->
- [ ] I have read the [MCP
Documentation](https://modelcontextprotocol.io)
- [ ] My code follows the repository's style guidelines
- [ ] New and existing tests pass locally
- [ ] I have added appropriate error handling
- [ ] I have added or updated documentation as needed

## Additional context
<!-- Add any other context, implementation notes, or design decisions
-->

---------

Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>
2025-09-30 15:47:18 +03:00
..
001_initial_schema.sql Refactor database implementation to use PostgreSQL instead of MongoDB (#289) 2025-08-22 01:40:28 +01:00
002_add_server_extensions.sql Allow for vendor extensions on servers (#298) 2025-08-23 09:59:03 +01:00
003_simplify_to_key_value.sql Implement flattened _meta format for server extensions (#331) 2025-09-01 19:27:23 +01:00
004_update_meta_field_format.sql Fix _meta field format for MCP spec compliance (#367) 2025-09-08 11:40:04 -07:00
005_add_server_id_rename_version_id.sql Introduce serverId, rename id to versionId (#465) 2025-09-21 15:00:09 +03:00
006_migrate_server_json_camelcase.sql add migraiton file to convert snake case to camel case (#522) 2025-09-21 15:26:15 +03:00
007_add_publish_constraints.sql Fix race conditions in concurrent server publishing (#528) 2025-09-22 12:16:05 +01:00
008_separate_official_metadata.sql Ensure we populate sane defaults for NULL values (#583) 2025-09-30 15:47:18 +03:00