Can i create two tables at single time while installation of custom plugin? April 17, 2022 by Tarik Billa Seems to me you are just executing one query: dbDelta($sql);. Have you tried adding dbDelta($sql_sms_table);?