potiuk commented on issue #32420: URL: https://github.com/apache/airflow/issues/32420#issuecomment-1627492139
> Hmm, so its better to work towards the final target, i.e, to create `airflow db sync` that would handle db creation if doesn't exist or synchronize if does, create default connections (of installed providers in separate PR, maybe), load the default pools and synchronizes log_filename_template. And deprecate `db init` and `db upgrade`. I'd keep the "default connections" out of the "sync" scope. The "structure" of the db can be synced rather easily, but syncing DB rows is a much more complex subject and there are many edge cases, and I **think** this should be an explicit, separate command to create those. At least that's the guts feeling I have. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
