Class Bindings.D1Spec

java.lang.Object
dev.gmitch215.bytebox.gradle.Bindings.D1Spec
Enclosing class:
Bindings

public static class Bindings.D1Spec extends Object
Identifiers a D1 database can carry.
  • Constructor Details

    • D1Spec

      public D1Spec()
  • Method Details

    • getDatabaseName

      public String getDatabaseName()
      Returns the database's own name.
      Returns:
      the database's own name
    • setDatabaseName

      public void setDatabaseName(String databaseName)
      Parameters:
      databaseName - the database's own name
    • getDatabaseId

      public String getDatabaseId()
      Returns the database id.
      Returns:
      the database id
    • setDatabaseId

      public void setDatabaseId(String databaseId)
      Parameters:
      databaseId - the database id
    • getMigrationsDir

      public String getMigrationsDir()
      Returns where the migrations live.
      Returns:
      where the migrations live
    • setMigrationsDir

      public void setMigrationsDir(String migrationsDir)
      Parameters:
      migrationsDir - where the migrations live