{
  "formatVersion": 1,
  "database": {
    "version": 3,
    "identityHash": "4463bf96d427775c34813b976d2fd8da",
    "entities": [
      {
        "tableName": "user",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `name` TEXT NOT NULL, `password` TEXT NOT NULL, `second_password_salt` TEXT NOT NULL, `type` TEXT NOT NULL, `timezone` TEXT NOT NULL, `disable_limits_until` INTEGER NOT NULL, `mail` TEXT NOT NULL, `current_device` TEXT NOT NULL, PRIMARY KEY(`id`))",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "name",
            "columnName": "name",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "password",
            "columnName": "password",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "secondPasswordSalt",
            "columnName": "second_password_salt",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "type",
            "columnName": "type",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "timeZone",
            "columnName": "timezone",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "disableLimitsUntil",
            "columnName": "disable_limits_until",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "mail",
            "columnName": "mail",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "currentDevice",
            "columnName": "current_device",
            "affinity": "TEXT",
            "notNull": true
          }
        ],
        "primaryKey": {
          "columnNames": [
            "id"
          ],
          "autoGenerate": false
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "device",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `name` TEXT NOT NULL, `model` TEXT NOT NULL, `added_at` INTEGER NOT NULL, `current_user_id` TEXT NOT NULL, `apps_version` TEXT NOT NULL, `network_time` TEXT NOT NULL, `current_protection_level` TEXT NOT NULL, `highest_permission_level` TEXT NOT NULL, `current_usage_stats_permission` TEXT NOT NULL, `highest_usage_stats_permission` TEXT NOT NULL, `current_notification_access_permission` TEXT NOT NULL, `highest_notification_access_permission` TEXT NOT NULL, `current_app_version` INTEGER NOT NULL, `highest_app_version` INTEGER NOT NULL, `tried_disabling_device_admin` INTEGER NOT NULL, `had_manipulation` INTEGER NOT NULL, `did_report_uninstall` INTEGER NOT NULL, `is_user_kept_signed_in` INTEGER NOT NULL, PRIMARY KEY(`id`))",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "name",
            "columnName": "name",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "model",
            "columnName": "model",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "addedAt",
            "columnName": "added_at",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "currentUserId",
            "columnName": "current_user_id",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "installedAppsVersion",
            "columnName": "apps_version",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "networkTime",
            "columnName": "network_time",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "currentProtectionLevel",
            "columnName": "current_protection_level",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "highestProtectionLevel",
            "columnName": "highest_permission_level",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "currentUsageStatsPermission",
            "columnName": "current_usage_stats_permission",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "highestUsageStatsPermission",
            "columnName": "highest_usage_stats_permission",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "currentNotificationAccessPermission",
            "columnName": "current_notification_access_permission",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "highestNotificationAccessPermission",
            "columnName": "highest_notification_access_permission",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "currentAppVersion",
            "columnName": "current_app_version",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "highestAppVersion",
            "columnName": "highest_app_version",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "manipulationTriedDisablingDeviceAdmin",
            "columnName": "tried_disabling_device_admin",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "hadManipulation",
            "columnName": "had_manipulation",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "didReportUninstall",
            "columnName": "did_report_uninstall",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "isUserKeptSignedIn",
            "columnName": "is_user_kept_signed_in",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "columnNames": [
            "id"
          ],
          "autoGenerate": false
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "app",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`device_id` TEXT NOT NULL, `package_name` TEXT NOT NULL, `title` TEXT NOT NULL, `launchable` INTEGER NOT NULL, `recommendation` TEXT NOT NULL, PRIMARY KEY(`device_id`, `package_name`))",
        "fields": [
          {
            "fieldPath": "deviceId",
            "columnName": "device_id",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "packageName",
            "columnName": "package_name",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "title",
            "columnName": "title",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "isLaunchable",
            "columnName": "launchable",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "recommendation",
            "columnName": "recommendation",
            "affinity": "TEXT",
            "notNull": true
          }
        ],
        "primaryKey": {
          "columnNames": [
            "device_id",
            "package_name"
          ],
          "autoGenerate": false
        },
        "indices": [
          {
            "name": "index_app_device_id",
            "unique": false,
            "columnNames": [
              "device_id"
            ],
            "createSql": "CREATE  INDEX `index_app_device_id` ON `${TABLE_NAME}` (`device_id`)"
          },
          {
            "name": "index_app_package_name",
            "unique": false,
            "columnNames": [
              "package_name"
            ],
            "createSql": "CREATE  INDEX `index_app_package_name` ON `${TABLE_NAME}` (`package_name`)"
          }
        ],
        "foreignKeys": []
      },
      {
        "tableName": "category_app",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`category_id` TEXT NOT NULL, `package_name` TEXT NOT NULL, PRIMARY KEY(`category_id`, `package_name`))",
        "fields": [
          {
            "fieldPath": "categoryId",
            "columnName": "category_id",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "packageName",
            "columnName": "package_name",
            "affinity": "TEXT",
            "notNull": true
          }
        ],
        "primaryKey": {
          "columnNames": [
            "category_id",
            "package_name"
          ],
          "autoGenerate": false
        },
        "indices": [
          {
            "name": "index_category_app_category_id",
            "unique": false,
            "columnNames": [
              "category_id"
            ],
            "createSql": "CREATE  INDEX `index_category_app_category_id` ON `${TABLE_NAME}` (`category_id`)"
          },
          {
            "name": "index_category_app_package_name",
            "unique": false,
            "columnNames": [
              "package_name"
            ],
            "createSql": "CREATE  INDEX `index_category_app_package_name` ON `${TABLE_NAME}` (`package_name`)"
          }
        ],
        "foreignKeys": []
      },
      {
        "tableName": "category",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `child_id` TEXT NOT NULL, `title` TEXT NOT NULL, `blocked_times` TEXT NOT NULL, `extra_time` INTEGER NOT NULL, `temporarily_blocked` INTEGER NOT NULL, `base_version` TEXT NOT NULL, `apps_version` TEXT NOT NULL, `rules_version` TEXT NOT NULL, `usedtimes_version` TEXT NOT NULL, PRIMARY KEY(`id`))",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "childId",
            "columnName": "child_id",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "title",
            "columnName": "title",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "blockedMinutesInWeek",
            "columnName": "blocked_times",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "extraTimeInMillis",
            "columnName": "extra_time",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "temporarilyBlocked",
            "columnName": "temporarily_blocked",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "baseVersion",
            "columnName": "base_version",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "assignedAppsVersion",
            "columnName": "apps_version",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "timeLimitRulesVersion",
            "columnName": "rules_version",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "usedTimesVersion",
            "columnName": "usedtimes_version",
            "affinity": "TEXT",
            "notNull": true
          }
        ],
        "primaryKey": {
          "columnNames": [
            "id"
          ],
          "autoGenerate": false
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "used_time",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`day_of_epoch` INTEGER NOT NULL, `used_time` INTEGER NOT NULL, `category_id` TEXT NOT NULL, PRIMARY KEY(`category_id`, `day_of_epoch`))",
        "fields": [
          {
            "fieldPath": "dayOfEpoch",
            "columnName": "day_of_epoch",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "usedMillis",
            "columnName": "used_time",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "categoryId",
            "columnName": "category_id",
            "affinity": "TEXT",
            "notNull": true
          }
        ],
        "primaryKey": {
          "columnNames": [
            "category_id",
            "day_of_epoch"
          ],
          "autoGenerate": false
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "time_limit_rule",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `category_id` TEXT NOT NULL, `apply_to_extra_time_usage` INTEGER NOT NULL, `day_mask` INTEGER NOT NULL, `max_time` INTEGER NOT NULL, PRIMARY KEY(`id`))",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "categoryId",
            "columnName": "category_id",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "applyToExtraTimeUsage",
            "columnName": "apply_to_extra_time_usage",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "dayMask",
            "columnName": "day_mask",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "maximumTimeInMillis",
            "columnName": "max_time",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "columnNames": [
            "id"
          ],
          "autoGenerate": false
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "config",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `value` TEXT NOT NULL, PRIMARY KEY(`id`))",
        "fields": [
          {
            "fieldPath": "key",
            "columnName": "id",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "value",
            "columnName": "value",
            "affinity": "TEXT",
            "notNull": true
          }
        ],
        "primaryKey": {
          "columnNames": [
            "id"
          ],
          "autoGenerate": false
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "temporarily_allowed_app",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`device_id` TEXT NOT NULL, `package_name` TEXT NOT NULL, PRIMARY KEY(`device_id`, `package_name`))",
        "fields": [
          {
            "fieldPath": "deviceId",
            "columnName": "device_id",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "packageName",
            "columnName": "package_name",
            "affinity": "TEXT",
            "notNull": true
          }
        ],
        "primaryKey": {
          "columnNames": [
            "device_id",
            "package_name"
          ],
          "autoGenerate": false
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "pending_sync_action",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`sequence_number` INTEGER NOT NULL, `action` TEXT NOT NULL, `integrity` TEXT NOT NULL, `scheduled_for_upload` INTEGER NOT NULL, `type` TEXT NOT NULL, `user_id` TEXT NOT NULL, PRIMARY KEY(`sequence_number`))",
        "fields": [
          {
            "fieldPath": "sequenceNumber",
            "columnName": "sequence_number",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "encodedAction",
            "columnName": "action",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "integrity",
            "columnName": "integrity",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "scheduledForUpload",
            "columnName": "scheduled_for_upload",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "type",
            "columnName": "type",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "userId",
            "columnName": "user_id",
            "affinity": "TEXT",
            "notNull": true
          }
        ],
        "primaryKey": {
          "columnNames": [
            "sequence_number"
          ],
          "autoGenerate": false
        },
        "indices": [
          {
            "name": "index_pending_sync_action_scheduled_for_upload",
            "unique": false,
            "columnNames": [
              "scheduled_for_upload"
            ],
            "createSql": "CREATE  INDEX `index_pending_sync_action_scheduled_for_upload` ON `${TABLE_NAME}` (`scheduled_for_upload`)"
          }
        ],
        "foreignKeys": []
      }
    ],
    "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, \"4463bf96d427775c34813b976d2fd8da\")"
    ]
  }
}