django-migration-linter VS Knex

Compare django-migration-linter vs Knex and see what are their differences.

django-migration-linter

:rocket: Detect backward incompatible migrations for your django project (by 3YOURMIND)

Knex

A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use. (by knex)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
django-migration-linter Knex
3 95
509 18,720
2.0% 1.0%
6.8 8.1
25 days ago 7 days ago
Python JavaScript
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

django-migration-linter

Posts with mentions or reviews of django-migration-linter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-18.
  • How do you verify the safety of database schema migrations?
    1 project | /r/devops | 26 Aug 2022
    https://github.com/3YOURMIND/django-migration-linter running before tests in CI, with some extra stuff that only warns by default set up to error out as well, for example non-async index create/drop.
  • Schema Migrations and Avoiding Downtime
    1 project | news.ycombinator.com | 5 May 2022
    A tool I've used with Django in the past is the one: https://github.com/3YOURMIND/django-migration-linter

    It helps with the problem that if you're running several application servers it's important to avoid migrations that are backwards incompatible - since if some of your application servers haven't yet updated to the latest code you could get errors when they try to run queries against the migrates database.

  • Does anyone use ci/cd for deploying database changes?
    3 projects | /r/Database | 18 Aug 2021
    There's actually a Django package called django-migration-linter that can help with this by spotting migrations that could break under that condition: https://github.com/3YOURMIND/django-migration-linter

Knex

Posts with mentions or reviews of Knex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-09.

What are some alternatives?

When comparing django-migration-linter and Knex you can also consider the following projects:

Flask-Migrate - SQLAlchemy database migrations for Flask applications using Alembic

Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

dev-setup - macOS development environment setup: Easy-to-understand instructions with automated setup scripts for developer tools like Vim, Sublime Text, Bash, iTerm, Python data analysis, Spark, Hadoop MapReduce, AWS, Heroku, JavaScript web development, Android development, common data stores, and dev-based OS X defaults.

Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.

djLint - ✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang

pg-promise - PostgreSQL interface for Node.js

prisma-client-py - Prisma Client Python is an auto-generated and fully type-safe database client designed for ease of use

TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

terminusdb - TerminusDB is a distributed database with a collaboration model

kysely - A type-safe typescript SQL query builder [Moved to: https://github.com/kysely-org/kysely]

Redash - Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.

slonik - A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.