mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
add primary key constraint support
This commit is contained in:
parent
91114a72c5
commit
a3d968cd55
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ sqlite.enable_shared_cache(True)
|
|||
|
||||
from sqlalchemy import (Table, Integer, Float, Column, MetaData,
|
||||
ForeignKey, Boolean, String, Date,
|
||||
UniqueConstraint, Index)
|
||||
UniqueConstraint, Index, PrimaryKeyConstraint)
|
||||
from sqlalchemy import create_engine
|
||||
from sqlalchemy.orm import mapper, sessionmaker, relation, backref, \
|
||||
object_session as _object_session
|
||||
|
|
|
|||
Loading…
Reference in a new issue