Corrected model for table prefix assignment