create_table_fare_restriction_defs

passengersim.database.tables.create_table_fare_restriction_defs(db: Database | Connection, 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:
db : Database or sqlite3.Connection

restrictions : list[str]

The restrictions to store in the database.