The «mirror table» is the local copy used by Owari Agro's offline mode : an encrypted replica, stored on your phone or computer, of the farm data your user can see. What you record without signal is kept separately on the same device, in a queue, and only leaves it once the server confirms it was received.
Two parts: one for looking things up and one for saving
The lookup copy
It downloads when you sign in with internet and keeps itself up to date with whatever changes. Each record is encrypted, includes only your farm's rows and only the tables your role can read; it never includes credentials or billing data. It's what lets tables, form dropdowns and «Home» indicators show up with no network.
The pending queue
Every task, advance or change you save without signal is written to the device first, and only then does the screen treat it as saved. It shows up in its table with a badge: «Waiting for connection», «Change waiting for connection» or «It will be deleted when the connection returns». Anything created offline can be used right away: the employee you added shows up when you record their task. This queue is not encrypted and empties as the server confirms each record.
Why what you record isn't lost
- Nothing is deleted silently. If the server rejects a record when it uploads, it stays saved and flagged for review, and anything that depends on it waits with it.
- A review screen lets you fix the data, point it to a record that already exists or discard it. Discarding is the only way something gets deleted, and you're the one who decides.
- If something looks like a duplicate from the same day when it uploads, you get a warning so you can check it; nothing is blocked or deleted.
- Logging out doesn't delete what's pending. The copy stays unreadable until you type your password again.
- It survives the phone shutting down (what happens if the battery dies).
What the copy can't do
- It shows the data from the last sync: you'll see other users' changes when the connection comes back.
- The «Home» screen flags the indicators it can't calculate offline instead of showing a questionable number, and it doesn't count what hasn't uploaded yet.
- If the device goes more than 30 days without connecting, the copy expires and is downloaded again once you're online; anything pending is not deleted.
When the signal comes back, the queue empties by itself and in order: see automatic sync.