Skip to content

Commit

Permalink
[dc] Remove vestigial column is AzIC
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-afedorov committed Aug 4, 2020
1 parent e6fb4e1 commit 5ccc0f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 7 additions & 0 deletions migrations/v1_9_5-v1_9_6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Update Azure Inventory and Configuration Connections

To update a default connection to v1.9.6, execute the following SQL:

~~~
ALTER TABLE azure_collect_sql_servers_auditing_settings DROP COLUMN subscription_id;
~~~
2 changes: 0 additions & 2 deletions src/connectors/azure_collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,6 @@ def access_token_cache(cloud, client_id, tenant, secret, resource, _creds={}):
'sql_servers_auditing_settings': [
('recorded_at', 'TIMESTAMP_LTZ'),
('tenant_id', 'VARCHAR(50)'),
('subscription_id', 'VARCHAR(50)'),
('server_full_id', 'VARCHAR(5000)'),
('error', 'VARIANT'),
('id', 'STRING'),
Expand Down Expand Up @@ -1779,7 +1778,6 @@ def connect(connection_name, options):
'response': {
'headerDate': 'recorded_at',
'tenantId': 'tenant_id',
'subscriptionId': 'subscription_id',
'serverFullId': 'server_full_id',
'error': 'error',
'id': 'id',
Expand Down

0 comments on commit 5ccc0f4

Please sign in to comment.