bottin-ag/dbschema/dbschema.go

12 lines
278 B
Go
Raw Permalink Normal View History

// Package dbschema defines the database schema for the application
package dbschema
const Schema string = `
CREATE TABLE IF NOT EXISTS presences (
id VARCHAR(7) PRIMARY KEY NOT NULL,
at TIMESTAMP NOT NULL,
name VARCHAR(50) NOT NULL,
programme_id NOT NULL
);
`