python - Error in Sandman when using Postgres DB -


I am trying to create an API and using wrapper made by Jeff Nupup (thanks for the awesome book) I am trying to Anyway, Sandman is not really useful to me this time as it is called. This is what I am trying to do: sandman import app import psycopg2 app.config ['SQLALCHEMY_DATABASE_URI'] = 'Postgrescale + psycopg2: // user: pw @ ec2-54-235:

  -245-180.com Pat 1.amazonaws.com:5432/d1hvkbpmj6bpqu 'active from active sandman.model import () app.run ()  

The feedback that I get It's been the following:

sqlalchemy.exc.ArgumentError: Mapper Mapper | Schema_migrations | Schema_migrations could not collect any primary key column for mapped table 'schema_migrations'


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -