8000 Implement database migrations · Issue #5 · PostOwl/postowl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Implement database migrations #5
Open
@keybits

Description

@keybits

Currently fly-start.sh and schema.sql naively create tables in the DB if they don't already exist.

This allows for creating a new db on first launch and preserving content when redeploying.

But we don't have a way to do migration if we alter the db structure.

Current preferred approach is what's documented here https://david.rothlis.net/declarative-schema-migration-for-sqlite/ and in this HN discussion: https://news.ycombinator.com/item?id=31249823)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0