Skip to content

kova98/feedgrep.api

Repository files navigation

API

Migrations

The project uses goose for migrations

# 1. Install goose
go install github.com/pressly/goose/v3/cmd/goose@latest

# 2. Create a new migration
goose create add_some_column sql

# 3. Set the DB_URL inside the Makefile 

# 4. Apply migrations
make migrate

Running make migrate will write the current schema into the /data/schema/schema.sql file.

About

real time reddit keyword alerts

Resources

License

Stars

Watchers

Forks

Contributors

Languages