Fix spacing in database schema

This commit is contained in:
Elara 2022-11-30 22:52:21 -08:00
parent 053fbf0bc2
commit fc3782c7aa
1 changed files with 14 additions and 14 deletions

View File

@ -28,21 +28,21 @@ type Package struct {
func Init(db *genji.DB) error { func Init(db *genji.DB) error {
return db.Exec(` return db.Exec(`
CREATE TABLE IF NOT EXISTS pkgs ( CREATE TABLE IF NOT EXISTS pkgs (
name TEXT NOT NULL, name TEXT NOT NULL,
repository TEXT NOT NULL, repository TEXT NOT NULL,
version TEXT NOT NULL, version TEXT NOT NULL,
release INT NOT NULL, release INT NOT NULL,
epoch INT, epoch INT,
description TEXT, description TEXT,
homepage TEXT, homepage TEXT,
maintainer TEXT, maintainer TEXT,
architectures ARRAY, architectures ARRAY,
licenses ARRAY, licenses ARRAY,
provides ARRAY, provides ARRAY,
conflicts ARRAY, conflicts ARRAY,
replaces ARRAY, replaces ARRAY,
depends (...), depends (...),
builddepends (...), builddepends (...),
UNIQUE(name, repository) UNIQUE(name, repository)
); );
`) `)