casdoor-app/drizzle/meta/0000_snapshot.json

103 lines
2.5 KiB
JSON

{
"version": "6",
"dialect": "sqlite",
"id": "aaa7b5e3-521e-4c3a-970c-35372e7f05a3",
"prevId": "00000000-0000-0000-0000-000000000000",
"tables": {
"accounts": {
"name": "accounts",
"columns": {
"id": {
"name": "id",
"type": "integer",
"primaryKey": true,
"notNull": true,
"autoincrement": true
},
"account_name": {
"name": "account_name",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"old_account_name": {
"name": "old_account_name",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false,
"default": "'null'"
},
"secret": {
"name": "secret",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"issuer": {
"name": "issuer",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false,
"default": "'null'"
},
"token": {
"name": "token",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false
},
"deleted_at": {
"name": "deleted_at",
"type": "integer",
"primaryKey": false,
"notNull": false,
"autoincrement": false,
"default": "'null'"
},
"changed_at": {
"name": "changed_at",
"type": "integer",
"primaryKey": false,
"notNull": false,
"autoincrement": false,
"default": "(CURRENT_TIMESTAMP)"
},
"sync_at": {
"name": "sync_at",
"type": "integer",
"primaryKey": false,
"notNull": false,
"autoincrement": false,
"default": "'null'"
}
},
"indexes": {
"accounts_account_name_issuer_unique": {
"name": "accounts_account_name_issuer_unique",
"columns": [
"account_name",
"issuer"
],
"isUnique": true
}
},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
}
},
"enums": {},
"_meta": {
"schemas": {},
"tables": {},
"columns": {}
},
"internal": {
"indexes": {}
}
}