mirror of
https://github.com/R0m1k3/FlowReader.git
synced 2026-10-22 22:58:06 +02:00
feat(story-1.1): implement walking skeleton with Go Chi and Docker Compose
This commit is contained in:
1 parent
d7ad2536d6
commit
99f1300e13
11 files changed
+411
No files matched your search
@@ -0,0 +1,27 @@
|
||||
# SQL Migrations
|
||||
|
||||
This folder contains versioned database migrations.
|
||||
|
||||
Migrations are managed using `golang-migrate`.
|
||||
|
||||
## Naming Convention
|
||||
|
||||
```
|
||||
{version}_{description}.up.sql
|
||||
{version}_{description}.down.sql
|
||||
```
|
||||
|
||||
Example:
|
||||
|
||||
- `001_create_users.up.sql`
|
||||
- `001_create_users.down.sql`
|
||||
|
||||
## Commands
|
||||
|
||||
```bash
|
||||
# Apply all pending migrations
|
||||
make migrate-up
|
||||
|
||||
# Rollback last migration
|
||||
make migrate-down
|
||||
```
|
||||
Reference in new issue
Block a user