updated table creation to not create a primary key if one is not passed
to it.