title: Using Slick (Scala), is there a way to add a column to a table 'on the fly'?
body: <p>I would like to write my Scala+Slick application so that a user could configure additional columns to a table without having to modify the source code.  Is there a way to do that?</p>
  
  <p>Adam S - Yes, that is what I am thinking of.  The program would come with a default configuration file, and the end user/administrator could optionally add new columns to some of the tables and when the program started it would add those columns.</p>
  
  <p>There are a few other ways I was thinking of going, such as configuring the initial table with spare columns that the user would configure (but that suffers from limiting the number of spares and pre-defining the types).     Another way was to define a second table that had the same primary key(s) as the original, and have it contain only user defined data, and then the program would have to deal with maintaining both tables (each would have the same number of rows), which would allow the original default table to be handled more conventionally.   The two tables might be kept in sync with database functions (which would make it database specific).</p>