make_sql_persistent