For geo data like that your best options are to either store it as a file and save a pointer to that file in the database, or store each coordinate pair along the line as a separate row (similar to what SpatiaLite or a geopackage would do). But unless you need to perform spatial queries on the data, saving it in a separate file is best.