mirror of
https://github.com/hanzoai/service-template.git
synced 2026-10-30 18:22:53 +00:00
github.com/hanzoai/template existed only as loose files: no .git, no history, no remote. Sweeps that look for a .git directory could not see it, and an rm -rf would have destroyed it with nothing to recover from. Committed as-is; no source modified. NOTE: no remote. This is still one copy in one place.
16 lines
515 B
Go
16 lines
515 B
Go
// Package migrations holds DB schema migrations applied per-(org,user)
|
|
// on first hydrate. The skeleton ships one placeholder migration that
|
|
// creates the Example table.
|
|
package migrations
|
|
|
|
// InitialSchema is the first migration. Each service maintains its own
|
|
// migrations; the base migration runner stamps each SQLite with the
|
|
// schema version on apply.
|
|
const InitialSchema = `
|
|
CREATE TABLE IF NOT EXISTS examples (
|
|
id TEXT PRIMARY KEY,
|
|
name TEXT NOT NULL,
|
|
created_at INTEGER NOT NULL
|
|
);
|
|
`
|