sqlite_lint: add support for FTS5 and virtual tables
This commit is contained in:
@@ -22,15 +22,22 @@ func (c Column) IsNullableForeignKey() bool {
|
||||
|
||||
// Table is a single SQLite table.
|
||||
type Table struct {
|
||||
TableName string `db:"name"`
|
||||
TableName string `db:"name"`
|
||||
|
||||
// One of "table", "view", "shadow", or "virtual"
|
||||
TableType string `db:"table_type"`
|
||||
IsStrict bool `db:"is_strict"`
|
||||
IsWithoutRowid bool `db:"is_without_rowid"`
|
||||
|
||||
Columns []Column
|
||||
|
||||
TypeIDName string
|
||||
VarName string
|
||||
TypeName string
|
||||
|
||||
// Default variable name for variables of this type to use when generating Go code
|
||||
VarName string
|
||||
|
||||
// Name of corresponding model type to be generated
|
||||
GoTypeName string
|
||||
}
|
||||
|
||||
type Index struct {
|
||||
|
||||
Reference in New Issue
Block a user