home / inventari

entita

Data license: CC BY 4.0 · Data source: Archivio di Stato di Bergamo — inventari

0 rows where comune_id = 17

✎ View and edit SQL

This data as json

tipo 0

0 records

CREATE TABLE entita (
  id        INTEGER PRIMARY KEY,
  tipo      TEXT NOT NULL CHECK (tipo IN ('persona','ente','luogo','evento','formazione')),
  forma     TEXT NOT NULL,                -- forma normalizzata: "Rossi, Giovanni"
  comune_id INTEGER REFERENCES comune(id),-- solo per tipo = luogo
  note      TEXT,
  UNIQUE (tipo, forma)
);
Powered by Datasette · Queries took 11.05ms · Data license: CC BY 4.0 · Data source: Archivio di Stato di Bergamo — inventari