-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
high-priorityHigh priority itemHigh priority itemmigrationsDatabase migrationsDatabase migrationssqliteSQLite database supportSQLite database support
Milestone
Description
Description
Add migration system for SQLite with SQLite-specific DDL limitations and workarounds.
Requirements
- SQLite DDL operations (CREATE, DROP)
- ALTER TABLE limitations handling
- Table recreation for complex changes
- Index management
- Foreign key support
- Write comprehensive tests
Acceptance Criteria
- SQLite migration support with limitations handled
- Table recreation for unsupported ALTER operations
- Proper foreign key handling
- Index management
Files to create
beatrix_core/src/relational/migrations/sqlite.rs
Example Usage
Migration::new("add_user_column")
.alter_table("users", |table| {
table.add_column("phone", "TEXT");
})
.run(&db).await?; // Handles table recreation if neededReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
high-priorityHigh priority itemHigh priority itemmigrationsDatabase migrationsDatabase migrationssqliteSQLite database supportSQLite database support