LazyForge is a terminal IDE (TUI) for SQL schema modeling with a keyboard-driven workflow, focused on editing speed, real-time visualization, and DDL export.
- Project site: https://dte005.github.io/lazy_forges/
- Page documentation (database types): https://dte005.github.io/lazy_forges/#database-types
- Package on pub.dev: https://pub.dev/packages/lazy_forge
- Repository: https://github.com/dte005/lazy_forges
- Create, alter, and remove tables by command.
- Define columns with types per database engine.
- PK/FK relationships with graph visualization in the terminal.
- Engine selection (
postgres,mysql,sqlite). - Export schema to SQL DDL.
- Command history and productivity shortcuts in the editor.
dart pub global activate lazy_forge
# to execute
lazy_forgedart pub get
dart run bin/lazy_forge.dartWith hot reload:
dart --enable-vm-service bin/lazy_forge.dartcreate table <table> [--autoincrement]delete table <table>/drop table <table>add column <table> <column> <type> [as pk] [options(v1|v2)] [description(text)]add columns <table> <col1 type [as pk] ...; col2 type ...>add column <column> type <type> to <table> [as pk] [options(v1|v2)] [description(text)]set pk <table> <column>add fk <table> <column> references <ref_table> <ref_column>rename table <old> to <new>rename column <table> <old> to <new>alter column <table> <column> type <new_type> [options(v1|v2)]set database <postgres|mysql|sqlite>show databaseshow typesshow tablesexport [file_name.sql]historyhelp
- Projects are saved automatically under
./lazyforge_projects(current working directory). - Exported SQL files are written to the current directory.
- PostgreSQL
- MySQL
- SQLite
MIT.