The mayor shall have the revision of all ordinances, motions, orders, or resolutions passed by the council. The mayor shall have four days after the same shall have been passed by the council in which to file in writing with the city clerk the veto of such ordinances, motions, orders, or resolutions to which the mayor shall dissent; but the council within 30 days thereafter shall have the power to pass such ordinances, motions, orders, or resolutions, notwithstanding such veto, by an affirmative vote of four of the six members of the council, at a meeting of such body, to be taken by yeas and nays and entered upon the minutes.