chore: update links to migration docs (#990)
Co-authored-by: brian <brian@antimetal.com>
This commit is contained in:
parent
35395969cd
commit
9127e1be88
2 changed files with 3 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ export const chat = pgTable('Chat', {
|
||||||
export type Chat = InferSelectModel<typeof chat>;
|
export type Chat = InferSelectModel<typeof chat>;
|
||||||
|
|
||||||
// DEPRECATED: The following schema is deprecated and will be removed in the future.
|
// DEPRECATED: The following schema is deprecated and will be removed in the future.
|
||||||
// Read the migration guide at https://github.com/vercel/ai-chatbot/blob/main/docs/04-migrate-to-parts.md
|
// Read the migration guide at https://chat-sdk.dev/docs/migration-guides/message-parts
|
||||||
export const messageDeprecated = pgTable('Message', {
|
export const messageDeprecated = pgTable('Message', {
|
||||||
id: uuid('id').primaryKey().notNull().defaultRandom(),
|
id: uuid('id').primaryKey().notNull().defaultRandom(),
|
||||||
chatId: uuid('chatId')
|
chatId: uuid('chatId')
|
||||||
|
|
@ -61,7 +61,7 @@ export const message = pgTable('Message_v2', {
|
||||||
export type DBMessage = InferSelectModel<typeof message>;
|
export type DBMessage = InferSelectModel<typeof message>;
|
||||||
|
|
||||||
// DEPRECATED: The following schema is deprecated and will be removed in the future.
|
// DEPRECATED: The following schema is deprecated and will be removed in the future.
|
||||||
// Read the migration guide at https://github.com/vercel/ai-chatbot/blob/main/docs/04-migrate-to-parts.md
|
// Read the migration guide at https://chat-sdk.dev/docs/migration-guides/message-parts
|
||||||
export const voteDeprecated = pgTable(
|
export const voteDeprecated = pgTable(
|
||||||
'Vote',
|
'Vote',
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "ai-chatbot",
|
"name": "ai-chatbot",
|
||||||
"version": "3.0.21",
|
"version": "3.0.22",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev --turbo",
|
"dev": "next dev --turbo",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue