Class DatabaseSchema

java.lang.Object
org.photonvision.common.configuration.DatabaseSchema

public final class DatabaseSchema extends Object
Add migrations by adding the SQL commands for each migration sequentially to this array. DO NOT edit or delete existing SQL commands. That will lead to producing an icompatible database.

You can use multiple SQL statements in one migration step as long as you separate them with a semicolon (;).

  • Field Details

    • migrations

      public static final String[] migrations
  • Constructor Details

    • DatabaseSchema

      public DatabaseSchema()