mirror of https://github.com/MISP/MISP
chg: [dbschema] Pretty print db_schema and removed Object.comment and
ShadowAttr.comment from the index listpull/5540/head
parent
f88743cb7a
commit
0b1c71e1d9
|
@ -528,7 +528,7 @@ class AdminShell extends AppShell
|
|||
'db_version' => $dbVersion
|
||||
);
|
||||
$file = new File(ROOT . DS . 'db_schema.json', true);
|
||||
$file->write(json_encode($data));
|
||||
$file->write(json_encode($data, JSON_PRETTY_PRINT));
|
||||
$file->close();
|
||||
echo __("> Database schema dumped on disk") . PHP_EOL;
|
||||
} else {
|
||||
|
|
|
@ -5346,8 +5346,8 @@
|
|||
"attribute_tags": [
|
||||
"id",
|
||||
"attribute_id",
|
||||
"tag_id",
|
||||
"event_id"
|
||||
"event_id",
|
||||
"tag_id"
|
||||
],
|
||||
"attributes": [
|
||||
"id",
|
||||
|
@ -5535,8 +5535,7 @@
|
|||
"distribution",
|
||||
"sharing_group_id",
|
||||
"first_seen",
|
||||
"last_seen",
|
||||
"comment"
|
||||
"last_seen"
|
||||
],
|
||||
"org_blacklists": [
|
||||
"id"
|
||||
|
@ -5591,8 +5590,7 @@
|
|||
"type",
|
||||
"category",
|
||||
"first_seen",
|
||||
"last_seen",
|
||||
"comment"
|
||||
"last_seen"
|
||||
],
|
||||
"sharing_group_orgs": [
|
||||
"id",
|
||||
|
|
Loading…
Reference in New Issue