KWEBAPP-SQL(1) General Commands Manual KWEBAPP-SQL(1)

kwebapp-sql
implement web application SQL schema

kwebapp-sql [
config...
]

The kwebapp-sql utility accepts a kwebapp(5) config (defaulting to standard input) and produces an SQL schema describing the configuration. The configuration may be broken apart into several files.
The schema consists of a series of CREATE TABLE SQL commands representing the objects in config. These encapsulate the foreign keys and all other required SQL attributes. The SQL generated is designed for sqlite3(1).

The kwebapp-sql utility exits 0 on success, and >0 if an error occurs.

kwebapp-sqldiff(1), sqlite3(1), kwebapp(5)
August 28, 2018 OpenBSD 6.3