Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check table exists in db laravel

if (!Schema::hasTable('table_name')) {
    // Code to create table
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #table #exists #db #laravel
ADD COMMENT
Topic
Name
1+2 =