Gregniuki commited on
Commit
b8199c4
1 Parent(s): 5134246

Update models.py

Browse files
Files changed (1) hide show
  1. models.py +4 -3
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 database import Base
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