trypost/database/migrations
Paulo Castellano d84666360a refactor(linkedin): infer post format from media + unify account connection
Collapse LinkedIn to one content type per account kind (linkedin_post, linkedin_page_post). Publishers infer the publish format from the attached media — text, single image/video, multi-image carousel, or PDF document — matching how facebook_post/x_post already work; PDF is exclusive of any other attachment. Removes the editor variant picker, keeping only the PDF document title field. Includes a data migration collapsing the retired carousel/document content types.

Replace the two LinkedIn account cards with a single Connect LinkedIn button: one unified OAuth grant (linkedin-openid driver, union of scopes) then a post-callback identity picker to post as the personal profile (linkedin) or a company page the member administers (linkedin-page). The chosen organization is validated against the admin-verified list from the OAuth grant. Per-capability gating via LINKEDIN_ENABLED / LINKEDIN_PAGE_ENABLED supports profile-only or org-only self-hosting. Removes LinkedInPageController, LinkedInTokenSynchronizer, the standalone linkedin-page connect routes, and the unused redirect_page config.
2026-06-24 21:05:09 -03:00
..
0001_01_01_000000_create_users_table.php feat: implement consolidated authentication settings including session management and social provider integration 2026-05-03 17:42:44 -03:00
0001_01_01_000001_create_cache_table.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
0001_01_01_000002_create_jobs_table.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
2026_01_14_231039_create_plans_table.php feat: transition AI usage from feature-based limits to a centralized monthly credit system with token tracking. 2026-05-03 19:36:26 -03:00
2026_01_14_231040_create_accounts_table.php feat: redesign billing, onboarding, sidebar, and settings architecture 2026-04-15 00:33:38 -03:00
2026_01_14_232315_create_workspaces_table.php feat: replace legacy AI assistant with modular post content generation, review, and template management system 2026-05-03 09:36:50 -03:00
2026_01_14_232317_create_subscriptions_table.php feat: introduce Account entity as billing owner and refactor architecture 2026-04-14 22:22:04 -03:00
2026_01_14_232318_create_subscription_items_table.php refactor: consolidate billing migrations into original files 2026-04-14 18:59:43 -03:00
2026_01_14_232319_create_user_workspace_table.php refactor: consolidate billing migrations into original files 2026-04-14 18:59:43 -03:00
2026_01_14_232320_create_social_accounts_table.php feat: implement paginated social accounts table with search functionality and updated UI components 2026-05-02 14:15:41 -03:00
2026_01_14_232321_create_posts_table.php Change media column to nullable with default null 2026-05-19 08:19:40 +02:00
2026_01_14_232322_create_post_platforms_table.php feat: add PostCommentCreated broadcast event 2026-04-15 20:11:36 -03:00
2026_01_14_232323_create_medias_table.php refactor: consolidate billing migrations into original files 2026-04-14 18:59:43 -03:00
2026_01_14_233835_create_workspace_invites_table.php feat: @mentions in comments, AI Action layer + MCP tools, settings tabs 2026-05-01 20:59:03 -03:00
2026_01_17_152319_create_workspace_signatures_table.php chore: remove deprecated localization files 2026-05-03 15:23:25 -03:00
2026_01_17_153347_create_workspace_labels_table.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
2026_01_26_173538_create_post_workspace_label_table.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
2026_03_29_233024_create_telescope_entries_table.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
2026_03_30_024008_replace_language_id_with_locale_on_users.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
2026_03_30_115716_drop_locale_from_users.php refactor: auth split layout, subscribe redesign, onboarding, i18n, cookie locale 2026-03-30 11:53:42 -03:00
2026_03_30_120000_add_indexes_to_post_platforms.php feat: PostPlatform enum, failure email, DB indexes, rate limiting, tests 2026-03-30 16:11:38 -03:00
2026_03_30_191151_create_notifications_table.php feat: add PostCommentCreated broadcast event 2026-04-15 20:11:36 -03:00
2026_03_30_202513_create_notification_preferences_table.php feat: @mentions in comments, AI Action layer + MCP tools, settings tabs 2026-05-01 20:59:03 -03:00
2026_03_30_215118_add_is_active_to_social_accounts.php chore: posthog, ui, features and more 2026-03-30 21:18:07 -03:00
2026_04_15_000001_create_post_comments_table.php Change reactions column to nullable with default null 2026-05-19 08:28:07 +02:00
2026_04_15_000003_create_workspace_ai_usages_table.php feat: transition AI usage from feature-based limits to a centralized monthly credit system with token tracking. 2026-05-03 19:36:26 -03:00
2026_05_03_210117_create_oauth_auth_codes_table.php feat: migrate custom API token implementation to Laravel Passport for authentication and token management 2026-05-03 18:38:17 -03:00
2026_05_03_210118_create_oauth_access_tokens_table.php feat: migrate custom API token implementation to Laravel Passport for authentication and token management 2026-05-03 18:38:17 -03:00
2026_05_03_210119_create_oauth_refresh_tokens_table.php feat: migrate custom API token implementation to Laravel Passport for authentication and token management 2026-05-03 18:38:17 -03:00
2026_05_03_210120_create_oauth_clients_table.php feat: migrate custom API token implementation to Laravel Passport for authentication and token management 2026-05-03 18:38:17 -03:00
2026_05_03_210121_create_oauth_device_codes_table.php feat: migrate custom API token implementation to Laravel Passport for authentication and token management 2026-05-03 18:38:17 -03:00
2026_05_04_212145_add_utm_columns_to_users_table.php feat: capture signup UTMs/IP and add GitHub OAuth login 2026-05-04 18:42:25 -03:00
2026_05_04_212935_add_github_id_to_users_table.php feat: capture signup UTMs/IP and add GitHub OAuth login 2026-05-04 18:42:25 -03:00
2026_05_04_212935_add_registration_ip_to_users_table.php feat: capture signup UTMs/IP and add GitHub OAuth login 2026-05-04 18:42:25 -03:00
2026_05_07_231552_add_image_style_to_workspaces_table.php feat: AI image generation pipeline and post creation overhaul 2026-05-08 13:38:30 -03:00
2026_05_15_190137_add_upload_token_to_media_table.php style(media): add void return on migration closures, drop noop ->after 2026-05-15 16:06:54 -03:00
2026_05_22_211640_create_automations_table.php Tidy automation backend: run duration, folded migrations, imports 2026-06-13 16:30:32 -03:00
2026_05_22_211641_create_automation_trigger_items_table.php Add strict_types to automation files and AutomationNodeState factory 2026-06-10 17:26:50 -03:00
2026_05_22_211642_create_automation_runs_table.php Tidy automation backend: run duration, folded migrations, imports 2026-06-13 16:30:32 -03:00
2026_05_22_211643_create_automation_node_runs_table.php Add strict_types to automation files and AutomationNodeState factory 2026-06-10 17:26:50 -03:00
2026_05_23_164734_create_automation_node_states_table.php Add strict_types to automation files and AutomationNodeState factory 2026-06-10 17:26:50 -03:00
2026_06_12_155847_replace_brand_voice_notes_with_traits_on_workspaces.php Structure brand voice and make generated copy platform-aware 2026-06-12 17:09:39 -03:00
2026_06_21_184042_drop_limit_columns_from_plans_table.php refactor: address code review for per-workspace pricing 2026-06-21 21:28:47 -03:00
2026_06_21_194741_add_persona_to_users_table.php refactor: address code review for per-workspace pricing 2026-06-21 21:28:47 -03:00
2026_06_22_162523_drop_features_table.php chore: remove unused Pennant package and dead user-timezone handling 2026-06-22 13:37:38 -03:00
2026_06_24_220651_collapse_linkedin_content_types.php refactor(linkedin): infer post format from media + unify account connection 2026-06-24 21:05:09 -03:00