Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ozym committed Nov 23, 2024
1 parent bbe4b97 commit 0b7e7b7
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 15 deletions.
52 changes: 37 additions & 15 deletions cmd/deltadb/delta.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions meta/sqlite/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ func (d DB) Init(ctx context.Context, list []meta.TableList) error {
for _, l := range list {

switch l.Table.Name() {
case "Response":
if err := d.exec(ctx, tx, response.Create); err != nil {
return err
}
if err := d.prepare(ctx, tx, response.Insert(), response.Columns(l)...); err != nil {
return err
}
case "Placename":
if err := d.exec(ctx, tx, placename.Create); err != nil {
return err
Expand Down

0 comments on commit 0b7e7b7

Please sign in to comment.