Skip to content

What is limited in SQLite support? #624

Answered by dantownsend
dmi-dmi-dmi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dmi-dmi-dmi

Almost all features are available for SQLite. The main limitation is Piccolo's migrations. SQLite has very limited ALTER TABLE support, which makes it hard for us to support it with migrations in Piccolo.

So when you're creating your database tables, you'll have to write a script to do it manually. Something like this:

from piccolo.table import create_db_tables_sync

create_db_tables_sync(TableA, TableB, TableC)

The docs are available here.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Conobi
Comment options

@dantownsend
Comment options

@Conobi
Comment options

Answer selected by dantownsend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants