def METHOD_NAME():
    conn = op.get_bind()
    conn.execute(
        text(
            "ALTER TABLE accounttransaction "
            " MODIFY COLUMN updated_at DATETIME NOT NULL DEFAULT '1970-01-01 00:00:00'"
        )
    )
    conn.execute(
        text(
            "ALTER TABLE messagecategory"
            " MODIFY COLUMN updated_at DATETIME NOT NULL DEFAULT '1970-01-01 00:00:00'"
        )
    )
    conn.execute(
        text(
            "ALTER TABLE messagecontactassociation"
            " MODIFY COLUMN updated_at DATETIME NOT NULL DEFAULT '1970-01-01 00:00:00'"
        )
    )
    conn.execute(
        text(
            "ALTER TABLE transaction"
            " MODIFY COLUMN updated_at DATETIME NOT NULL DEFAULT '1970-01-01 00:00:00'"
        )
    )
    conn.execute(
        text("ALTER TABLE accounttransaction DROP updated_at, DROP deleted_at")
    )
    conn.execute(text("ALTER TABLE messagecategory DROP updated_at, DROP deleted_at"))
    conn.execute(
        text("ALTER TABLE messagecontactassociation DROP updated_at, DROP deleted_at")
    )
    conn.execute(
        text(
            "ALTER TABLE thread DROP deleted_at, DROP INDEX"
            " ix_thread_namespace_id_recentdate_deleted_at"
        )
    )
    conn.execute(text("ALTER TABLE transaction DROP deleted_at, DROP updated_at"))
    if conn.engine.has_table("easdevice"):
        # Run EAS specific migrations
        conn.execute(
            text(
                "ALTER TABLE easdevice"
                " MODIFY COLUMN updated_at DATETIME NOT NULL DEFAULT '1970-01-01 00:00:00'"
            )
        )
        conn.execute(text("ALTER TABLE easdevice DROP deleted_at, DROP updated_at"))