Files
basicmachines-co-basic-memory/Makefile
T
phernandez 1d0643c16c Add initial database setup
- Create migrations directory with initial schema
- Add Makefile with dbmate commands
- Configure database using .env
- Add projects directory for data storage
- Update .gitignore for SQLite files
2024-12-02 19:32:54 -06:00

25 lines
254 B
Makefile

.PHONY: install test lint db-new db-up db-down db-reset
install:
brew install dbmate
pip install -e ".[dev]"
test:
pytest
lint:
black .
ruff check .
db-new:
dbmate new
db-up:
dbmate up
db-down:
dbmate down
db-reset:
dbmate drop
dbmate up