Skip to content

Commit

Permalink
Merge branch 'render_column_type' of https://github.com/hyoj0942/sqla…
Browse files Browse the repository at this point in the history
…codegen into render_column_type
  • Loading branch information
hyoj0942 committed Sep 25, 2023
2 parents 392f5c5 + 1a9ab17 commit 4a12fbf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions tests/test_generator_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,10 @@ def test_mysql_char_collation(generator: CodeGenerator) -> None:
generator.generate(),
"""\
from sqlalchemy import CHAR, Column, Integer, MetaData, Table
metadata = MetaData()
t_simple_items = Table(
'simple_items', metadata,
Column('id', Integer),
Expand Down
8 changes: 4 additions & 4 deletions tests/test_generator_tables2.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
)
from sqlalchemy.sql.expression import text
from sqlalchemy.sql.sqltypes import NullType
from sqlalchemy.types import INTEGER, NUMERIC, SMALLINT, VARCHAR, Text, CHAR
from sqlalchemy.types import INTEGER, NUMERIC, SMALLINT, VARCHAR, Text

from sqlacodegen.generators import CodeGenerator, TablesGenerator

Expand Down Expand Up @@ -258,10 +258,10 @@ def test_mysql_char_collation(generator: CodeGenerator) -> None:
generator.generate(),
"""\
from sqlalchemy import CHAR, Column, Integer, MetaData, Table
metadata = MetaData()
t_simple_items = Table(
'simple_items', metadata,
Column('id', Integer),
Expand Down

0 comments on commit 4a12fbf

Please sign in to comment.