Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support .sql files in the importer #1201

Open
bgrgicak opened this issue Apr 5, 2024 · 3 comments
Open

Support .sql files in the importer #1201

bgrgicak opened this issue Apr 5, 2024 · 3 comments

Comments

@bgrgicak
Copy link
Collaborator

bgrgicak commented Apr 5, 2024

The Playground plugin supports snapshot exports.

We need to ensure these snapshots work in Playground.

The main difference is that Playground uses wp-content/database/.ht.sqlite and that plugin uses wp-content/database/database.sql. These two exports are in different formats. Playground should detect if there is a SQL file and run it during import.

if both files are present, it should just load .ht.sqlite to prevent data overrides, or fail.

@bgrgicak
Copy link
Collaborator Author

bgrgicak commented Apr 5, 2024

We will need to implement passwordless login for this to work WordPress/playground-tools#219 (review)
After this is done the Playground plugin should be updated to use the import step WordPress/playground-tools#219 (review)

@flexseth
Copy link
Collaborator

flexseth commented Apr 11, 2024

*** unlinked to contributor day

@adamziel
Copy link
Collaborator

@flexseth this is a feature development problem, not a documentation problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants