Extract database operations from Manager into a Store interface with SQLite and PostgreSQL implementations using a shared commonStore. Split SQLite migrations into store_sqlite_migrations.go, use shared schema_version table for PostgreSQL, rename user_user/user_tier tables to "user"/tier, and wire up database-url in CLI commands. |
||
|---|---|---|
| .. | ||
| manager.go | ||
| manager_test.go | ||
| store.go | ||
| store_postgres.go | ||
| store_sqlite.go | ||
| store_sqlite_migrations.go | ||
| types.go | ||
| types_test.go | ||
| util.go | ||
| util_test.go | ||