From a30b8e2d2ce14896e2a43304f684eb88876c8e8c Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 10 Nov 2022 10:20:02 +0300 Subject: Migrations: Add migration for 'resources' table * gn3/migrations.py: Minor change * migrations/auth/20221110_01_WtZ1I-create-resources-table.py: new migration * tests/unit/auth/test_create_table_migrations.py: test new migration --- gn3/migrations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3') diff --git a/gn3/migrations.py b/gn3/migrations.py index 7f8d694..3451e07 100644 --- a/gn3/migrations.py +++ b/gn3/migrations.py @@ -2,8 +2,8 @@ from pathlib import Path from typing import Union -from yoyo.backends import DatabaseBackend from yoyo import read_migrations +from yoyo.backends import DatabaseBackend from yoyo.migrations import Migration, MigrationList class MigrationNotFound(Exception): -- cgit v1.2.3