Skip to content

Conversation

@anzboi
Copy link

@anzboi anzboi commented Mar 27, 2025

Adds a DATABASES environment variable that accepts a comma-separated list of spanner data strings (of the form 'projects/{proj}/instances/{inst}/databases/{db}').

Init is updated to resolve the old and new variables into a single list of instances and databases to init, and create all of them.

@RoryQ
Copy link
Owner

RoryQ commented Jul 11, 2025

You can use wrench to create a database with predefined schema, which is usually needed for tests

wrench create --database NAME --schema-file schema.sql

or if you want an empty database

wrench create --database NAME --schema-file /dev/null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants