# todo-sea-orm **Repository Path**: garlic-bird/todo-sea-orm ## Basic Information - **Project Name**: todo-sea-orm - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-06 - **Last Updated**: 2025-02-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # New project ``` cargo new todo-sea-orm ``` ## Create `.env` file ``` DATABASE_URL = "sqlite://db.sqlite?mode=rwc" ``` ## Config `Cargo.toml` ``` [workspace] members = [".", "migration"] ``` # Migration ## Install `sea-orm-cli` client ``` cargo install sea-orm-cli ``` ## Init migration project ``` cd todo-sea-orm sea-orm-cli migrate init ``` ## Add depedencies ``` cargo add -p migration sea-orm-migration -F sqlx-sqlite,runtime-async-std,with-chrono cargo add -p migration chrono ```