Green: ouput schema seems ok

This commit is contained in:
Colin Goutte 2023-08-25 22:21:59 +02:00
parent e40df4886f
commit 5039cd66aa
1 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,4 @@
from sqlalchemy import Column, ForeignKey, Integer, String
from sqlalchemy import Column, ForeignKey, Integer, String, Float
from database import Base
@ -9,3 +8,11 @@ class Movie(Base):
id = Column(Integer, primary_key=True, index=True)
name = Column(String, index=True)
title = Column(String, index=True)
vote_count = Column(Integer)
vote_average = Column(Float)
genres = Column(String) # String array dimention 1
description = Column(String)
release_date = Column(String)