write_migration: Write a migration structure in a text file.

View source: R/write_migration.R

write_migrationR Documentation

Write a migration structure in a text file.

Description

Write a migration structure in a text file. If file exists, just print a warning and erase file.

Usage

write_migration(migr, file_name)

Arguments

migr

A migration structure.

file_name

A file name.

Value

No returned value.

Examples

migr <- generate_toy_migration()
write_migration( migr, "toy_migration.txt" )
unlink("toy_migration.txt") # delete the file to pass package check

FlywayNet documentation built on March 18, 2022, 7:21 p.m.