You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs specify that xata branch create my_feature has equivalent behaviour to xata branch create my_feature --from main. This is currently not true. The schema is only copied from main if the --from main flag is provided. Otherwise the schema is empty.
To Reproduce
checkout to a new git branch
create new xata branch like so: xata branch create test1
create new xata branch like so: xata branch create test2 --from main
Expected behavior
According to docs, both branches should have the schema from main. But only test2 has the schema from main.
Describe the bug
The docs specify that
xata branch create my_feature
has equivalent behaviour toxata branch create my_feature --from main
. This is currently not true. The schema is only copied from main if the--from main
flag is provided. Otherwise the schema is empty.To Reproduce
xata branch create test1
xata branch create test2 --from main
Expected behavior
According to docs, both branches should have the schema from main. But only test2 has the schema from main.
Software version
Using CLI's latest npm version:
@xata.io/[email protected]
The text was updated successfully, but these errors were encountered: