#!/usr/bin/env node
import { createRequire as createRequire_BATI_CLI } from 'module';
const require = createRequire_BATI_CLI(import.meta.url);

import {
  Wxs
} from "../../../../chunk-KGXTM3D3.js";
import "../../../../chunk-IAWYWZSL.js";
import "../../../../chunk-DHZ7AZKP.js";

// ../../boilerplates/drizzle/dist/files/$README.md.js
async function getReadme(props) {
  const content = await Wxs(props);
  const todo = `
## *Drizzle*

First, ensure that \`DATABASE_URL\` is configured in \`.env\` file, then create the database:
\`\`\`bash
pnpm drizzle:generate # a script that executes drizzle-kit generate.
pnpm drizzle:migrate # a script that executes drizzle-kit migrate.
\`\`\`

> [!NOTE]
> The \`drizzle-kit generate\` command is used to generate SQL migration files based on your Drizzle schema.
>
> The \`drizzle-kit migrate\` command is used to apply the generated migrations to your database.

Read more on [Drizzle ORM documentation](https://orm.drizzle.team/docs/overview)
`;
  content.addMarkdownFeature(todo, "drizzle");
  return content;
}
export {
  getReadme as default
};
