Skip to content

Fixed errors in reference documentation - #171

Merged
eldadfux merged 2 commits into
appwrite:masterfrom
michizhou:master
Oct 13, 2019
Merged

eldadfux merged 2 commits into
appwrite:masterfrom
michizhou:master

Conversation

@michizhou

Copy link
Copy Markdown
Contributor

Fixed multiple errors on reference documentation:

  1. references/auth: Fixed typos on documentation on following:
  • once -> ones
  • Changed Redirect Attacks to Redirect Attack
  • URL's -> URLs to be consistent with rest of documentation
  • added -> adding. May need to be changed depending on context (i.e. added -> you added)
  1. references/auth/confirm-resend.md:
  • Changed acts to act (might need to change arguments to argument instead)
  1. references/avatar: Typo and grammar errors on:
  • appear -> it appears
  • there -> their
  • cases -> case
  • Replaced some inappropriate commas with periods
  • Removed a in front of 2 letter country code

@eldadfux
eldadfux merged commit a80c49e into appwrite:master Oct 13, 2019
@eldadfux

Copy link
Copy Markdown
Member

THANK YOU! All changes merged 🥳

Please reach out to me on Gitter if you would like me to send you some cool Appwrite stickers and magnets!

premtsd-code added a commit that referenced this pull request Apr 22, 2026
…lerance

utopia-php/migration's DestinationAppwrite now handles schema tolerance on
re-migration (PR #171 on feat/skip-duplicates): it pre-checks destination
`_metadata` for each database / table / column / index and tolerates in
Skip/Upsert mode. Re-runs no longer produce schema-level errors, so the
E2E tests can drop the status-tolerant workaround and assert strict
'completed' outcomes.

Changes:

- composer.json: pin utopia-php/migration to dev-feat/skip-duplicates (aliased
  to 1.9.99 for stability resolution). Will be replaced with a fixed 1.10.0
  tag once the migration PR lands.

- testAppwriteMigrationRowsOnDuplicate: replace the tolerant
  runMigrationAssertingRowSuccess helper with performMigrationSync on the
  Skip and Upsert re-runs. Asserts 'completed' status on every run,
  destination row content matches the expected value per mode (Mutated
  preserved on Skip, Original restored on Upsert). Helper method removed.

- testAppwriteMigrationReRunIsIdempotent (new): seeds two rows on source,
  runs the migration three times back-to-back (fresh, Skip re-run, Upsert
  re-run) against unchanged source data, asserts strict 'completed' on every
  run and row content is stable across all three. Exercises the
  schema-tolerance path end-to-end: every database/table/column on
  destination already exists with a matching spec, so DestinationAppwrite's
  pre-check returns Tolerate for every resource.
premtsd-code added a commit that referenced this pull request Apr 22, 2026
Picks up the PR #171 refactor + unit tests:
- resolveSchemaAction decision point consolidation
- deleteAttributeCompletely primitive (two-way cleanup in one place)
- Hardened sourceIsNewer against MySQL zero-date sentinel
- 14 unit tests locking the decision matrix
NancyWei123 pushed a commit to NancyWei123/appwrite that referenced this pull request Sep 23, 2026
…18-transport

feat(span): send Sentry exports through PSR-18
NancyWei123 pushed a commit to NancyWei123/appwrite that referenced this pull request Sep 25, 2026
imtia33 pushed a commit to imtia33/appwrite that referenced this pull request Sep 28, 2026
…18-transport

feat(span): send Sentry exports through PSR-18
Thegreatsura pushed a commit to Thegreatsura/appwrite that referenced this pull request Oct 16, 2026
Jake's review on PR appwrite#171 (line 9 of OnDuplicate.php — SchemaAction
enum): align the SchemaAction case names with Appwrite's user-facing
terms (skip / overwrite / fail).

- SchemaAction::Tolerate -> SchemaAction::Skip
- SchemaAction::UpdateInPlace -> SchemaAction::Overwrite
- SchemaAction::Create kept (no Appwrite equivalent; means 'no
  existing dest doc, run the create flow')

Now the inner machinery uses the same vocabulary as the user-facing
OnDuplicate enum (Fail / Skip / Overwrite). Comments and test method
names updated to match (Tolerate -> Skip, UpdateInPlace -> Overwrite
where they refer to the action — the test name 'UpdatesInPlace' as a
verb phrase stays).
Thegreatsura pushed a commit to Thegreatsura/appwrite that referenced this pull request Oct 16, 2026
DestinationAppwrite: tolerate existing schema on Skip/Upsert re-migration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants