(a) The governing body of a Class 1 municipality may adopt a vacant property registration ordinance that establishes a vacant property registration and maintenance program that applies to any type of residential or commercial buildings, or both, located within the corporate limits of the municipality, except that a vacant property registration ordinance shall not apply to property owned by the federal government, the State of Alabama, any political subdivision thereof, or a public corporation.
(b) A vacant property registration ordinance shall create a citywide vacant property registration database and clearly designate a program administrator.