|
Player12
An open source football management simulator
|
#include <migrations.h>
Public Attributes | |
| int | number = 0 |
| std::string_view | name |
| std::span< const ColumnSpec > | columns |
| void(* | apply )(const MigrationContext &) = nullptr |
| void(* Migrations::Migration::apply) (const MigrationContext &) = nullptr |
Optional data step, run after the columns; must be idempotent.
| std::span<const ColumnSpec> Migrations::Migration::columns |
Added only to tables that exist and lack them (explicit checks).
| std::string_view Migrations::Migration::name |
| int Migrations::Migration::number = 0 |