{
  "actions": [
    {
      "type": "createTable",
      "createTable": {
        "name": "quote",
        "dartName": "Quote",
        "module": "wien_talks",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('quote_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "userId",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "text",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "authorName",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "lat",
            "columnType": 3,
            "isNullable": false,
            "dartType": "double"
          },
          {
            "name": "long",
            "columnType": 3,
            "isNullable": false,
            "dartType": "double"
          },
          {
            "name": "createdAt",
            "columnType": 4,
            "isNullable": false,
            "dartType": "DateTime"
          },
          {
            "name": "visibility",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "upvotes",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "downvotes",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "tags",
            "columnType": 8,
            "isNullable": true,
            "dartType": "List<String>?"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "quote_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "vote",
        "dartName": "Vote",
        "module": "wien_talks",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('vote_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "userId",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "createdAt",
            "columnType": 4,
            "isNullable": false,
            "dartType": "DateTime"
          },
          {
            "name": "quote",
            "columnType": 8,
            "isNullable": false,
            "dartType": "protocol:Quote"
          },
          {
            "name": "upvote",
            "columnType": 1,
            "isNullable": false,
            "dartType": "bool"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "vote_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_cloud_storage",
        "dartName": "CloudStorageEntry",
        "module": "serverpod",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_cloud_storage_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "storageId",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "path",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "addedTime",
            "columnType": 4,
            "isNullable": false,
            "dartType": "DateTime"
          },
          {
            "name": "expiration",
            "columnType": 4,
            "isNullable": true,
            "dartType": "DateTime?"
          },
          {
            "name": "byteData",
            "columnType": 5,
            "isNullable": false,
            "dartType": "dart:typed_data:ByteData"
          },
          {
            "name": "verified",
            "columnType": 1,
            "isNullable": false,
            "dartType": "bool"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_cloud_storage_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_cloud_storage_path_idx",
            "elements": [
              {
                "type": 0,
                "definition": "storageId"
              },
              {
                "type": 0,
                "definition": "path"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": false
          },
          {
            "indexName": "serverpod_cloud_storage_expiration",
            "elements": [
              {
                "type": 0,
                "definition": "expiration"
              }
            ],
            "type": "btree",
            "isUnique": false,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_cloud_storage_direct_upload",
        "dartName": "CloudStorageDirectUploadEntry",
        "module": "serverpod",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_cloud_storage_direct_upload_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "storageId",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "path",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "expiration",
            "columnType": 4,
            "isNullable": false,
            "dartType": "DateTime"
          },
          {
            "name": "authKey",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_cloud_storage_direct_upload_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_cloud_storage_direct_upload_storage_path",
            "elements": [
              {
                "type": 0,
                "definition": "storageId"
              },
              {
                "type": 0,
                "definition": "path"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_future_call",
        "dartName": "FutureCallEntry",
        "module": "serverpod",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_future_call_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "name",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "time",
            "columnType": 4,
            "isNullable": false,
            "dartType": "DateTime"
          },
          {
            "name": "serializedObject",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "serverId",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "identifier",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_future_call_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_future_call_time_idx",
            "elements": [
              {
                "type": 0,
                "definition": "time"
              }
            ],
            "type": "btree",
            "isUnique": false,
            "isPrimary": false
          },
          {
            "indexName": "serverpod_future_call_serverId_idx",
            "elements": [
              {
                "type": 0,
                "definition": "serverId"
              }
            ],
            "type": "btree",
            "isUnique": false,
            "isPrimary": false
          },
          {
            "indexName": "serverpod_future_call_identifier_idx",
            "elements": [
              {
                "type": 0,
                "definition": "identifier"
              }
            ],
            "type": "btree",
            "isUnique": false,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_health_connection_info",
        "dartName": "ServerHealthConnectionInfo",
        "module": "serverpod",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_health_connection_info_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "serverId",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "timestamp",
            "columnType": 4,
            "isNullable": false,
            "dartType": "DateTime"
          },
          {
            "name": "active",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "closing",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "idle",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "granularity",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_health_connection_info_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_health_connection_info_timestamp_idx",
            "elements": [
              {
                "type": 0,
                "definition": "timestamp"
              },
              {
                "type": 0,
                "definition": "serverId"
              },
              {
                "type": 0,
                "definition": "granularity"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_health_metric",
        "dartName": "ServerHealthMetric",
        "module": "serverpod",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_health_metric_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "name",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "serverId",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "timestamp",
            "columnType": 4,
            "isNullable": false,
            "dartType": "DateTime"
          },
          {
            "name": "isHealthy",
            "columnType": 1,
            "isNullable": false,
            "dartType": "bool"
          },
          {
            "name": "value",
            "columnType": 3,
            "isNullable": false,
            "dartType": "double"
          },
          {
            "name": "granularity",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_health_metric_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_health_metric_timestamp_idx",
            "elements": [
              {
                "type": 0,
                "definition": "timestamp"
              },
              {
                "type": 0,
                "definition": "serverId"
              },
              {
                "type": 0,
                "definition": "name"
              },
              {
                "type": 0,
                "definition": "granularity"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_log",
        "dartName": "LogEntry",
        "module": "serverpod",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_log_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "sessionLogId",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "messageId",
            "columnType": 6,
            "isNullable": true,
            "dartType": "int?"
          },
          {
            "name": "reference",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "serverId",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "time",
            "columnType": 4,
            "isNullable": false,
            "dartType": "DateTime"
          },
          {
            "name": "logLevel",
            "columnType": 6,
            "isNullable": false,
            "dartType": "protocol:LogLevel"
          },
          {
            "name": "message",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "error",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "stackTrace",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "order",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          }
        ],
        "foreignKeys": [
          {
            "constraintName": "serverpod_log_fk_0",
            "columns": [
              "sessionLogId"
            ],
            "referenceTable": "serverpod_session_log",
            "referenceTableSchema": "public",
            "referenceColumns": [
              "id"
            ],
            "onUpdate": 3,
            "onDelete": 4
          }
        ],
        "indexes": [
          {
            "indexName": "serverpod_log_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_log_sessionLogId_idx",
            "elements": [
              {
                "type": 0,
                "definition": "sessionLogId"
              }
            ],
            "type": "btree",
            "isUnique": false,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_message_log",
        "dartName": "MessageLogEntry",
        "module": "serverpod",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_message_log_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "sessionLogId",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "serverId",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "messageId",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "endpoint",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "messageName",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "duration",
            "columnType": 3,
            "isNullable": false,
            "dartType": "double"
          },
          {
            "name": "error",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "stackTrace",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "slow",
            "columnType": 1,
            "isNullable": false,
            "dartType": "bool"
          },
          {
            "name": "order",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          }
        ],
        "foreignKeys": [
          {
            "constraintName": "serverpod_message_log_fk_0",
            "columns": [
              "sessionLogId"
            ],
            "referenceTable": "serverpod_session_log",
            "referenceTableSchema": "public",
            "referenceColumns": [
              "id"
            ],
            "onUpdate": 3,
            "onDelete": 4
          }
        ],
        "indexes": [
          {
            "indexName": "serverpod_message_log_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_method",
        "dartName": "MethodInfo",
        "module": "serverpod",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_method_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "endpoint",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "method",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_method_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_method_endpoint_method_idx",
            "elements": [
              {
                "type": 0,
                "definition": "endpoint"
              },
              {
                "type": 0,
                "definition": "method"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_migrations",
        "dartName": "DatabaseMigrationVersion",
        "module": "serverpod",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_migrations_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "module",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "version",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "timestamp",
            "columnType": 4,
            "isNullable": true,
            "dartType": "DateTime?"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_migrations_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_migrations_ids",
            "elements": [
              {
                "type": 0,
                "definition": "module"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_query_log",
        "dartName": "QueryLogEntry",
        "module": "serverpod",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_query_log_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "serverId",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "sessionLogId",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "messageId",
            "columnType": 6,
            "isNullable": true,
            "dartType": "int?"
          },
          {
            "name": "query",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "duration",
            "columnType": 3,
            "isNullable": false,
            "dartType": "double"
          },
          {
            "name": "numRows",
            "columnType": 6,
            "isNullable": true,
            "dartType": "int?"
          },
          {
            "name": "error",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "stackTrace",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "slow",
            "columnType": 1,
            "isNullable": false,
            "dartType": "bool"
          },
          {
            "name": "order",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          }
        ],
        "foreignKeys": [
          {
            "constraintName": "serverpod_query_log_fk_0",
            "columns": [
              "sessionLogId"
            ],
            "referenceTable": "serverpod_session_log",
            "referenceTableSchema": "public",
            "referenceColumns": [
              "id"
            ],
            "onUpdate": 3,
            "onDelete": 4
          }
        ],
        "indexes": [
          {
            "indexName": "serverpod_query_log_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_query_log_sessionLogId_idx",
            "elements": [
              {
                "type": 0,
                "definition": "sessionLogId"
              }
            ],
            "type": "btree",
            "isUnique": false,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_readwrite_test",
        "dartName": "ReadWriteTestEntry",
        "module": "serverpod",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_readwrite_test_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "number",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_readwrite_test_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_runtime_settings",
        "dartName": "RuntimeSettings",
        "module": "serverpod",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_runtime_settings_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "logSettings",
            "columnType": 8,
            "isNullable": false,
            "dartType": "protocol:LogSettings"
          },
          {
            "name": "logSettingsOverrides",
            "columnType": 8,
            "isNullable": false,
            "dartType": "List<protocol:LogSettingsOverride>"
          },
          {
            "name": "logServiceCalls",
            "columnType": 1,
            "isNullable": false,
            "dartType": "bool"
          },
          {
            "name": "logMalformedCalls",
            "columnType": 1,
            "isNullable": false,
            "dartType": "bool"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_runtime_settings_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_session_log",
        "dartName": "SessionLogEntry",
        "module": "serverpod",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_session_log_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "serverId",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "time",
            "columnType": 4,
            "isNullable": false,
            "dartType": "DateTime"
          },
          {
            "name": "module",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "endpoint",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "method",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "duration",
            "columnType": 3,
            "isNullable": true,
            "dartType": "double?"
          },
          {
            "name": "numQueries",
            "columnType": 6,
            "isNullable": true,
            "dartType": "int?"
          },
          {
            "name": "slow",
            "columnType": 1,
            "isNullable": true,
            "dartType": "bool?"
          },
          {
            "name": "error",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "stackTrace",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "authenticatedUserId",
            "columnType": 6,
            "isNullable": true,
            "dartType": "int?"
          },
          {
            "name": "isOpen",
            "columnType": 1,
            "isNullable": true,
            "dartType": "bool?"
          },
          {
            "name": "touched",
            "columnType": 4,
            "isNullable": false,
            "dartType": "DateTime"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_session_log_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_session_log_serverid_idx",
            "elements": [
              {
                "type": 0,
                "definition": "serverId"
              }
            ],
            "type": "btree",
            "isUnique": false,
            "isPrimary": false
          },
          {
            "indexName": "serverpod_session_log_touched_idx",
            "elements": [
              {
                "type": 0,
                "definition": "touched"
              }
            ],
            "type": "btree",
            "isUnique": false,
            "isPrimary": false
          },
          {
            "indexName": "serverpod_session_log_isopen_idx",
            "elements": [
              {
                "type": 0,
                "definition": "isOpen"
              }
            ],
            "type": "btree",
            "isUnique": false,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_auth_key",
        "dartName": "AuthKey",
        "module": "serverpod_auth",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_auth_key_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "userId",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "hash",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "scopeNames",
            "columnType": 8,
            "isNullable": false,
            "dartType": "List<String>"
          },
          {
            "name": "method",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_auth_key_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_auth_key_userId_idx",
            "elements": [
              {
                "type": 0,
                "definition": "userId"
              }
            ],
            "type": "btree",
            "isUnique": false,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_email_auth",
        "dartName": "EmailAuth",
        "module": "serverpod_auth",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_email_auth_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "userId",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "email",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "hash",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_email_auth_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_email_auth_email",
            "elements": [
              {
                "type": 0,
                "definition": "email"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_email_create_request",
        "dartName": "EmailCreateAccountRequest",
        "module": "serverpod_auth",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_email_create_request_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "userName",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "email",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "hash",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "verificationCode",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_email_create_request_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_email_auth_create_account_request_idx",
            "elements": [
              {
                "type": 0,
                "definition": "email"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_email_failed_sign_in",
        "dartName": "EmailFailedSignIn",
        "module": "serverpod_auth",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_email_failed_sign_in_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "email",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "time",
            "columnType": 4,
            "isNullable": false,
            "dartType": "DateTime"
          },
          {
            "name": "ipAddress",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_email_failed_sign_in_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_email_failed_sign_in_email_idx",
            "elements": [
              {
                "type": 0,
                "definition": "email"
              }
            ],
            "type": "btree",
            "isUnique": false,
            "isPrimary": false
          },
          {
            "indexName": "serverpod_email_failed_sign_in_time_idx",
            "elements": [
              {
                "type": 0,
                "definition": "time"
              }
            ],
            "type": "btree",
            "isUnique": false,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_email_reset",
        "dartName": "EmailReset",
        "module": "serverpod_auth",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_email_reset_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "userId",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "verificationCode",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "expiration",
            "columnType": 4,
            "isNullable": false,
            "dartType": "DateTime"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_email_reset_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_email_reset_verification_idx",
            "elements": [
              {
                "type": 0,
                "definition": "verificationCode"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_google_refresh_token",
        "dartName": "GoogleRefreshToken",
        "module": "serverpod_auth",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_google_refresh_token_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "userId",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "refreshToken",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_google_refresh_token_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_google_refresh_token_userId_idx",
            "elements": [
              {
                "type": 0,
                "definition": "userId"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_user_image",
        "dartName": "UserImage",
        "module": "serverpod_auth",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_user_image_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "userId",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "version",
            "columnType": 6,
            "isNullable": false,
            "dartType": "int"
          },
          {
            "name": "url",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_user_image_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_user_image_user_id",
            "elements": [
              {
                "type": 0,
                "definition": "userId"
              },
              {
                "type": 0,
                "definition": "version"
              }
            ],
            "type": "btree",
            "isUnique": false,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    },
    {
      "type": "createTable",
      "createTable": {
        "name": "serverpod_user_info",
        "dartName": "UserInfo",
        "module": "serverpod_auth",
        "schema": "public",
        "columns": [
          {
            "name": "id",
            "columnType": 6,
            "isNullable": false,
            "columnDefault": "nextval('serverpod_user_info_id_seq'::regclass)",
            "dartType": "int?"
          },
          {
            "name": "userIdentifier",
            "columnType": 0,
            "isNullable": false,
            "dartType": "String"
          },
          {
            "name": "userName",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "fullName",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "email",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "created",
            "columnType": 4,
            "isNullable": false,
            "dartType": "DateTime"
          },
          {
            "name": "imageUrl",
            "columnType": 0,
            "isNullable": true,
            "dartType": "String?"
          },
          {
            "name": "scopeNames",
            "columnType": 8,
            "isNullable": false,
            "dartType": "List<String>"
          },
          {
            "name": "blocked",
            "columnType": 1,
            "isNullable": false,
            "dartType": "bool"
          }
        ],
        "foreignKeys": [],
        "indexes": [
          {
            "indexName": "serverpod_user_info_pkey",
            "elements": [
              {
                "type": 0,
                "definition": "id"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": true
          },
          {
            "indexName": "serverpod_user_info_user_identifier",
            "elements": [
              {
                "type": 0,
                "definition": "userIdentifier"
              }
            ],
            "type": "btree",
            "isUnique": true,
            "isPrimary": false
          },
          {
            "indexName": "serverpod_user_info_email",
            "elements": [
              {
                "type": 0,
                "definition": "email"
              }
            ],
            "type": "btree",
            "isUnique": false,
            "isPrimary": false
          }
        ],
        "managed": true
      }
    }
  ],
  "warnings": [],
  "migrationApiVersion": 1
}