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/Database/index.html
Module Migra_engine.DatabaseSource
Replace the password in a connection URL with a fixed ***** mask for safe display (does not reveal the password length).
Connect to database using connection string. Returns a single connection (use for one-off operations or transactions).
Build connection URL for admin database (dialect-aware). Used for creating/dropping databases.
Create database if it doesn't exist (dialect-aware). For SQLite: Database file created on first connection. For PostgreSQL/MariaDB: Uses admin database to execute CREATE DATABASE.
Drop database if it exists (dialect-aware). For SQLite: Deletes the database file. For PostgreSQL/MariaDB: Uses admin database to execute DROP DATABASE.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>