Skip to content
NEWLAW.COM
+61 1300 495 281
Let’s talk

Moving into a system

Migrating to SQLite

A complete SQL database held in a single ordinary file, with no server to run, used to keep a retired system’s records in portable form. This page sets out what SQLite has a place for, what loading a firm’s records into it involves and what NewLaw sets up beyond the data.

What it accepts

What has a place in SQLite

Of the fourteen kinds of record that matter to a move, SQLite has a place for thirteen, two in part. A record with no place there is kept as a readable archive.

  • MattersYesA matters table keyed by matter number.
  • ContactsYesContacts and their roles on matters as linked tables.
  • DocumentsIn partListed in a table; the files themselves stay in folders beside the database.
  • EmailsIn partAs message files in folders, indexed in a table.
  • NotesYesA notes table linked to matters.
  • CalendarYesA table of dated entries, with no calendar view.
  • TasksYesA table of tasks and their status at the final date.
  • Time and expensesYesA table of time and expense entries.
  • BillingYesInvoice and receipt tables; invoice PDFs kept as files.
  • Trust moneyYesTrust transactions as rows, for look-up and not for accounting.
  • Firm accountsYesLedger journals as rows, where the source held them.
  • Custom fieldsYesColumns added to the table they belonged to.
  • TemplatesNoPrecedent files are kept in folders, not in the database.
  • IntakeYesAn enquiries table, where the source tracked them.

Moving into it

Arriving in SQLite

A SQLite archive suits a firm that wants the old system’s records kept, seldom consulted, and free of any server or subscription. Everything structured goes into one file. That simplicity moves the responsibility elsewhere: the file has no security of its own and no administrator watching it, so where it is stored and who can reach it are the real decisions.

  1. One file, kept with the archive

    Matters, contacts, time, invoices and trust transactions become tables in a single file. It is stored with the firm’s closed-matter records and can be copied like any document. A checksum recorded when the file is finalised lets anyone confirm, years later, that the copy they hold has not been altered, and the firm decides whether to keep one.

  2. No logins inside the file

    SQLite has no users or passwords. Anyone who can open the file can read every client’s ledger. Protection comes from where it is kept, such as a restricted folder or an encrypted volume, and that choice is the firm’s. It can suit an archive consulted by two people, and it is said plainly so nobody assumes otherwise.

  3. Built for reading, not sharing

    Only one program can write to the file at a time, and SQLite’s authors point people to a client/server database where many users share data over a network. A finished archive never meets that limit. It is the reason SQLite is used here for records that are closed and not for anything staff still update.

  4. Documents stay outside it

    Documents remain ordinary files in matter folders, and a table in the database lists each one with its matter, title, dates and path. Keeping them as files means they open with a double-click and can be handed to a client. The table is how a file is found by matter number instead of by guessing its name.

  5. Someone has to open it

    SQLite publishes its own command-line program for opening a database file, and other tools read the format too. None of that helps if nobody remembers how. Saved queries for the usual look-ups and a short note on which tool to use can sit in the same folder as the file, and the firm decides what it needs.

Beyond the data

Structure, permissions and handover

SQLite is a place to keep data, not a system staff work in each day. What is agreed is how the data is laid out, who can reach it, and what is handed over with it.

There is nothing to install on a server and nothing to license. The work is in making the file usable and safe to keep: naming it, documenting its tables, storing it where the firm’s records policy says archives go, and checking that a member of staff can open it and find a matter. Whether a second copy is held somewhere separate is the firm’s call.

What is agreed and set up

  • File name, storage location and whether a second copy exists
  • Whether a checksum is recorded for later verification
  • Saved queries for matter, ledger and document look-ups
  • Which tool staff will use to open the file
  • Who may open the folder the file sits in
  • Retention period and destruction date noted beside the file

How NewLaw runs it

Four steps, in this order.

A route into a database or an export produces an archive, not a working system, so the steps are about completeness and proof.

  1. Analysis

    We read what the old system holds, table by table, and agree with you what the copy in SQLite must be able to answer later. Everything the old system holds is in scope unless you take it out.

  2. Clean-up, if you want it

    An archive should show the records as they were, so nothing is merged or corrected unless you ask. Where the copy is also meant for reporting, duplicate and inconsistent entries are tidied in a working copy and the original values are kept beside them.

  3. Trial export

    The data is written to SQLite as a trial and checked against the old system: record counts, totals where the old system holds money, the links between records, and a sample of documents opened from the export. Exceptions are listed for you to decide.

  4. Final export

    After the last day of work in the old system, the export is run a final time and checked again. There is nothing to go live. The old system is kept read only until you are satisfied the copy answers what you need, and it is handed over with a written description of its contents.

Fixed price, agreed after the analysis. How NewLaw moves legal data

Start

Start this migration

Choose the system the firm is on now. The first step is the analysis, and the price is fixed once it is done.

Step 1 of 5

Step 1 of 5: Start with the route

Type a few letters to find it. If it is not listed, type its name anyway.

Moving toSQLite

Four short steps follow. Nothing you send commits your firm to anything.

What happens after you send it

  1. A free first call

    We go through your answers with you and ask about anything they leave open.

  2. An analysis of what your old system holds

    What is in it, how its records link, and where each piece would sit in SQLite. Anything with no place there comes across as a note or stays behind, and you see which before the move.

  3. A fixed price in writing

    Set after the analysis, so it reflects what is in your data. You have it before any work starts.

Where firms come from

Routes into SQLite

Each route has a page of its own: what moves, what has no place here and how the move is run.

The system

What SQLite is

SQLite is a database engine whose whole database lives in one file. The software is in the public domain and is embedded in a vast number of applications. Nobody at a firm installs or administers it. As a destination it gives a firm the tables of a retired system in a file that can be copied, stored and opened with free tools.

Inside the file are tables, indexes and views, queried with SQL like any larger database. Several people can read it at once, but only one process can write at a time. It has no user accounts: whoever can open the file can read all of it. The US Library of Congress lists the format among its recommended storage formats for datasets.

Kind
Database or export
Runs as
Folders and files
Made by
The SQLite project
Mainly used in
Worldwide
Also known as
SQLite database, SQLite3, .sqlite file, .db file

Where to start

Before and after the move.

Choosing the system comes before a migration. Setting it up and putting AI to work come after.

How we do itDiscovery to rollout, step by step

SQLite and the other product names and logos on this page belong to their owners and are used only to identify the systems.

Moving into SQLite?

Tell us what you are moving. You get a plan and a fixed price after the analysis.

We reply within one business day.