Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
Change media column to nullable with default null
Sebastian Albertf7566c34eadc
diff --git a/database/migrations/2026_01_14_232321_create_posts_table.php b/database/migrations/2026_01_14_232321_create_posts_table.phpindex a44113630..bf9593a9b 100644--- a/database/migrations/2026_01_14_232321_create_posts_table.php+++ b/database/migrations/2026_01_14_232321_create_posts_table.php@@ -18,7 +18,7 @@ return new class extends Migration$table->uuid('workspace_id');$table->uuid('user_id')->nullable();$table->text('content')->nullable();- $table->json('media')->default('[]');+ $table->json('media')->nullable()->default(null);$table->string('status')->default('draft');$table->timestamp('scheduled_at')->nullable();$table->timestamp('published_at')->nullable();