cityrp.migrations

CityRP Migrations Library

Functions

cityrp.migrations.init()

Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

View source »

Initilise the migrations table, and run any pending migrations.

cityrp.migrations.read()

Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

View source »

Read any pre-existing migrations into memory, then upgrade the schema.

cityrp.migrations.register(migration)

View source »

Register a new migration.

Parameters

  • migration tab

    Migration Table.

cityrp.migrations.run()

Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

View source »

Run the next migration in queue. Needs to be preped by migrations.up

See Also

cityrp.migrations.up()

Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

View source »

Run schema upgrades.