The cinder.db.sqlalchemy.migrate_repo.versions.085_modify_workers_updated_at Module

The cinder.db.sqlalchemy.migrate_repo.versions.085_modify_workers_updated_at Module

upgrade(migrate_engine)

Add microseconds precision on updated_at field in MySQL databases.

PostgreSQL, SQLite, and MSSQL have sub-second precision by default, but MySQL defaults to second precision in DateTime fields, which creates problems for the resource cleanup mechanism.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.