mix wraith.table (Wraith v0.1.0)

View Source

Creates the one table every item lives in, for whichever store WRAITH_STORE names: DynamoDB (keys pk/sk, GSI gsi1, on-demand), PostgreSQL or Aurora DSQL (items with its index).

WRAITH_STORE=dynamo WRAITH_TABLE=wraith AWS_PROFILE=me mix wraith.table
DYNAMO_ENDPOINT=http://127.0.0.1:8000 WRAITH_STORE=dynamo mix wraith.table
WRAITH_STORE=postgres DATABASE_URL=postgres://postgres:postgres@127.0.0.1/wraith mix wraith.table
WRAITH_STORE=dsql DSQL_ENDPOINT=<cluster>.dsql.eu-central-1.on.aws AWS_PROFILE=me mix wraith.table