This commit is contained in:
Noretsa 2023-02-15 20:06:46 +03:00
parent 0b3e3b291d
commit 99681d0103

View File

@ -10,6 +10,7 @@ db = SQLAlchemy(app)
class Product(db.Model):
"""Class for products."""
"""another string"""
id = db.Column(db.Integer(), primary_key=True)
name = db.Column(db.String(length=50), nullable=False, unique=True)