B
B
beginer1232016-08-30 11:45:53
Flask
beginer123, 2016-08-30 11:45:53

Python migration default value for timestamp?

I'm trying to make a migration

class Table(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(800))

How else can I add one field that will store the value of the current timestamp in milliseconds?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question