Discussion Forum

Necessity of a schema

Is a schema necessary to start populating the DB? If I start sending data i.e
entity1 has attribute1
entity2 has attribute 2

The database begin populating? Will I be able to make queries? i.e.
match entity 1 has attribute 1

Can the TypeDB create by itself a proto-schema that can be amended at a later date?
If I passed my data with the wrong schema can I correct it later and the DB will correct the structure of the data according to the new schema?

It’s a requirement to have defined the domain (eg. Types) by creating a schema for your data before you can insert anything :slight_smile:

The schema can be updated later as well (eg. add new types, ownerships, roles), or delete from it. During development it’s common to go through multiple iterations until the right domain model is reached.