Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Primary Key is missing #17

Open
oakca opened this issue Mar 18, 2019 · 0 comments
Open

Primary Key is missing #17

oakca opened this issue Mar 18, 2019 · 0 comments
Labels

Comments

@oakca
Copy link

oakca commented Mar 18, 2019

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?

@oakca oakca added the bug label Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant