Unverified 提交 e22a95e7 authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

drop plans migration (never used in prod) (#2514)

#skip-bb <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2514" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end --> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Removed the unused plans table migration (0025_romantic_mantis) and its Drizzle snapshot/journal to clean up the schema history. Updated lint-staged to exclude JSON files from oxfmt formatting. <sup>Written for commit 2e57ccf8f43df3dd03b5a0fadd18db6bddf5c097. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. -->
上级 3deb70b1
CREATE TABLE `plans` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`app_id` integer NOT NULL,
`chat_id` integer,
`title` text NOT NULL,
`summary` text,
`content` text NOT NULL,
`status` text DEFAULT 'draft' NOT NULL,
`created_at` integer DEFAULT (unixepoch()) NOT NULL,
`updated_at` integer DEFAULT (unixepoch()) NOT NULL,
FOREIGN KEY (`app_id`) REFERENCES `apps`(`id`) ON UPDATE no action ON DELETE cascade,
FOREIGN KEY (`chat_id`) REFERENCES `chats`(`id`) ON UPDATE no action ON DELETE set null
);
差异被折叠。
......@@ -176,13 +176,6 @@
"when": 1769582904159,
"tag": "0024_useful_skin",
"breakpoints": true
},
{
"idx": 25,
"version": "6",
"when": 1769600000000,
"tag": "0025_romantic_mantis",
"breakpoints": true
}
]
}
module.exports = {
"**/*.{ts,tsx}": () => "npm run ts",
"**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,astro,svelte}": "oxlint",
"**/*.{js,css,md,ts,tsx,jsx,json}": "oxfmt",
"**/*.{js,css,md,ts,tsx,jsx}": "oxfmt",
};
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论