Skip to content

chore: rename startup logs to agent logs #8649

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Jul 28, 2023
Merged
Prev Previous commit
Next Next commit
Fix down migration
  • Loading branch information
kylecarbs committed Jul 21, 2023
commit 4e763cedc740e18357b6fdafaa6171f2eef182b4
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
BEGIN;
DROP TYPE workspace_agent_log_source;
ALTER TABLE workspace_agent_logs RENAME TO workspace_agent_startup_logs;
ALTER TABLE workspace_agent_startup_logs DROP COLUMN source;
ALTER TABLE workspace_agents RENAME COLUMN logs_overflowed TO startup_logs_overflowed;
ALTER TABLE workspace_agents RENAME COLUMN logs_length TO startup_logs_length;
ALTER TABLE workspace_agents RENAME CONSTRAINT max_logs_length TO max_startup_logs_length;
COMMIT;