Update models.py
Browse files
models.py
CHANGED
@@ -1,10 +1,11 @@
|
|
|
|
|
|
1 |
from sqlalchemy import Column, Integer, String, DateTime, ForeignKey
|
2 |
from sqlalchemy.orm import relationship
|
3 |
from sqlalchemy.sql import func
|
4 |
-
from
|
5 |
-
|
6 |
-
Base = declarative_base()
|
7 |
|
|
|
8 |
class User(Base):
|
9 |
__tablename__ = "users"
|
10 |
|
|
|
1 |
+
# models.py
|
2 |
+
|
3 |
from sqlalchemy import Column, Integer, String, DateTime, ForeignKey
|
4 |
from sqlalchemy.orm import relationship
|
5 |
from sqlalchemy.sql import func
|
6 |
+
from base import Base
|
|
|
|
|
7 |
|
8 |
+
# Your model definitions here
|
9 |
class User(Base):
|
10 |
__tablename__ = "users"
|
11 |
|