-
Notifications
You must be signed in to change notification settings - Fork 564
feat: add AI agents database schema and migration #14862
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
notgiorgi
merged 3 commits into
main
from
05-16-feat_migrate_ai_data_model_to_incorporate_agents
May 21, 2025
Merged
feat: add AI agents database schema and migration #14862
notgiorgi
merged 3 commits into
main
from
05-16-feat_migrate_ai_data_model_to_incorporate_agents
May 21, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This stack of pull requests is managed by Graphite. Learn more about stacking. |
joaoviana
reviewed
May 19, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking great, some thoughts 🙏
packages/backend/src/ee/database/migrations/20250516162927_add_ai_agent_integrations_table.ts
Outdated
Show resolved
Hide resolved
packages/backend/src/ee/database/migrations/20250516162139_add_ai_agents_table.ts
Outdated
Show resolved
Hide resolved
...nd/src/ee/database/migrations/20250516163613_migrate_slack_channel_project_mappings_table.ts
Outdated
Show resolved
Hide resolved
...nd/src/ee/database/migrations/20250516163613_migrate_slack_channel_project_mappings_table.ts
Outdated
Show resolved
Hide resolved
...nd/src/ee/database/migrations/20250516163613_migrate_slack_channel_project_mappings_table.ts
Outdated
Show resolved
Hide resolved
...nd/src/ee/database/migrations/20250516163613_migrate_slack_channel_project_mappings_table.ts
Outdated
Show resolved
Hide resolved
495a45e
to
87903d0
Compare
de806db
to
f0e0730
Compare
87903d0
to
9d36862
Compare
f0e0730
to
05ceafb
Compare
9d36862
to
d30c666
Compare
packages/backend/src/ee/database/migrations/20250516162927_add_ai_agent_integrations_table.ts
Outdated
Show resolved
Hide resolved
05ceafb
to
636203a
Compare
d30c666
to
5419b5f
Compare
5419b5f
to
521e765
Compare
IrakliJani
reviewed
May 20, 2025
packages/backend/src/ee/database/migrations/20250516162139_add_ai_agents_table.ts
Outdated
Show resolved
Hide resolved
IrakliJani
reviewed
May 20, 2025
packages/backend/src/ee/database/migrations/20250516162139_add_ai_agents_table.ts
Outdated
Show resolved
Hide resolved
IrakliJani
reviewed
May 20, 2025
packages/backend/src/ee/database/migrations/20250516162139_add_ai_agents_table.ts
Outdated
Show resolved
Hide resolved
IrakliJani
reviewed
May 20, 2025
packages/backend/src/ee/database/migrations/20250516162927_add_ai_agent_integrations_table.ts
Show resolved
Hide resolved
IrakliJani
reviewed
May 20, 2025
packages/backend/src/ee/database/migrations/20250516162927_add_ai_agent_integrations_table.ts
Show resolved
Hide resolved
IrakliJani
reviewed
May 20, 2025
packages/backend/src/ee/database/migrations/20250516162927_add_ai_agent_integrations_table.ts
Show resolved
Hide resolved
IrakliJani
reviewed
May 20, 2025
packages/backend/src/ee/database/migrations/20250516163327_add_ai_agent_uuid_to_ai_thread.ts
Outdated
Show resolved
Hide resolved
IrakliJani
reviewed
May 20, 2025
...nd/src/ee/database/migrations/20250516163613_migrate_slack_channel_project_mappings_table.ts
Outdated
Show resolved
Hide resolved
521e765
to
b702489
Compare
7eacad3
to
b169683
Compare
IrakliJani
approved these changes
May 21, 2025
IrakliJani
approved these changes
May 21, 2025
ea5e746
to
15e5420
Compare
lightdash-bot
pushed a commit
that referenced
this pull request
May 21, 2025
# [0.1639.0](0.1638.4...0.1639.0) (2025-05-21) ### Features * add AI agents database schema and migration ([#14862](#14862)) ([8441370](8441370))
🎉 This PR is included in version 0.1639.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This was referenced May 21, 2025
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #14847
Description:
Add database schema for AI Agents, migrate old slack-first schema
ai_agent
table to store agent configurations with name, description, and data sourcesai_agent_integration
table to manage integrations (currently supporting Slack)agent_uuid
column to the existingai_thread
tableBefore:

After: