package migra
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A database migration tool and library for OCaml supporting PostgreSQL, MariaDB/MySQL, and SQLite
Install
dune-project
Dependency
Authors
Maintainers
Sources
migra-1.0.1.tbz
sha256=daaaab416e580e5b8dc9f0a74482e142cef6d77b248d995d320f6f882d3a9e35
sha512=8f60494b9ee6ac2e7e69a16eefce69d1e8c22e831fe28f600a42200e3086e2f4d15331323ad1848f7165e1c8ff30fe320445185b7e988325588293a66937966a
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)"
>