diff --git a/src/routes/blog/post/announcing-database-ai-suggestions/+page.markdoc b/src/routes/blog/post/announcing-database-ai-suggestions/+page.markdoc new file mode 100644 index 0000000000..046d4c1a1f --- /dev/null +++ b/src/routes/blog/post/announcing-database-ai-suggestions/+page.markdoc @@ -0,0 +1,55 @@ +--- +layout: post +title: "Announcing Database AI suggestions: From table name to schema in one click" +description: We’re introducing new AI features into Appwrite Databases that generate complete schemas and indexes from just a table name. +date: 2025-10-01 +cover: /images/blog/announcing-database-ai-suggestions/cover.png +timeToRead: 5 +author: darshan-pandya +category: announcement +featured: false +--- +In many development workflows, setting up a database schema is one of the first and often one of the slowest steps. Starting with a blank schema, juggling naming conventions, remembering which fields need indexes, or ensuring every collection follows best practices can quickly become a chore. + +Whether spinning up a new project, designing an operational table for a feature, or standardizing schemas across multiple services, the setup should be fast, consistent, and reliable. + +That’s why we’re introducing **Database AI suggestions.** A simple but powerful way to generate sensible columns and indexes the moment you create a new table. By analyzing the table name, sibling tables, and any extra context you provide, Appwrite suggests a complete schema that you can tweak and apply in seconds. No more blank slates, no more forgotten indexes, and no more inconsistent naming. + +# Design schemas in seconds, not hours + +When creating a new table in the Appwrite Console, you can **choose to generate AI-powered suggestions** for columns and indexes tailored to your use case. For example, if you name your table `Orders`, Appwrite will suggest fields like `orderId`, `userId`, `totalAmount`, and `status`, complete with sensible types and recommended indexes. + +These suggestions are generated using a mix of: + +- The table’s **name** (e.g., “Orders”, “UserSessions”) +- **Sibling tables and their respective columns** in your database to align naming and structure +- Any **additional context** you provide in your prompt + +You’re always in control. Suggestions don’t apply automatically. You can review them, adjust inline, or skip them entirely. Once ready, applying the schema is just one click, including an optional CTA to add suggested indexes for even better performance. + +Alongside Database AI Suggestions, we have also added an **AI-powered index suggestions UI.** A new desktop modal and mobile side-sheet offer guided flows with toggles and an easy “apply” step for indexes. + +These UI updates complement Database AI Suggestions by making the schema design and feedback process more guided, interactive, and flexible across both desktop and mobile. + +# Immediate benefits + +**Database AI Suggestions** isn’t just about saving a few clicks. It removes friction from a critical early step in your workflow and sets you up for success. For example, when setting up schemas daily, managing operational data, and standardizing schemas across microservices, this new feature gives you a smart starting point, helping teams of all sizes move faster while maintaining quality and consistency. + +Resulting in benefits such as: + +- **Faster setup:** Go from table name to sensible schema in seconds. +- **Consistency:** Keep field names and types aligned across collections. +- **Best practices baked in:** Get timestamps, soft-delete fields, enums, and indexes without having to remember them. +- **Fewer errors:** Avoid schema issues that cause analytics problems or require migrations later. + +# Get started + +We created a quick video overview to show you how the new feature works. + +{% youtube src="https://www.youtube-nocookie.com/embed/5IZJVsE6pIQ" thumbnail="/images/blog/announcing-database-ai-suggestions/cover.png" /%} + +# More resources + +- [Appwrite MCP server](/docs/tooling/mcp) +- [Make the best use of Appwrite’s MCP server](/blog/post/make-best-use-appwrite-mcp) +- [Announcing an improved Appwrite Databases experience. A completely new look and feel](/blog/post/announcing-appwrite-databases-new-ui) diff --git a/src/routes/changelog/(entries)/2025-10-01-2.markdoc b/src/routes/changelog/(entries)/2025-10-01-2.markdoc new file mode 100644 index 0000000000..ce312a2507 --- /dev/null +++ b/src/routes/changelog/(entries)/2025-10-01-2.markdoc @@ -0,0 +1,28 @@ +--- +layout: changelog +title: "Announcing Database AI suggestions: From table name to schema in one click" +date: 2025-10-01 +cover: /images/blog/announcing-database-ai-suggestions/cover.png +--- +Designing schemas typically requires starting from a blank table, defining every column manually, agreeing on naming conventions, and remembering to add indexes and common fields. + +This release introduces AI-assisted schema generation to simplify that process. + +## What’s new + +- Added **Database AI suggestions** in the Console +- Automatic column and index suggestions based on table name and context +- Example: Creating a table called `Orders` suggests columns `orderId`, `userId`, `totalAmount`, and `status`. + +## Benefits: + +- Faster setup: Define schemas in seconds instead of manually creating each column +- Consistency: Field names and types aligned across tables +- Best practices: Suggested indexes and common fields included by default +- Flexibility: Suggestions can be reviewed, modified, or skipped before applying + +Head over to [your console](https://cloud.appwrite.io/) to try out this new feature on Appwrite Cloud. + +{% arrow_link href="/blog/post/announcing-database-ai-suggestions" %} +Read the announcement to learn more +{% /arrow_link %} diff --git a/static/images/blog/announcing-database-ai-suggestions/cover.png b/static/images/blog/announcing-database-ai-suggestions/cover.png new file mode 100644 index 0000000000..7fa1545877 Binary files /dev/null and b/static/images/blog/announcing-database-ai-suggestions/cover.png differ