<commit_before># Upgrading Fae

* [From v1.1 to v1.2](#from-v11-to-v12)
* [From v1.0 to v1.1](#from-v10-to-v11)

---

# From v1.1 to v1.2

Fae v1.2 adds a new table `Fae::Change` to track changes on your objects. After updating you'll have to copy over and run the new migrations.

```bash
$ rake fae:install:migrations
$ rake db:migrate
```

---

# From v1.0 to v1.1

[View the CHANGELOG](changelog.md#markdown-header-11)

Fae v1.1 adds a new column to `Fae::User`. After upgrading you'll have to copy over the new migration and run it.

```bash
$ rake fae:install:migrations
$ rake db:migrate
```<commit_msg>refs #56439 - add upgrading notes<commit_after># Upgrading Fae

* [From v1.1 to v1.2](#from-v11-to-v12)
* [From v1.0 to v1.1](#from-v10-to-v11)

---

# From v1.1 to v1.2

Fae v1.2 adds a new table `Fae::Change` to track changes on your objects. After updating you'll have to copy over and run the new migrations.

```bash
$ rake fae:install:migrations
$ rake db:migrate
```

---

# From v1.0 to v1.3

Fae v1.3 consolidates install migrations. When upgrading from v1.0 to v1.3 <=, Fae will have to be [upgraded to v1.1 and have the new migrations copied](#from-v10-to-v11):

After a successful migration, follow any [additional upgrading steps](#from-v11-to-v12) before proceeding. For more information, please see [the migration consolidation PR](https://github.com/wearefine/fae/pull/84).

---

# From v1.0 to v1.1

[View the CHANGELOG](changelog.md#markdown-header-11)

Fae v1.1 adds a new column to `Fae::User`. After upgrading you'll have to copy over the new migration and run it.

```bash
$ rake fae:install:migrations
$ rake db:migrate
```
{'fraction_non_alphanumeric': 0.13103864734299517, 'fraction_numerical': 0.05253623188405797, 'mean_word_length': 3.816860465116279, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5585250', 'n_tokens_mistral': 675, 'n_tokens_neox': 629, 'n_words': 209}