Add operational schema and identity roles
This commit is contained in:
1 parent
f5af75f305
commit
f181482463
11 files changed
+2068
-284
No files matched your search
@@ -0,0 +1,30 @@
|
||||
WITH expected(table_name) AS (
|
||||
VALUES
|
||||
('roles'),
|
||||
('permissions'),
|
||||
('users'),
|
||||
('miners'),
|
||||
('miner_status_snapshots'),
|
||||
('miner_status_hourly_rollups'),
|
||||
('miner_status_daily_rollups'),
|
||||
('minerops_retention_runs'),
|
||||
('miner_maintenance_events'),
|
||||
('location_positions'),
|
||||
('miner_location_states'),
|
||||
('location_import_issues'),
|
||||
('miner_command_events'),
|
||||
('miner_api_credentials'),
|
||||
('miner_pool_snapshots'),
|
||||
('miner_api3_enrichment_snapshots'),
|
||||
('miner_api3_hashboard_snapshots'),
|
||||
('minerops_site_agents'),
|
||||
('minerops_agent_snapshots'),
|
||||
('minerops_agent_command_results'),
|
||||
('minerops_agent_command_queue'),
|
||||
('minerops_agent_discoveries'),
|
||||
('minerops_scheduled_bulk_actions')
|
||||
)
|
||||
SELECT table_name
|
||||
FROM expected
|
||||
WHERE to_regclass('public.' || table_name) IS NULL
|
||||
ORDER BY table_name;
|
||||
Reference in new issue
Block a user