Skip to content

Conversation

@rag-nar1
Copy link
Contributor

No description provided.

rag-nar1 and others added 30 commits June 26, 2025 11:10
- Modified Swagger JSON and YAML files to reflect new table schema updates and error response structures.
- Added new endpoint for retrieving table schema by project and table IDs.
- Updated definitions for table updates and removed obsolete column definitions.
- Added new utility definitions for renaming relations.
- Updated Go module dependencies, including upgrading Axiom Go and OpenTelemetry packages.
- Fixed indirect dependencies and ensured compatibility with the latest versions.
feat: enable deployment mode and update table schema documentation in…
- Add complete SQL Editor module
- Implement GET /api/projects/{project_id}/sqlEditor/run-query endpoint
- Add query execution with JSON aggregation for structured results
- Include execution time tracking and column name extraction

The SQL Editor allows authenticated users to execute custom SQL queries
against their project databases with formatted JSON results and metadata.
…ocumentation

- Add ValidateQuery function to prevent dangerous SQL operations
- Allow CRUD operations (SELECT, INSERT, UPDATE, DELETE) while blocking schema modifications
- Protect system tables (PG_DATABASE, PG_CLASS, PG_NAMESPACE, PG_TABLES, PG_ATTRIBUTE, INFORMATION_SCHEMA) from updates
- Block file operations, system commands, and destructive operations (CREATE, DROP, ALTER, TRUNCATE)
- Add comprehensive Swagger/OpenAPI documentation for RunSqlQuery endpoint
GergesHany and others added 29 commits July 11, 2025 05:32
…ng of null values in execution time and query counts.
…nagement storage and actual data values, enhancing clarity and consistency.
…rage, database activity, and usage stats, improving clarity and consistency in representation.
@rag-nar1 rag-nar1 merged commit a0c5594 into main Jul 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants