# Schema changes

The `elementary.schema_change` test monitors schema changes within your database, providing alerts for critical modifications such as:

* Deleted tables
* Columns being deleted or added
* Changes in a column's data type

### Configuration

{% tabs %}
{% tab title="Models" %}

```yaml
version: 2

models:
  - name: < model name >
    tests:
      - elementary.schema_changes
```

{% endtab %}

{% tab title="Models example" %}

```yaml
version: 2

models:
  - name: login_events
    tests:
      - elementary.schema_changes:
          tags: ["elementary"]
          config:
            severity: warn
```

{% endtab %}
{% endtabs %}
