Search code examples
pythonormstorm-orm

Storm ORM and auto generation table


I stating read Storm ORM docs, and try some examples with sqlite. I have one question, can Storm automaticaly create tables from models or no? I don't want to do this:

store.execute("CREATE TABLE person "
              "(id INTEGER PRIMARY KEY, name VARCHAR)")

every time when I want to create new table, also this is not good when table alredy exists.


Solution

  • Storm ORM haven't feature for autocreating tables. I start use peewee ORM it looks very nice.