139 lines
5.3 KiB
JSON
139 lines
5.3 KiB
JSON
{
|
|
"1": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_oauth_authorize_prompts",
|
|
"columns": {
|
|
"session_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "The session ID",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 128,
|
|
"name": "session_id",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"client_id": {
|
|
"name": "client_id",
|
|
"type": "CHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": null,
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The client ID",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"response_type": {
|
|
"name": "response_type",
|
|
"type": "ENUM",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": [
|
|
"code",
|
|
"token"
|
|
],
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "The response type",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"redirect_uri": {
|
|
"name": "redirect_uri",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": null,
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The provided redirect URI",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"scope": {
|
|
"name": "scope",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": null,
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "space-delimited scope",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"state": {
|
|
"name": "state",
|
|
"type": "TEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": null,
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"timestamp": {
|
|
"name": "timestamp",
|
|
"type": "INT",
|
|
"length": 10,
|
|
"decimals": null,
|
|
"values": null,
|
|
"allow_null": false,
|
|
"default": null,
|
|
"comment": "Unix timestamp of when this prompt was initially shown",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
},
|
|
"logged_in": {
|
|
"name": "logged_in",
|
|
"type": "TINYINT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": null,
|
|
"allow_null": false,
|
|
"default": "0",
|
|
"comment": "Has the user logged in yet (for prompts that require it)?",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"length": [
|
|
null
|
|
],
|
|
"columns": [
|
|
"session_id"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |