This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
billyZduke
A PHP example of my question:
echo (Schema::hasColumns('users', ['email','username','height','weight','favorite_color'])) ? 'Has All Columns' : '???';
Does Schema::hasColumns() return false if any one of the column names in the array is not present? Or do ALL of the named columns have to be missing from the table for it to return false?
Last updated
1-3 of 3