Skip to content

Primary Key is missing #17

@oakca

Description

@oakca

I am sending a table to OEP via oedialect. Setup table looks like following:

        table = sa.Table(
            table_name,
            metadata,
            sa.Column('index', sa.Integer, primary_key=True,
                      autoincrement=True, nullable=False),
            sa.Column('property', sa.VARCHAR(50)),
            sa.Column('value', sa.Float()),
            schema=schema_name)

It is in OEP>sandbox>mimo_global_prop. I checked the table with pgadmin, it is there, and index column also exists. However, in pgadmin index is not primary key.

Is it a bug or am I setuping the table wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions