create_table_fare_restriction_defs

passengersim.database.tables.create_table_fare_restriction_defs(cnx: Database, restrictions: list[str]) None[source]

Create and populate a static database table of fare restrictions.

The contents of this table is static input data, used but not mutated by the simulator.

Parameters:
cnx : Database

restrictions : list[str]

The restrictions to store in the database.