Skip to content
Snippets Groups Projects
Select Git revision
  • renovate/major-opa
  • spike/go-tools-124-gql
  • spike/go-tools-124
  • main default protected
  • chore/deepmap
  • docs/mas
  • build/notify
  • fix/du
  • defect/diff
  • defect/json
  • chore/schema
  • feat/diff-json
  • chore/typo
  • build/binaries
  • build/changelog-
  • defect/otel
  • chore/otel
  • chore/dep
  • docs/changelog
  • defect/changelog
  • v0.115.3 protected
  • v0.115.2 protected
  • v0.115.1 protected
  • v0.115.0 protected
  • v0.114.0 protected
  • v0.113.5 protected
  • v0.113.4 protected
  • v0.113.3 protected
  • v0.113.2 protected
  • v0.113.1 protected
  • v0.113.0 protected
  • v0.112.0 protected
  • v0.111.1 protected
  • v0.111.0 protected
  • v0.110.2 protected
  • v0.110.1 protected
  • v0.110.0 protected
  • v0.109.0 protected
  • v0.108.0 protected
  • v0.107.0 protected
40 results

main.go

Blame
  • Jamie Tanna's avatar
    360c6517
    chore(web): create a central `db.Open` method · 360c6517
    Jamie Tanna authored
    As part of #573, we want to make sure that it's possible to have the
    `dmd-web` app load the database as read-only to avoid arbitrary
    executions of modifications of the database.
    
    This simplifies things by introducing a new method for opening the
    database - which can be used centrally in the future - which more safely
    modifies our
    
    Note that we need to prefix the database URL with `file:` for our SQLite
    driver to correctly pick up the querystring parameters.
    360c6517
    History
    chore(web): create a central `db.Open` method
    Jamie Tanna authored
    As part of #573, we want to make sure that it's possible to have the
    `dmd-web` app load the database as read-only to avoid arbitrary
    executions of modifications of the database.
    
    This simplifies things by introducing a new method for opening the
    database - which can be used centrally in the future - which more safely
    modifies our
    
    Note that we need to prefix the database URL with `file:` for our SQLite
    driver to correctly pick up the querystring parameters.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.