|
Lightweight 0.20260303.0
|
Classes and functions for SQL schema migrations. More...
Macros | |
| #define | LIGHTWEIGHT_MIGRATION_PLUGIN() |
| #define | LIGHTWEIGHT_MIGRATION_INSTANCE(timestamp) migration_##timestamp |
| Represents the C++ migration object for a given timestamped migration. | |
| #define | LIGHTWEIGHT_SQL_MIGRATION(timestamp, description) |
| Creates a new migration. | |
Classes and functions for SQL schema migrations.
| #define LIGHTWEIGHT_MIGRATION_PLUGIN | ( | ) |
Requires the user to call LIGHTWEIGHT_MIGRATION_PLUGIN() in exactly one CPP file of the migration plugin.
Definition at line 240 of file SqlMigration.hpp.
| #define LIGHTWEIGHT_MIGRATION_INSTANCE | ( | timestamp | ) | migration_##timestamp |
Represents the C++ migration object for a given timestamped migration.
| timestamp | Timestamp of the migration. |
Definition at line 386 of file SqlMigration.hpp.
| #define LIGHTWEIGHT_SQL_MIGRATION | ( | timestamp, | |
| description | |||
| ) |
Creates a new migration.
| timestamp | Timestamp of the migration. |
| description | Description of the migration. |
Definition at line 406 of file SqlMigration.hpp.