local Model = require("lapis.db.model").Model -- stations -- - name/id local Stations = Model:extend("stations", { -- "station", types.integer -- "name", types.varchar -- "image", types.varchar timestamp = true, relations = { {"airtimes", has_many = "Airtimes"} } }) return Stations