public static MediaTable create ( String tableName , String idColumnName , List < UserCustomColumn > additionalColumns ) { List < UserCustomColumn > columns = new ArrayList <> ( ) ; columns . addAll ( createRequiredColumns ( idColumnName ) ) ; if ( additionalColumns != null ) { columns . addAll ( additionalColumns ) ; } return new MediaTable ( tableName , columns , idColumnName ) ; }
Create a media table with the id column and minimum required columns followed by the additional columns