@@ 92-100 (lines=9) @@ | ||
89 | ->setHeaders(['name', 'oid ', 'relations', 'owner', 'comment']) |
|
90 | ; |
|
91 | ||
92 | foreach ($iterator as $schema_info) { |
|
93 | $table->addRow([ |
|
94 | sprintf("<fg=yellow>%s</fg=yellow>", $schema_info['name']), |
|
95 | $schema_info['oid'], |
|
96 | $schema_info['relations'], |
|
97 | $schema_info['owner'], |
|
98 | wordwrap($schema_info['comment']) |
|
99 | ]); |
|
100 | } |
|
101 | ||
102 | $table->render(); |
|
103 | } |
@@ 100-109 (lines=10) @@ | ||
97 | ->setHeaders(['name', 'type', 'oid ', 'owner', 'size', 'comment']) |
|
98 | ; |
|
99 | ||
100 | foreach ($info as $table_info) { |
|
101 | $table->addRow([ |
|
102 | sprintf("<fg=yellow>%s</fg=yellow>", $table_info['name']), |
|
103 | $table_info['type'], |
|
104 | $table_info['oid'], |
|
105 | $table_info['owner'], |
|
106 | $table_info['size'], |
|
107 | wordwrap($table_info['comment']) |
|
108 | ]); |
|
109 | } |
|
110 | ||
111 | $table->render(); |
|
112 | } |