diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0a98b9da..ec07c964 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@
 ## Version _next_
 
 - Add support for generic JSON data for properties.
+- Fix bug where the name of the foreign key column was based on the table name and not the property name.
 
 ## Version 1.2.0 - 2020-06-08
 
diff --git a/README.md b/README.md
index af8023d8..82e0faf6 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ Translates an OpenAPI schema to SQLAlchemy models.
 ## Installation
 ```bash
 python -m pip install OpenAlchemy
-# To be able to load yaml file
+# To be able to load YAML file
 python -m pip install OpenAlchemy[yaml]
 ```
 
diff --git a/open_alchemy/column_factory/array_ref/foreign_key.py b/open_alchemy/column_factory/array_ref/foreign_key.py
index 7adafd9e..c4a60588 100644
--- a/open_alchemy/column_factory/array_ref/foreign_key.py
+++ b/open_alchemy/column_factory/array_ref/foreign_key.py
@@ -13,6 +13,7 @@ from .. import object_ref
 def set_(
     *,
     ref_model_name: str,
+    logical_name: str,
     model_schema: types.Schema,
     schemas: types.Schemas,
     fk_column: str,
@@ -34,6 +35,7 @@ def set_(
 
     Args:
         ref_model_name: The name of the referenced model.
+        logical_name: The logical name of the array reference property.
         model_schema: The schema which contains the one to many relationship.
         schemas: All the model schemas used to look for the referenced model and to
             resolve any $ref.
@@ -51,8 +53,13 @@ def set_(
     ref_schema = helpers.all_of.merge(schema=ref_schema, schemas=schemas)
 
     # Calculate foreign key artifacts
+    tablename = helpers.peek.tablename(schema=model_schema, schemas={})
+    fk_input_logical_name = f"{tablename}_{logical_name}"
     fk_logical_name, fk_artifacts = object_ref.foreign_key.gather_artifacts(
-        model_schema=model_schema, schemas=schemas, fk_column=fk_column
+        model_schema=model_schema,
+        logical_name=fk_input_logical_name,
+        schemas=schemas,
+        fk_column=fk_column,
     )
 
     # Check whether the foreign key has already been defined in the referenced model
diff --git a/open_alchemy/column_factory/array_ref/link.py b/open_alchemy/column_factory/array_ref/link.py
index 57f3e36a..d35cd5df 100644
--- a/open_alchemy/column_factory/array_ref/link.py
+++ b/open_alchemy/column_factory/array_ref/link.py
@@ -28,6 +28,7 @@ def construct(
     if artifacts.relationship.secondary is None:
         _foreign_key.set_(
             ref_model_name=artifacts.relationship.model_name,
+            logical_name=artifacts.logical_name,
             model_schema=model_schema,
             schemas=schemas,
             fk_column=artifacts.fk_column,
diff --git a/open_alchemy/column_factory/object_ref/artifacts.py b/open_alchemy/column_factory/object_ref/artifacts.py
index 7ff990b4..8b29aa27 100644
--- a/open_alchemy/column_factory/object_ref/artifacts.py
+++ b/open_alchemy/column_factory/object_ref/artifacts.py
@@ -55,6 +55,7 @@ def gather(
 
     return types.ObjectArtifacts(
         spec=intermediary_obj_artifacts.ref_schema,
+        logical_name=logical_name,
         fk_column=intermediary_obj_artifacts.fk_column_name,
         relationship=types.RelationshipArtifacts(
             model_name=intermediary_obj_artifacts.ref_model_name,
diff --git a/open_alchemy/column_factory/object_ref/foreign_key.py b/open_alchemy/column_factory/object_ref/foreign_key.py
index 3d123fe6..f7df42fb 100644
--- a/open_alchemy/column_factory/object_ref/foreign_key.py
+++ b/open_alchemy/column_factory/object_ref/foreign_key.py
@@ -91,6 +91,7 @@ def check_required(
 def gather_artifacts(
     *,
     model_schema: types.Schema,
+    logical_name: str,
     schemas: types.Schemas,
     fk_column: str,
     required: typing.Optional[bool] = None,
@@ -106,6 +107,7 @@ def gather_artifacts(
 
     Args:
         model_schema: The schema of the referenced model.
+        logical_name: The logical name of the property with the object reference.
         schemas: All model schemas used to resolve any $ref.
         fk_column: The name of the foreign key column.
         required: Whether the foreign key is constructed for a property that is
@@ -151,7 +153,7 @@ def gather_artifacts(
     )
 
     # Construct return values
-    logical_name = f"{tablename}_{fk_column}"
+    return_logical_name = f"{logical_name}_{fk_column}"
     artifacts = types.ColumnArtifacts(
         open_api=types.OpenAPiColumnArtifacts(
             type=fk_type,
@@ -164,7 +166,7 @@ def gather_artifacts(
             foreign_key=f"{tablename}.{fk_column}"
         ),
     )
-    return logical_name, artifacts
+    return return_logical_name, artifacts
 
 
 def gather_artifacts_helper(
@@ -189,6 +191,7 @@ def gather_artifacts_helper(
     """
     return gather_artifacts(
         model_schema=obj_artifacts.spec,
+        logical_name=obj_artifacts.logical_name,
         schemas=schemas,
         fk_column=obj_artifacts.fk_column,
         required=required,
diff --git a/open_alchemy/types.py b/open_alchemy/types.py
index 0acffbf5..4a1063a4 100644
--- a/open_alchemy/types.py
+++ b/open_alchemy/types.py
@@ -4,10 +4,14 @@ import dataclasses
 import datetime
 import typing
 
-try:
-    from typing import TypedDict, Literal, Protocol
+try:  # pragma: no cover
+    from typing import TypedDict
+    from typing import Literal
+    from typing import Protocol
 except ImportError:  # pragma: no cover
-    from typing_extensions import TypedDict, Literal, Protocol  # type: ignore
+    from typing_extensions import TypedDict  # type: ignore
+    from typing_extensions import Literal  # type: ignore
+    from typing_extensions import Protocol  # type: ignore
 
 Schema = typing.Dict[str, typing.Any]
 Schemas = typing.Dict[str, Schema]
@@ -175,6 +179,7 @@ class ObjectArtifacts:
     """Artifacts retrieved from object schema."""
 
     spec: Schema
+    logical_name: str
     fk_column: str
     relationship: RelationshipArtifacts
     nullable: typing.Optional[bool] = None
diff --git a/setup.py b/setup.py
index da7cede2..8ff089fd 100644
--- a/setup.py
+++ b/setup.py
@@ -48,7 +48,7 @@ setuptools.setup(
             "pydocstyle",
             "black",
             "pre-commit",
-            "isort",
+            "isort<5.0.0",
             "PyYAML",
             "Sphinx",
             "doc8",

Generated foreign key columns use table name instead of property name
According to the docs:

> When OpenAlchemy constructs the foreign key for you, the name of the property is made up of the name of the property referencing the object (division in the previous example) combined with the name of the property in the foreign key constraint (id in the previous example). These two values are combined as follows: `“<reference property name>_<foreign key column name>”` (division_id in the previous example).

However,  it appears to be using `<foreign key table name>_<foreign key column name>` which causes problems if a schema has two properties which reference the same object.   

Example:

```
Supervisor:
  type: object
  x-tablename: supervisor
  properties:
    id:
      type: integer
      description: Unique identifier for the supervisor.
      example: 0
      x-primary-key: true
      x-autoincrement: true
      readOnly: true
Employee:
  type: object
  x-tablename: employee
  properties:
    id:
      type: integer
      description: Unique identifier for the employee.
      example: 0
      x-primary-key: true
      x-autoincrement: true
      readOnly: true
    primary_supervisor:
      $ref: "#/components/schemas/Supervisor"
    secondary_supervisor:
      $ref: "#/components/schemas/Supervisor"
```

When I generate the Base using init_yaml and create the tables using Base.metadata.create_all(engine) I'm only seeing a single foreign key column in the employee table called `supervisor_id `instead of two separate columns called `primary_supervisor_id ` and `secondary_supervisor_id`. 

Is this the expected behavior?

diff --git a/tests/examples/test_example_specs.py b/tests/examples/test_example_specs.py
index e4a0de90..e1480018 100644
--- a/tests/examples/test_example_specs.py
+++ b/tests/examples/test_example_specs.py
@@ -214,7 +214,7 @@ def test_table_args(engine, filename, model_name, sql, expected_contents):
 @pytest.mark.parametrize(
     "filename, model_names, attrs",
     [
-        (
+        pytest.param(
             "relationship/many_to_one/example-spec.yml",
             ("Employee", "Division"),
             {
@@ -222,8 +222,9 @@ def test_table_args(engine, filename, model_name, sql, expected_contents):
                 "name": "employee 1",
                 "division": {"id": 12, "name": "division 1"},
             },
+            id="relationship-many-to-one",
         ),
-        (
+        pytest.param(
             "relationship/many_to_one/backref-example-spec.yml",
             ("Employee", "Division"),
             {
@@ -231,8 +232,9 @@ def test_table_args(engine, filename, model_name, sql, expected_contents):
                 "name": "employee 1",
                 "division": {"id": 12, "name": "division 1"},
             },
+            id="relationship-many-to-one-backref",
         ),
-        (
+        pytest.param(
             "relationship/many_to_one/custom-foreign-key-example-spec.yml",
             ("Employee", "Division"),
             {
@@ -240,8 +242,9 @@ def test_table_args(engine, filename, model_name, sql, expected_contents):
                 "name": "employee 1",
                 "division": {"id": 12, "name": "division 1"},
             },
+            id="relationship-many-to-one-custom-foreign-key",
         ),
-        (
+        pytest.param(
             "relationship/many_to_one/not-nullable-example-spec.yml",
             ("Employee", "Division"),
             {
@@ -249,8 +252,9 @@ def test_table_args(engine, filename, model_name, sql, expected_contents):
                 "name": "employee 1",
                 "division": {"id": 12, "name": "division 1"},
             },
+            id="relationship-many-to-one-not-nullable",
         ),
-        (
+        pytest.param(
             "relationship/one_to_many/example-spec.yml",
             ("Division", "Employee"),
             {
@@ -258,8 +262,9 @@ def test_table_args(engine, filename, model_name, sql, expected_contents):
                 "name": "division 1",
                 "employees": [{"id": 12, "name": "employee 1"}],
             },
+            id="relationship-one-to-many",
         ),
-        (
+        pytest.param(
             "relationship/one_to_one/example-spec.yml",
             ("Employee", "PayInfo"),
             {
@@ -267,8 +272,9 @@ def test_table_args(engine, filename, model_name, sql, expected_contents):
                 "name": "employee 1",
                 "pay_info": {"id": 12, "account_number": "account 1"},
             },
+            id="relationship-one-to-one",
         ),
-        (
+        pytest.param(
             "relationship/many_to_many/example-spec.yml",
             ("Employee", "Project"),
             {
@@ -276,17 +282,9 @@ def test_table_args(engine, filename, model_name, sql, expected_contents):
                 "name": "employee 1",
                 "projects": [{"id": 12, "name": "project 1"}],
             },
+            id="relationship-many-to-many",
         ),
     ],
-    ids=[
-        "relationship-many-to-one",
-        "relationship-many-to-one-backref",
-        "relationship-many-to-one-custom-foreign-key",
-        "relationship-many-to-one-not-nullable",
-        "relationship-one-to-many",
-        "relationship-one-to-one",
-        "relationship-many-to-many",
-    ],
 )
 @pytest.mark.example
 def test_relationship(engine, sessionmaker, filename, model_names, attrs):
diff --git a/tests/open_alchemy/column_factory/array_ref/test_foreign_key.py b/tests/open_alchemy/column_factory/array_ref/test_foreign_key.py
index e9445749..c2992a14 100644
--- a/tests/open_alchemy/column_factory/array_ref/test_foreign_key.py
+++ b/tests/open_alchemy/column_factory/array_ref/test_foreign_key.py
@@ -23,6 +23,7 @@ def test_schemas_missing():
     with pytest.raises(exceptions.MalformedRelationshipError):
         array_ref._foreign_key.set_(
             ref_model_name="RefSchema",
+            logical_name="logical name 1",
             model_schema=model_schema,
             schemas={},
             fk_column=fk_column,
@@ -57,6 +58,7 @@ def test_schemas(schemas):
 
     array_ref._foreign_key.set_(
         ref_model_name=ref_model_name,
+        logical_name="logical name 1",
         model_schema=model_schema,
         schemas=schemas,
         fk_column=fk_column,
@@ -69,7 +71,7 @@ def test_schemas(schemas):
                 {
                     "type": "object",
                     "properties": {
-                        f"{tablename}_{fk_column}": {
+                        f"{tablename}_logical name 1_{fk_column}": {
                             "type": "integer",
                             "x-foreign-key": f"{tablename}.{fk_column}",
                             "x-dict-ignore": True,
@@ -104,12 +106,13 @@ def test_models(mocked_facades_models: mock.MagicMock):
 
     array_ref._foreign_key.set_(
         ref_model_name=ref_model_name,
+        logical_name="logical name 1",
         model_schema=model_schema,
         schemas=schemas,
         fk_column=fk_column,
     )
 
-    added_fk_column = getattr(mock_ref_model, f"{tablename}_{fk_column}")
+    added_fk_column = getattr(mock_ref_model, f"{tablename}_logical name 1_{fk_column}")
     assert isinstance(added_fk_column.type, facades.sqlalchemy.column.Integer)
     foreign_key = list(added_fk_column.foreign_keys)[0]
     assert f"{tablename}.{fk_column}" in str(foreign_key)
@@ -137,13 +140,17 @@ def test_fk_def():
             "type": "object",
             "x-tablename": "ref_schema",
             "properties": {
-                "schema_id": {"type": "integer", "x-foreign-key": "schema.id"}
+                f"{tablename}_logical name 1_id": {
+                    "type": "integer",
+                    "x-foreign-key": "schema.id",
+                }
             },
         }
     }
 
     array_ref._foreign_key.set_(
         ref_model_name=ref_model_name,
+        logical_name="logical name 1",
         model_schema=model_schema,
         schemas=schemas,
         fk_column=fk_column,
@@ -154,7 +161,10 @@ def test_fk_def():
             "type": "object",
             "x-tablename": "ref_schema",
             "properties": {
-                "schema_id": {"type": "integer", "x-foreign-key": "schema.id"}
+                f"{tablename}_logical name 1_id": {
+                    "type": "integer",
+                    "x-foreign-key": "schema.id",
+                }
             },
         }
     }
diff --git a/tests/open_alchemy/column_factory/array_ref/test_integration.py b/tests/open_alchemy/column_factory/array_ref/test_integration.py
index 920553ee..7d71e45a 100644
--- a/tests/open_alchemy/column_factory/array_ref/test_integration.py
+++ b/tests/open_alchemy/column_factory/array_ref/test_integration.py
@@ -48,7 +48,7 @@ def test_handle_array():
                 {
                     "type": "object",
                     "properties": {
-                        f"{tablename}_id": {
+                        f"{tablename}_ref_schema_id": {
                             "type": "integer",
                             "x-foreign-key": f"{tablename}.id",
                             "x-dict-ignore": True,
@@ -111,7 +111,7 @@ def test_handle_array_backref():
                 {
                     "type": "object",
                     "properties": {
-                        f"{tablename}_id": {
+                        f"{tablename}_ref_schema_id": {
                             "type": "integer",
                             "x-foreign-key": f"{tablename}.id",
                             "x-dict-ignore": True,
diff --git a/tests/open_alchemy/column_factory/array_ref/test_link.py b/tests/open_alchemy/column_factory/array_ref/test_link.py
index 91fd8fe8..cee9e4df 100644
--- a/tests/open_alchemy/column_factory/array_ref/test_link.py
+++ b/tests/open_alchemy/column_factory/array_ref/test_link.py
@@ -20,6 +20,7 @@ def test_schemas():
     ref_schema = {"type": "object", "x-tablename": "ref_schema", "properties": {}}
     artifacts = types.ObjectArtifacts(
         spec=copy.deepcopy(ref_schema),
+        logical_name="ref_schema",
         fk_column="id",
         relationship=types.RelationshipArtifacts(model_name="RefSchema"),
     )
@@ -42,7 +43,7 @@ def test_schemas():
                 {
                     "type": "object",
                     "properties": {
-                        f"{tablename}_id": {
+                        f"{tablename}_ref_schema_id": {
                             "type": "integer",
                             "x-foreign-key": f"{tablename}.id",
                             "x-dict-ignore": True,
@@ -69,6 +70,7 @@ def test_secondary(mocked_facades_models):
     secondary = "association"
     artifacts = types.ObjectArtifacts(
         spec=copy.deepcopy(ref_schema),
+        logical_name="logical name 1",
         fk_column="id",
         relationship=types.RelationshipArtifacts(
             model_name="RefSchema", secondary=secondary
diff --git a/tests/open_alchemy/column_factory/array_ref/test_schema.py b/tests/open_alchemy/column_factory/array_ref/test_schema.py
index a33a1536..82a61ef5 100644
--- a/tests/open_alchemy/column_factory/array_ref/test_schema.py
+++ b/tests/open_alchemy/column_factory/array_ref/test_schema.py
@@ -13,6 +13,7 @@ from open_alchemy.column_factory import array_ref
         (
             types.ObjectArtifacts(
                 spec={},
+                logical_name="logical name 1",
                 fk_column="fk_column",
                 relationship=types.RelationshipArtifacts("RefSchema"),
             ),
@@ -21,6 +22,7 @@ from open_alchemy.column_factory import array_ref
         (
             types.ObjectArtifacts(
                 spec={},
+                logical_name="logical name 1",
                 fk_column="fk_column",
                 relationship=types.RelationshipArtifacts("RefSchema"),
                 description="description 1",
diff --git a/tests/open_alchemy/column_factory/helpers/test_backref.py b/tests/open_alchemy/column_factory/helpers/test_backref.py
index 9e0d5043..cb2cefb4 100644
--- a/tests/open_alchemy/column_factory/helpers/test_backref.py
+++ b/tests/open_alchemy/column_factory/helpers/test_backref.py
@@ -36,6 +36,7 @@ class TestCalculateSchema:
         """
         artifacts = types.ObjectArtifacts(
             spec={},
+            logical_name="logical name 1",
             fk_column="fk_column",
             relationship=types.RelationshipArtifacts(
                 model_name="RefModel", back_reference=None, secondary=None
@@ -89,6 +90,7 @@ class TestCalculateSchema:
         """
         artifacts = types.ObjectArtifacts(
             spec={},
+            logical_name="logical name 1",
             fk_column="fk_column",
             relationship=types.RelationshipArtifacts(
                 model_name="RefModel",
@@ -115,6 +117,7 @@ def test_record_backref_none():
     """
     artifacts = types.ObjectArtifacts(
         spec={},
+        logical_name="logical name 1",
         fk_column="fk_column",
         relationship=types.RelationshipArtifacts(
             model_name="RefModel", back_reference=None, secondary=None
@@ -138,6 +141,7 @@ def test_record():
     """
     artifacts = types.ObjectArtifacts(
         spec={},
+        logical_name="logical name 1",
         fk_column="fk_column",
         relationship=types.RelationshipArtifacts(
             model_name="RefModel",
diff --git a/tests/open_alchemy/column_factory/object_ref/test_artifacts.py b/tests/open_alchemy/column_factory/object_ref/test_artifacts.py
index ba5cc4ed..081461a2 100644
--- a/tests/open_alchemy/column_factory/object_ref/test_artifacts.py
+++ b/tests/open_alchemy/column_factory/object_ref/test_artifacts.py
@@ -148,6 +148,23 @@ def test_gather_object_artifacts_spec(schema, schemas):
     assert obj_artifacts.spec == {"type": "object"}
 
 
+@pytest.mark.column
+def test_gather_object_artifacts_logical_name():
+    """
+    GIVEN logical name
+    WHEN gather_object_artifacts is called with the logical name
+    THEN the expected logical name is returned.
+    """
+    schema = {"$ref": "#/components/schemas/RefSchema"}
+    schemas = {"RefSchema": {"type": "object"}}
+
+    obj_artifacts = artifacts.gather(
+        schema=schema, logical_name="logical name 1", schemas=schemas
+    )
+
+    assert obj_artifacts.logical_name == "logical name 1"
+
+
 @pytest.mark.parametrize(
     "schema, schemas",
     [
diff --git a/tests/open_alchemy/column_factory/object_ref/test_foreign_key.py b/tests/open_alchemy/column_factory/object_ref/test_foreign_key.py
index 27da357a..41013b4a 100644
--- a/tests/open_alchemy/column_factory/object_ref/test_foreign_key.py
+++ b/tests/open_alchemy/column_factory/object_ref/test_foreign_key.py
@@ -191,7 +191,10 @@ def test_gather_artifacts_malformed_schema(schema, schemas, fk_column):
     """
     with pytest.raises(exceptions.MalformedSchemaError):
         foreign_key.gather_artifacts(
-            model_schema=schema, schemas=schemas, fk_column=fk_column
+            model_schema=schema,
+            logical_name="logical name 1",
+            schemas=schemas,
+            fk_column=fk_column,
         )
 
 
@@ -304,11 +307,12 @@ def test_gather_artifacts_return(
 
     logical_name, artifacts = foreign_key.gather_artifacts(
         model_schema=schema,
+        logical_name="logical name 1",
         schemas=schemas,
         fk_column="fk",
         required=required,
         nullable=nullable,
     )
 
-    assert logical_name == "table 1_fk"
+    assert logical_name == "logical name 1_fk"
     assert artifacts == expected_artifacts
diff --git a/tests/open_alchemy/column_factory/object_ref/test_schema.py b/tests/open_alchemy/column_factory/object_ref/test_schema.py
index 32b864d0..af927c40 100644
--- a/tests/open_alchemy/column_factory/object_ref/test_schema.py
+++ b/tests/open_alchemy/column_factory/object_ref/test_schema.py
@@ -13,6 +13,7 @@ from open_alchemy.column_factory import object_ref
         (
             types.ObjectArtifacts(
                 spec={},
+                logical_name="logical name 1",
                 fk_column="fk_column",
                 relationship=types.RelationshipArtifacts("RefSchema"),
             ),
@@ -21,6 +22,7 @@ from open_alchemy.column_factory import object_ref
         (
             types.ObjectArtifacts(
                 spec={},
+                logical_name="logical name 1",
                 fk_column="fk_column",
                 relationship=types.RelationshipArtifacts("RefSchema"),
                 nullable=True,
@@ -30,6 +32,7 @@ from open_alchemy.column_factory import object_ref
         (
             types.ObjectArtifacts(
                 spec={},
+                logical_name="logical name 1",
                 fk_column="fk_column",
                 relationship=types.RelationshipArtifacts("RefSchema"),
                 nullable=False,
@@ -39,6 +42,7 @@ from open_alchemy.column_factory import object_ref
         (
             types.ObjectArtifacts(
                 spec={},
+                logical_name="logical name 1",
                 fk_column="fk_column",
                 relationship=types.RelationshipArtifacts("RefSchema"),
                 description="description 1",
diff --git a/tests/open_alchemy/column_factory/test_integration.py b/tests/open_alchemy/column_factory/test_integration.py
index a65a76ee..17652c4e 100644
--- a/tests/open_alchemy/column_factory/test_integration.py
+++ b/tests/open_alchemy/column_factory/test_integration.py
@@ -274,7 +274,7 @@ def test_integration_array_ref():
                 {
                     "type": "object",
                     "properties": {
-                        "schema_id": {
+                        "schema_ref_schema_id": {
                             "type": "integer",
                             "x-foreign-key": "schema.id",
                             "x-dict-ignore": True,
diff --git a/tests/open_alchemy/integration/test_database/test_relationship.py b/tests/open_alchemy/integration/test_database/test_relationship.py
index c39fbef7..4929ff02 100644
--- a/tests/open_alchemy/integration/test_database/test_relationship.py
+++ b/tests/open_alchemy/integration/test_database/test_relationship.py
@@ -240,7 +240,7 @@ def test_one_to_many(engine, sessionmaker):
     assert len(queried_model.ref_tables) == 1
     assert queried_model.ref_tables[0].id == 11
     assert queried_model.ref_tables[0].name == "ref table name 1"
-    assert queried_model.ref_tables[0].table_id == 12
+    assert queried_model.ref_tables[0].table_ref_tables_id == 12
     assert queried_model.ref_tables[0].table.name == "table name 1"
     queried_ref_model = session.query(ref_model).first()
     assert queried_ref_model.id == 11
@@ -535,3 +535,89 @@ def test_ref_all_of(engine, sessionmaker, spec):
     # Querying session
     queried_model = session.query(model).first()
     assert queried_model.column == 1
+
+
+@pytest.mark.integration
+def test_multiple(engine, sessionmaker):
+    """
+    GIVEN specification with a schema with multiple relationships pointing to the same
+        table
+    WHEN schema is created, values inserted in both tables and queried
+    THEN the data is returned as it was inserted with the correct foreign key.
+    """
+    # Defining specification
+    spec = {
+        "components": {
+            "schemas": {
+                "RefTable": {
+                    "properties": {
+                        "id": {"type": "integer", "x-primary-key": True},
+                        "name": {"type": "string"},
+                    },
+                    "x-tablename": "ref_table",
+                    "type": "object",
+                },
+                "Table": {
+                    "properties": {
+                        "id": {"type": "integer", "x-primary-key": True},
+                        "name": {"type": "string"},
+                        "ref_table_first": {
+                            "allOf": [
+                                {"$ref": "#/components/schemas/RefTable"},
+                                {
+                                    "x-kwargs": {
+                                        "foreign_keys": "Table.ref_table_first_id"
+                                    }
+                                },
+                            ]
+                        },
+                        "ref_table_second": {
+                            "allOf": [
+                                {"$ref": "#/components/schemas/RefTable"},
+                                {
+                                    "x-kwargs": {
+                                        "foreign_keys": "Table.ref_table_second_id"
+                                    }
+                                },
+                            ]
+                        },
+                    },
+                    "x-tablename": "table",
+                    "type": "object",
+                },
+            }
+        }
+    }
+    # Creating model factory
+    base = declarative.declarative_base()
+    model_factory = open_alchemy.init_model_factory(spec=spec, base=base)
+    model = model_factory(name="Table")
+    ref_model = model_factory(name="RefTable")
+
+    # Creating models
+    base.metadata.create_all(engine)
+    # Creating instance of model and ref_model
+    ref_model_instance_first = ref_model(id=11, name="ref table name 1")
+    ref_model_instance_second = ref_model(id=21, name="ref table name 2")
+    model_instance = model(
+        id=12,
+        name="table name 1",
+        ref_table_first=ref_model_instance_first,
+        ref_table_second=ref_model_instance_second,
+    )
+    session = sessionmaker()
+    session.add(ref_model_instance_first)
+    session.add(ref_model_instance_second)
+    session.add(model_instance)
+    session.flush()
+
+    # Querying session
+    queried_model = session.query(model).first()
+    assert queried_model.id == 12
+    assert queried_model.name == "table name 1"
+    assert queried_model.ref_table_first_id == 11
+    assert queried_model.ref_table_first.id == 11
+    assert queried_model.ref_table_second_id == 21
+    assert queried_model.ref_table_second.id == 21
+    assert queried_model.ref_table_first.name == "ref table name 1"
+    assert queried_model.ref_table_second.name == "ref table name 2"
diff --git a/tests/open_alchemy/integration/test_to_from_dict.py b/tests/open_alchemy/integration/test_to_from_dict.py
index 29a4240e..2b157a1d 100644
--- a/tests/open_alchemy/integration/test_to_from_dict.py
+++ b/tests/open_alchemy/integration/test_to_from_dict.py
@@ -294,7 +294,7 @@ def test_to_from_dict_one_to_many_fk_def(engine, sessionmaker):
                     "RefTable": {
                         "properties": {
                             "id": {"type": "integer", "x-primary-key": True},
-                            "table_id": {
+                            "table_ref_tables_id": {
                                 "type": "integer",
                                 "x-foreign-key": "table.id",
                             },
@@ -329,7 +329,7 @@ def test_to_from_dict_one_to_many_fk_def(engine, sessionmaker):
     session.add(instance)
     session.flush()
     queried_ref_instance = session.query(ref_model).first()
-    assert queried_ref_instance.to_dict() == {"id": 12, "table_id": 11}
+    assert queried_ref_instance.to_dict() == {"id": 12, "table_ref_tables_id": 11}
 
 
 @pytest.mark.integration

pip install -e .[dev,test]
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-flake8 pytest-flask pytest-flask-sqlalchemy pytest-randomly pytest-bandit typeguard
3.8.0
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
alabaster==0.7.13
alembic==1.14.1
anyio==4.5.2
asgiref==3.8.1
astroid==3.2.4
attrs==25.3.0
babel==2.17.0
bandit==1.7.10
black==24.8.0
blinker==1.8.2
cachetools==5.5.2
certifi==2025.1.31
cfgv==3.4.0
chardet==5.2.0
charset-normalizer==3.4.1
click==8.1.8
colorama==0.4.6
connexion==3.2.0
coverage==7.6.1
dill==0.3.9
distlib==0.3.9
doc8==1.1.2
docutils==0.20.1
exceptiongroup==1.2.2
filelock==3.16.1
flake8==5.0.4
Flask==3.0.3
Flask-SQLAlchemy==3.1.1
greenlet==3.1.1
h11==0.14.0
httpcore==1.0.7
httpx==0.28.1
identify==2.6.1
idna==3.10
imagesize==1.4.1
importlib-resources==5.13.0
importlib_metadata==8.5.0
inflection==0.5.1
iniconfig==2.1.0
isort==5.13.2
itsdangerous==2.2.0
Jinja2==3.1.6
jsonschema==4.23.0
jsonschema-specifications==2023.12.1
Mako==1.3.9
markdown-it-py==3.0.0
MarkupSafe==2.1.5
mccabe==0.7.0
mdurl==0.1.2
mypy==1.14.1
mypy-extensions==1.0.0
nodeenv==1.9.1
-e git+https://github.com/jdkandersson/OpenAlchemy.git@e71c56353d4d0e1cbe8f6aef0dc26e2ab76d1ad8#egg=OpenAlchemy
packaging==24.2
pathspec==0.12.1
pbr==6.1.1
pkgutil_resolve_name==1.3.10
platformdirs==4.3.6
pluggy==1.5.0
pre-commit==3.5.0
pycodestyle==2.9.1
pydocstyle==6.3.0
pyflakes==2.5.0
Pygments==2.19.1
pylint==3.2.7
pyproject-api==1.8.0
pytest==8.3.5
pytest-bandit==0.6.1
pytest-cov==5.0.0
pytest-flake8==1.2.2
pytest-flask==1.3.0
pytest-flask-sqlalchemy==1.1.0
pytest-mock==3.14.0
pytest-randomly==3.15.0
python-multipart==0.0.20
pytz==2025.2
PyYAML==6.0.2
referencing==0.35.1
requests==2.32.3
restructuredtext_lint==1.4.0
rich==14.0.0
rpds-py==0.20.1
sniffio==1.3.1
snowballstemmer==2.2.0
Sphinx==7.1.2
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.1
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
SQLAlchemy==2.0.40
sqlalchemy-stubs==0.4
starlette==0.44.0
stevedore==5.3.0
swagger_ui_bundle==1.1.0
tomli==2.2.1
tomlkit==0.13.2
tox==4.25.0
tox-pyenv==1.1.0
typeguard==4.4.0
typing_extensions==4.13.0
urllib3==2.2.3
virtualenv==20.29.3
Werkzeug==3.0.6
zipp==3.20.2

name: OpenAlchemy
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - libedit=3.1.20230828=h5eee18b_0
  - libffi=3.2.1=hf484d3e_1007
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=24.2=py38h06a4308_0
  - python=3.8.0=h0371630_2
  - readline=7.0=h7b6447c_5
  - setuptools=75.1.0=py38h06a4308_0
  - sqlite=3.33.0=h62c20be_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.44.0=py38h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - alabaster==0.7.13
      - alembic==1.14.1
      - anyio==4.5.2
      - asgiref==3.8.1
      - astroid==3.2.4
      - attrs==25.3.0
      - babel==2.17.0
      - bandit==1.7.10
      - black==24.8.0
      - blinker==1.8.2
      - cachetools==5.5.2
      - certifi==2025.1.31
      - cfgv==3.4.0
      - chardet==5.2.0
      - charset-normalizer==3.4.1
      - click==8.1.8
      - colorama==0.4.6
      - connexion==3.2.0
      - coverage==7.6.1
      - dill==0.3.9
      - distlib==0.3.9
      - doc8==1.1.2
      - docutils==0.20.1
      - exceptiongroup==1.2.2
      - filelock==3.16.1
      - flake8==5.0.4
      - flask==3.0.3
      - flask-sqlalchemy==3.1.1
      - greenlet==3.1.1
      - h11==0.14.0
      - httpcore==1.0.7
      - httpx==0.28.1
      - identify==2.6.1
      - idna==3.10
      - imagesize==1.4.1
      - importlib-metadata==8.5.0
      - importlib-resources==5.13.0
      - inflection==0.5.1
      - iniconfig==2.1.0
      - isort==5.13.2
      - itsdangerous==2.2.0
      - jinja2==3.1.6
      - jsonschema==4.23.0
      - jsonschema-specifications==2023.12.1
      - mako==1.3.9
      - markdown-it-py==3.0.0
      - markupsafe==2.1.5
      - mccabe==0.7.0
      - mdurl==0.1.2
      - mypy==1.14.1
      - mypy-extensions==1.0.0
      - nodeenv==1.9.1
      - packaging==24.2
      - pathspec==0.12.1
      - pbr==6.1.1
      - pkgutil-resolve-name==1.3.10
      - platformdirs==4.3.6
      - pluggy==1.5.0
      - pre-commit==3.5.0
      - pycodestyle==2.9.1
      - pydocstyle==6.3.0
      - pyflakes==2.5.0
      - pygments==2.19.1
      - pylint==3.2.7
      - pyproject-api==1.8.0
      - pytest==8.3.5
      - pytest-bandit==0.6.1
      - pytest-cov==5.0.0
      - pytest-flake8==1.2.2
      - pytest-flask==1.3.0
      - pytest-flask-sqlalchemy==1.1.0
      - pytest-mock==3.14.0
      - pytest-randomly==3.15.0
      - python-multipart==0.0.20
      - pytz==2025.2
      - pyyaml==6.0.2
      - referencing==0.35.1
      - requests==2.32.3
      - restructuredtext-lint==1.4.0
      - rich==14.0.0
      - rpds-py==0.20.1
      - sniffio==1.3.1
      - snowballstemmer==2.2.0
      - sphinx==7.1.2
      - sphinxcontrib-applehelp==1.0.4
      - sphinxcontrib-devhelp==1.0.2
      - sphinxcontrib-htmlhelp==2.0.1
      - sphinxcontrib-jsmath==1.0.1
      - sphinxcontrib-qthelp==1.0.3
      - sphinxcontrib-serializinghtml==1.1.5
      - sqlalchemy==2.0.40
      - sqlalchemy-stubs==0.4
      - starlette==0.44.0
      - stevedore==5.3.0
      - swagger-ui-bundle==1.1.0
      - tomli==2.2.1
      - tomlkit==0.13.2
      - tox==4.25.0
      - tox-pyenv==1.1.0
      - typeguard==4.4.0
      - typing-extensions==4.13.0
      - urllib3==2.2.3
      - virtualenv==20.29.3
      - werkzeug==3.0.6
      - zipp==3.20.2
prefix: /opt/conda/envs/OpenAlchemy

tests/open_alchemy/column_factory/test_integration.py::test_integration_simple_json[simple] tests/open_alchemy/column_factory/test_integration.py::test_integration_kwargs tests/open_alchemy/column_factory/test_integration.py::test_integration_all_of tests/open_alchemy/column_factory/test_integration.py::test_integration_object_ref_read_only tests/open_alchemy/column_factory/test_integration.py::test_integration_simple[any tests/open_alchemy/column_factory/test_integration.py::test_integration_object_ref tests/open_alchemy/column_factory/test_integration.py::test_integration_array_ref_read_only tests/open_alchemy/column_factory/test_integration.py::test_integration_ref tests/open_alchemy/column_factory/test_integration.py::test_integration_simple_json[object] tests/open_alchemy/column_factory/test_integration.py::test_integration_simple_json[array] tests/open_alchemy/column_factory/test_integration.py::test_integration_array_ref tests/open_alchemy/column_factory/array_ref/test_link.py::test_schemas tests/open_alchemy/column_factory/array_ref/test_link.py::test_secondary tests/open_alchemy/column_factory/helpers/test_backref.py::test_record_backref_none tests/open_alchemy/column_factory/helpers/test_backref.py::test_record tests/open_alchemy/column_factory/helpers/test_backref.py::TestCalculateSchema::test_valid[from tests/open_alchemy/column_factory/helpers/test_backref.py::TestCalculateSchema::test_invalid tests/examples/test_example_specs.py::test_single_model[sqlite:///:memory:-simple tests/examples/test_example_specs.py::test_single_model[sqlite:///:memory:-all-of-model tests/examples/test_example_specs.py::test_single_model[sqlite:///:memory:-unique-constraint tests/examples/test_example_specs.py::test_single_model[sqlite:///:memory:-json tests/examples/test_example_specs.py::test_single_model[sqlite:///:memory:-ref-model tests/examples/test_example_specs.py::test_relationship[sqlite:///:memory:-relationship-many-to-one-custom-foreign-key] tests/examples/test_example_specs.py::test_single_model[sqlite:///:memory:-read_only tests/examples/test_example_specs.py::test_relationship[sqlite:///:memory:-relationship-many-to-one-not-nullable] tests/examples/test_example_specs.py::test_inheritance[sqlite:///:memory:-single tests/examples/test_example_specs.py::test_single_model[sqlite:///:memory:-all-of-column tests/examples/test_example_specs.py::test_relationship[sqlite:///:memory:-relationship-many-to-many] tests/examples/test_example_specs.py::test_inheritance[sqlite:///:memory:-joined tests/examples/test_example_specs.py::test_relationship[sqlite:///:memory:-relationship-one-to-one] tests/examples/test_example_specs.py::test_relationship[sqlite:///:memory:-relationship-many-to-one] tests/examples/test_example_specs.py::test_relationship[sqlite:///:memory:-relationship-many-to-one-backref] tests/examples/test_example_specs.py::test_single_model[sqlite:///:memory:-composite-index tests/examples/test_example_specs.py::test_single_model[sqlite:///:memory:-default tests/examples/test_example_specs.py::test_single_model[sqlite:///:memory:-ref-column tests/examples/test_example_specs.py::test_relationship[sqlite:///:memory:-relationship-one-to-many] tests/open_alchemy/column_factory/array_ref/test_schema.py::test_calculate[plain] tests/open_alchemy/column_factory/array_ref/test_schema.py::test_calculate[description] tests/open_alchemy/column_factory/object_ref/test_foreign_key.py::test_gather_artifacts_malformed_schema[id tests/open_alchemy/column_factory/object_ref/test_foreign_key.py::test_gather_artifacts_malformed_schema[no tests/open_alchemy/column_factory/object_ref/test_foreign_key.py::test_check_required_invalid_schema[wrong tests/open_alchemy/column_factory/object_ref/test_foreign_key.py::test_check_required[in tests/open_alchemy/column_factory/object_ref/test_foreign_key.py::test_check_required_invalid_schema[no tests/open_alchemy/column_factory/object_ref/test_foreign_key.py::test_gather_artifacts_return[property tests/open_alchemy/column_factory/object_ref/test_foreign_key.py::test_gather_artifacts_return[nullable tests/open_alchemy/column_factory/object_ref/test_foreign_key.py::test_gather_artifacts_return[plain tests/open_alchemy/column_factory/object_ref/test_foreign_key.py::test_check_required_foreign_key_none tests/open_alchemy/column_factory/object_ref/test_foreign_key.py::test_gather_artifacts_malformed_schema[custom tests/open_alchemy/column_factory/object_ref/test_foreign_key.py::test_gather_artifacts_return[with tests/open_alchemy/column_factory/object_ref/test_foreign_key.py::test_gather_artifacts_return[required tests/open_alchemy/column_factory/object_ref/test_foreign_key.py::test_check_required[not tests/examples/test_example_specs.py::flake-8::FLAKE8 tests/open_alchemy/column_factory/array_ref/test_foreign_key.py::flake-8::FLAKE8 tests/open_alchemy/column_factory/array_ref/test_integration.py::flake-8::FLAKE8 tests/open_alchemy/column_factory/array_ref/test_link.py::flake-8::FLAKE8 tests/open_alchemy/column_factory/array_ref/test_schema.py::flake-8::FLAKE8 tests/open_alchemy/column_factory/helpers/test_backref.py::flake-8::FLAKE8 tests/open_alchemy/column_factory/object_ref/test_artifacts.py::flake-8::FLAKE8 tests/open_alchemy/column_factory/object_ref/test_foreign_key.py::flake-8::FLAKE8 tests/open_alchemy/column_factory/object_ref/test_schema.py::flake-8::FLAKE8 tests/open_alchemy/column_factory/test_integration.py::flake-8::FLAKE8 tests/open_alchemy/integration/test_database/test_relationship.py::flake-8::FLAKE8 tests/open_alchemy/integration/test_to_from_dict.py::flake-8::FLAKE8 tests/open_alchemy/column_factory/object_ref/test_schema.py::test_calculate_schema[nullable tests/open_alchemy/column_factory/object_ref/test_schema.py::test_calculate_schema[plain] tests/open_alchemy/column_factory/object_ref/test_schema.py::test_calculate_schema[description] tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_fk_column[allOf tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_uselist[$ref tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_backref[allOf tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_all_of_error[multiple tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_secondary[$ref tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_secondary[allOf tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_all_of_error[object] tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_uselist[allOf tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_description[allOf tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_uselist_no_backref tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_nullable[$ref tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_kwargs[$ref tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_no_ref_all_of tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_kwargs[allOf tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_fk_column[$ref tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_spec[allOf] tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_ref_error[no tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_backref[$ref tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_description[$ref tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_kwargs_invalid[invalid tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_nullable[allOf tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_ref_logical_name[allOf] tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_spec[$ref] tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_ref_logical_name[$ref] tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_logical_name tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_kwargs_invalid[backref tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_spec[$ref tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_gather_object_artifacts_kwargs_invalid[secondary tests/open_alchemy/column_factory/object_ref/test_artifacts.py::test_ref_error[not tests/open_alchemy/integration/test_database/test_relationship.py::test_ref_all_of[sqlite:///:memory:-ref tests/open_alchemy/integration/test_database/test_relationship.py::test_ref_all_of[sqlite:///:memory:-allOf tests/open_alchemy/integration/test_database/test_relationship.py::test_one_to_many_relationship_other_order[sqlite:///:memory:] tests/open_alchemy/integration/test_database/test_relationship.py::test_one_to_one[sqlite:///:memory:] tests/open_alchemy/integration/test_database/test_relationship.py::test_many_to_many[sqlite:///:memory:] tests/open_alchemy/integration/test_database/test_relationship.py::test_many_to_one[sqlite:///:memory:] tests/open_alchemy/integration/test_database/test_relationship.py::test_multiple[sqlite:///:memory:] tests/open_alchemy/integration/test_database/test_relationship.py::test_many_to_one_relationship_fk[sqlite:///:memory:] tests/open_alchemy/integration/test_database/test_relationship.py::test_one_to_many[sqlite:///:memory:] tests/open_alchemy/integration/test_database/test_relationship.py::test_one_to_many_relationship_kwargs[sqlite:///:memory:] tests/open_alchemy/column_factory/array_ref/test_integration.py::test_handle_array_backref tests/open_alchemy/integration/test_to_from_dict.py::test_basic_types[sqlite:///:memory:-integer] tests/open_alchemy/integration/test_to_from_dict.py::test_inheritance[sqlite:///:memory:] tests/open_alchemy/integration/test_to_from_dict.py::test_to_from_dict_one_to_one_read_only[sqlite:///:memory:] tests/open_alchemy/integration/test_to_from_dict.py::test_to_from_dict_one_to_many_read_only[sqlite:///:memory:] tests/open_alchemy/integration/test_to_from_dict.py::test_to_from_dict_many_to_many_read_only[sqlite:///:memory:] tests/open_alchemy/integration/test_to_from_dict.py::test_basic_types[sqlite:///:memory:-date] tests/open_alchemy/integration/test_to_from_dict.py::test_to_from_dict_many_to_many[sqlite:///:memory:] tests/open_alchemy/integration/test_to_from_dict.py::test_to_from_dict_many_to_one_read_only[sqlite:///:memory:] tests/open_alchemy/integration/test_to_from_dict.py::test_basic_types[sqlite:///:memory:-date-time] tests/open_alchemy/integration/test_to_from_dict.py::test_to_from_dict_one_to_many_fk_def[sqlite:///:memory:] tests/open_alchemy/integration/test_to_from_dict.py::test_basic_types[sqlite:///:memory:-binary] tests/open_alchemy/integration/test_to_from_dict.py::test_to_from_dict_one_to_many[sqlite:///:memory:] tests/open_alchemy/integration/test_to_from_dict.py::test_to_from_dict_many_to_one[sqlite:///:memory:] tests/open_alchemy/column_factory/array_ref/test_foreign_key.py::test_schemas[plain] tests/open_alchemy/column_factory/array_ref/test_foreign_key.py::test_schemas_missing tests/open_alchemy/column_factory/array_ref/test_foreign_key.py::test_fk_def tests/open_alchemy/column_factory/array_ref/test_foreign_key.py::test_schemas[allOf tests/open_alchemy/column_factory/array_ref/test_foreign_key.py::test_models
tests/examples/test_example_specs.py::test_table_args[sqlite:///:memory:-simple tests/examples/test_example_specs.py::test_table_args[sqlite:///:memory:-unique-constraint tests/examples/test_example_specs.py::test_table_args[sqlite:///:memory:-composite-index tests/open_alchemy/column_factory/array_ref/test_integration.py::test_handle_array
open_alchemy/types.py open_alchemy/column_factory/array_ref/link.py open_alchemy/column_factory/array_ref/foreign_key.py setup.py open_alchemy/column_factory/object_ref/foreign_key.py CHANGELOG.md open_alchemy/column_factory/object_ref/artifacts.py README.md
open_alchemy/types.py open_alchemy/column_factory/array_ref/link.py open_alchemy/column_factory/array_ref/foreign_key.py setup.py open_alchemy/column_factory/object_ref/foreign_key.py CHANGELOG.md open_alchemy/column_factory/object_ref/artifacts.py README.md