Skip to content

Commit

Permalink
fix(db): fixed db migrations for latest flask-sqlalchemy+migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherpickering committed Jun 13, 2023
2 parents 739c064 + 12ab485 commit f83c81e
Show file tree
Hide file tree
Showing 12 changed files with 280 additions and 215 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: 📥 Download deps
uses: bahmutov/npm-install@v1
Expand All @@ -47,7 +47,7 @@ jobs:
- name: 🐍 Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.10

- name: 🎶 Setup Poetry
uses: snok/install-poetry@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: 📥 Download deps
uses: bahmutov/npm-install@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: 📥 Download deps
uses: bahmutov/npm-install@v1
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ repos:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
- repo: https://github.com/Riverside-Healthcare/djLint
rev: v1.30.2
rev: v1.31.0
hooks:
- id: djlint-jinja
2 changes: 1 addition & 1 deletion gulpfile.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import gulp from 'gulp';
import autoprefexer from 'gulp-autoprefixer';
import dartSass from 'sass';
import * as dartSass from 'sass';
import gulpSass from 'gulp-sass';
const sass = gulpSass(dartSass);

Expand Down
1 change: 1 addition & 0 deletions migrations/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
# target_metadata = mymodel.Base.metadata
from flask import current_app


def get_engine():
try:
# this works with Flask-SQLAlchemy<3 and Alchemical
Expand Down
128 changes: 40 additions & 88 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"gulp-sass": "5.1.0",
"npm-run-all": "^4.1.5",
"rollup": "^3.20.2",
"sass": "1.62.1",
"sass": "1.63.3",
"uglify-js": "^3.17.4"
},
"description": "A task scheduling tool.",
Expand All @@ -37,7 +37,7 @@
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "9.0.3",
"@semantic-release/npm": "10.0.3",
"@semantic-release/release-notes-generator": "11.0.2",
"@semantic-release/release-notes-generator": "11.0.3",
"browser-sync": "^2.29.1",
"cz-conventional-changelog": "3.3.0",
"eslint": "8.42.0",
Expand Down Expand Up @@ -80,5 +80,5 @@
"test:lint": "poetry run tox -e lint",
"test:prettier": "prettier --check --config .prettierrc \"web/**/*.{ts,css,less,scss,js,json,md,yaml,html}\""
},
"version": "2.10.1"
"version": "2.10.2"
}
Loading

0 comments on commit f83c81e

Please sign in to comment.