Skip to content

Commit 22f8ed8

Browse files
committed
Make FTS5 columns nullable
1 parent b2933a8 commit 22f8ed8

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

internal/endtoend/testdata/virtual_table/sqlite/go/models.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/endtoend/testdata/virtual_table/sqlite/go/query.sql.go

Lines changed: 20 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/engine/sqlite/convert.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ func (c *cc) convertCreate_virtual_table_fts5(n *parser.Create_virtual_table_stm
162162
stmt.Cols = append(stmt.Cols, &ast.ColumnDef{
163163
Colname: identifier(columnName),
164164
// you can not specify any column constraints in fts5, so we pass them manually
165-
IsNotNull: true,
166-
TypeName: &ast.TypeName{Name: "text"},
165+
TypeName: &ast.TypeName{Name: "text"},
167166
})
168167
}
169168
}

0 commit comments

Comments
 (0)