add options for primary_key