Skip to content
Snippets Groups Projects
Commit 2373edde authored by Steve Wirt's avatar Steve Wirt
Browse files

Merge branch '3535358-db-report-table' into '1.0.x'

#3535358 Fix lack of table key

See merge request !40
parents cef6e5d8 e10db5d0
No related branches found
No related tags found
No related merge requests found
Pipeline #544660 passed
......@@ -15,6 +15,12 @@ function alt_text_validation_schema() {
$schema[AtvCommonTools::AUDIT_TABLE_NAME] = [
'description' => 'Audit results for alt_text_validation.',
'fields' => [
'key' => [
'description' => 'Unique ID for the row.',
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE,
],
'filename' => [
'description' => 'The file name including extension.',
'not null' => TRUE,
......@@ -72,6 +78,7 @@ function alt_text_validation_schema() {
'size' => 'medium',
],
],
'primary key' => ['key'],
];
return $schema;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment