GithubHelp home page GithubHelp logo

sqlite support? about aerich HOT 3 CLOSED

tortoise avatar tortoise commented on August 26, 2024
sqlite support?

from aerich.

Comments (3)

long2ice avatar long2ice commented on August 26, 2024

I rarely used sqlite and know little about it's syntax, and wan't Intend to support it.

from aerich.

mjhea0 avatar mjhea0 commented on August 26, 2024

That's fine. Since Tortoise does support it, you may want to indicate on the README that SQLite isn't officially supported by Aerich to avoid confusion.

On another note, I tossed together a quick sample project for FastAPI + Tortoise + Aerich if you want to reference it: https://github.com/testdrivenio/fastapi-tortoise-aerich.

from aerich.

pmdevita avatar pmdevita commented on August 26, 2024

As of 3.35.0 https://sqlite.org/releaselog/3_35_0.html SQLite now supports DROP COLUMN. I did a very basic test where I commented out def drop_column in aerich/ddl/sqlite. This generated migrations with the command and I can confirm upgrade and downgrade work as expected.

from aerich.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.