DEVELOPMENT ENVIRONMENT

~liljamo/felu

d4e998059f929aee7660a808c75760c406303db3 — Jonni Liljamo 1 year, 1 month ago 3fbe48b
feat: changes to inital migrations

technically breaking but not released so doesnt matter
1 files changed, 4 insertions(+), 1 deletions(-)

M db/migrations.go
M db/migrations.go => db/migrations.go +4 -1
@@ 67,12 67,15 @@ func migrations() []string {
		)`, migrationsTable),
		fmt.Sprintf(`CREATE TABLE users (
			id INTEGER NOT NULL PRIMARY KEY,
			ulid TEXT NOT NULL,
			email TEXT NOT NULL,
			pwd TEXT NOT NULL,
			is_admin INTEGER DEFAULT FALSE NOT NULL
			is_admin INTEGER DEFAULT FALSE NOT NULL,
			UNIQUE(ulid, email)
		)`),
		fmt.Sprintf(`CREATE TABLE domains (
			id TEXT NOT NULL PRIMARY KEY,
			apikey TEXT NOT NULL,
			owner INTEGER NOT NULL,
			ddns_domain TEXT,
			a_record TEXT,