DEVELOPMENT ENVIRONMENT

~liljamo/tixe

364eac5ec158b7c06d41932791f529bd4335046d — Jonni Liljamo 1 year, 3 months ago c2c8487
feat: users table migration
1 files changed, 6 insertions(+), 1 deletions(-)

M db/migrations.go
M db/migrations.go => db/migrations.go +6 -1
@@ 63,6 63,11 @@ func migrations() []string {
		fmt.Sprintf(`CREATE TABLE %s (
			ran_timestamp timestamp,
			schema_version integer
		)`,migrationsTable),
		)`, migrationsTable),
		fmt.Sprintf(`CREATE TABLE users (
			id CHAR(26) NOT NULL PRIMARY KEY,
			display_name TEXT NOT NULL,
			oidc_subject TEXT
		)`),
	}
}