package migra
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A database migration tool for OCaml supporting PostgreSQL, MariaDB, and SQLite
Install
dune-project
Dependency
Authors
Maintainers
Sources
migra-1.0.0.tbz
sha256=08ceb8f21f00227f21209484ef1eb8cc326ed26a280747798ec5b0b7c5fdd678
sha512=70050833623ba7801a0a31b1700f5473903335c8db2cdf4de5bbd1876180ec0a93907444b42f7a39b6af454303e0ee5f4c3543ca51378d6324583a26b93f535c
doc/migra.engine/Migra_engine/Migration/index.html
Module Migra_engine.MigrationSource
Create a migration record from a file path. Returns Error if the filename doesn't match the expected format.
Parse a section from migration file content. Extracts content between a section marker (e.g., "-- +migrate up") and the next section. Section matching is case-insensitive.
Read the up migration SQL from a migration file. Parses the content between -- +migrate up and the next section marker.
Read the down migration SQL from a migration file. Parses the content between -- +migrate down and the next section marker.
MD5 checksum (hex) of the migration file's full contents, for detecting whether a migration was modified after being applied.
Generate migration filename from version and description. Format: YYYYMMDDHHMMSS_description.sql
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>