Skip to content
Snippets Groups Projects
Commit 4d8951cc authored by Allen Gilliland's avatar Allen Gilliland
Browse files

add permissionsviolation table

parent f962b384
Branches
Tags
No related merge requests found
......@@ -232,6 +232,68 @@
}
},
{
"createTable": {
"tableName": "core_permissionsviolation",
"columns": [
{
"column": {
"name": "id",
"type": "int",
"autoIncrement": true,
"constraints": {
"primaryKey": true,
"nullable": false
}
}
},
{
"column": {
"name": "url",
"type": "varchar(254)",
"constraints": {
"nullable": false
}
}
},
{
"column": {
"name": "timestamp",
"type": "DATETIME",
"constraints": {"nullable": false}
}
},
{
"column": {
"name": "user_id",
"type": "int",
"constraints": {
"nullable": false,
"references": "core_user(id)",
"foreignKeyName": "fk_permissionviolation_ref_user_id",
"deferrable": false,
"initiallyDeferred": false
}
}
}
]
}
},
{
"createIndex": {
"tableName": "core_permissionsviolation",
"indexName": "idx_permissionsviolation_user_id",
"columns": [
{
"column": {
"name": "user_id",
"type": "int"
}
}
]
}
},
{
"createTable": {
"tableName": "metabase_database",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment