From d8ddc0bfc15cd9fd28e0f86634c6e05a76ef1719 Mon Sep 17 00:00:00 2001 From: Jakub Miazek Date: Fri, 3 Jun 2022 19:27:44 +0200 Subject: [PATCH] add schema to models --- the_app/models/nonsense.py | 2 +- the_app/models/stuff.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/the_app/models/nonsense.py b/the_app/models/nonsense.py index 2d96a23..9dd449f 100644 --- a/the_app/models/nonsense.py +++ b/the_app/models/nonsense.py @@ -11,7 +11,7 @@ from the_app.models.base import Base class Nonsense(Base): __tablename__ = "nonsense" __table_args__ = ( - {"schema": "the_others"}, + {"schema": "happy_hog"}, ) id = Column(UUID(as_uuid=True), unique=True, default=uuid.uuid4, autoincrement=True) name = Column(String, nullable=False, primary_key=True, unique=True) diff --git a/the_app/models/stuff.py b/the_app/models/stuff.py index 2d775d1..0305cba 100644 --- a/the_app/models/stuff.py +++ b/the_app/models/stuff.py @@ -11,7 +11,7 @@ from the_app.models.base import Base class Stuff(Base): __tablename__ = "stuff" __table_args__ = ( - {"schema": "the_others"}, + {"schema": "happy_hog"}, ) id = Column(UUID(as_uuid=True), unique=True, default=uuid.uuid4, autoincrement=True) name = Column(String, nullable=False, primary_key=True, unique=True)