Premium Component
This is a premium Content. Upgrade to access the content and more premium features.
Upgrade to PremiumDeveloperBreeze
It looks like you're using an adblocker. Our website relies on ads to keep running. Please consider disabling your adblocker to support us and access the content.
This is a premium Content. Upgrade to access the content and more premium features.
Upgrade to PremiumMore content you might like
<p>{{ $user->name }}</p>Avoid using {!! !!} unless you trust the data completely.
Queries Executed:
SELECT * FROM postsSELECT * FROM users WHERE id IN (?, ?, ?) (one query for all authors) <p>Current Theme: {{ $globalData['app_theme'] }}</p>
<p>API Limit: {{ $globalData['api_limit'] }}</p>Use the compact or with methods to pass data directly from controllers.
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSiteSettingsTable extends Migration
{
public function up()
{
Schema::create('site_settings', function (Blueprint $table) {
$table->id();
$table->string('key')->unique();
$table->string('value')->nullable();
$table->timestamps();
});
}
public function down()
{
Schema::dropIfExists('site_settings');
}
} php artisan migratePlease sign in to join the discussion.
No comments yet. Be the first to share your thoughts!