ponyorm / editor

5 stars 0 forks source link

Sqlite database name is ignored, :memory: is always used #4

Closed stenci closed 7 years ago

stenci commented 7 years ago

The Python code for Sqlite database created with the online editor always ends with the following two lines:

db.bind("sqlite", ":memory:", create_db=True)
db.generate_mapping(create_tables=True)

I don't remember ever manually changing them. I think they came out with the correct database name, as set in the settings page. Also the two checkboxes in the mapping settings are ignored: "Create database" and "Create tables".

Is it a regression?

amalashkevich commented 7 years ago

It is a regression. Will deploy the fix tomorrow. Thanks!

amalashkevich commented 7 years ago

Should be fixed now.