{
  "formatVersion": 1,
  "database": {
    "version": 2,
    "identityHash": "0b6a93342431ae0b1e32a9ac69741dd1",
    "entities": [
      {
        "tableName": "PersonEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pGuid` TEXT NOT NULL, `pGuidHash` INTEGER NOT NULL, `pActive` INTEGER NOT NULL, `pLastModified` INTEGER NOT NULL, `pUsername` TEXT, `pGivenName` TEXT NOT NULL, `pFamilyName` TEXT NOT NULL, `pMiddleName` TEXT, PRIMARY KEY(`pGuidHash`))",
        "fields": [
          {
            "fieldPath": "pGuid",
            "columnName": "pGuid",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "pGuidHash",
            "columnName": "pGuidHash",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "pActive",
            "columnName": "pActive",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "pLastModified",
            "columnName": "pLastModified",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "pUsername",
            "columnName": "pUsername",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "pGivenName",
            "columnName": "pGivenName",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "pFamilyName",
            "columnName": "pFamilyName",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "pMiddleName",
            "columnName": "pMiddleName",
            "affinity": "TEXT"
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "pGuidHash"
          ]
        }
      },
      {
        "tableName": "PersonRoleEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`prUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `prPersonGuidHash` INTEGER NOT NULL, `prIsPrimaryRole` INTEGER NOT NULL, `prRoleType` INTEGER NOT NULL, `prBeginDate` INTEGER, `prEndDate` INTEGER)",
        "fields": [
          {
            "fieldPath": "prUid",
            "columnName": "prUid",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "prPersonGuidHash",
            "columnName": "prPersonGuidHash",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "prIsPrimaryRole",
            "columnName": "prIsPrimaryRole",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "prRoleType",
            "columnName": "prRoleType",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "prBeginDate",
            "columnName": "prBeginDate",
            "affinity": "INTEGER"
          },
          {
            "fieldPath": "prEndDate",
            "columnName": "prEndDate",
            "affinity": "INTEGER"
          }
        ],
        "primaryKey": {
          "autoGenerate": true,
          "columnNames": [
            "prUid"
          ]
        }
      },
      {
        "tableName": "PersonPasswordEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pppGuid` INTEGER NOT NULL, `authAlgorithm` TEXT NOT NULL, `authEncoded` TEXT NOT NULL, `authSalt` TEXT NOT NULL, `authIterations` INTEGER NOT NULL, `authKeyLen` INTEGER NOT NULL, PRIMARY KEY(`pppGuid`))",
        "fields": [
          {
            "fieldPath": "pppGuid",
            "columnName": "pppGuid",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "authAlgorithm",
            "columnName": "authAlgorithm",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "authEncoded",
            "columnName": "authEncoded",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "authSalt",
            "columnName": "authSalt",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "authIterations",
            "columnName": "authIterations",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "authKeyLen",
            "columnName": "authKeyLen",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "pppGuid"
          ]
        }
      },
      {
        "tableName": "AuthTokenEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`atUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `atPGuidHash` INTEGER NOT NULL, `atPGuid` TEXT NOT NULL, `atCode` TEXT, `atToken` TEXT NOT NULL, `atTimeCreated` INTEGER NOT NULL, `atTtl` INTEGER NOT NULL)",
        "fields": [
          {
            "fieldPath": "atUid",
            "columnName": "atUid",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "atPGuidHash",
            "columnName": "atPGuidHash",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "atPGuid",
            "columnName": "atPGuid",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "atCode",
            "columnName": "atCode",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "atToken",
            "columnName": "atToken",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "atTimeCreated",
            "columnName": "atTimeCreated",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "atTtl",
            "columnName": "atTtl",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": true,
          "columnNames": [
            "atUid"
          ]
        }
      },
      {
        "tableName": "OneRosterClassEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`classSourcedId` TEXT NOT NULL, `classStatus` TEXT NOT NULL, `classDateLastModified` INTEGER NOT NULL, `classTitle` TEXT NOT NULL, `classLocation` TEXT, `classMetadata` TEXT, PRIMARY KEY(`classSourcedId`))",
        "fields": [
          {
            "fieldPath": "classSourcedId",
            "columnName": "classSourcedId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "classStatus",
            "columnName": "classStatus",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "classDateLastModified",
            "columnName": "classDateLastModified",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "classTitle",
            "columnName": "classTitle",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "classLocation",
            "columnName": "classLocation",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "classMetadata",
            "columnName": "classMetadata",
            "affinity": "TEXT"
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "classSourcedId"
          ]
        }
      },
      {
        "tableName": "ReportEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`reportId` TEXT NOT NULL, `ownerGuid` TEXT NOT NULL, `title` TEXT NOT NULL, `reportOptions` TEXT NOT NULL, `reportIsTemplate` INTEGER NOT NULL, `active` INTEGER NOT NULL, PRIMARY KEY(`reportId`))",
        "fields": [
          {
            "fieldPath": "reportId",
            "columnName": "reportId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "ownerGuid",
            "columnName": "ownerGuid",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "title",
            "columnName": "title",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "reportOptions",
            "columnName": "reportOptions",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "reportIsTemplate",
            "columnName": "reportIsTemplate",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "active",
            "columnName": "active",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "reportId"
          ]
        }
      }
    ],
    "setupQueries": [
      "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
      "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '0b6a93342431ae0b1e32a9ac69741dd1')"
    ]
  }
}