# Registry compiler

> v1's registry compiler, which built the app from model files.

Source: https://vishwajit-vm.github.io/strutvane-docs/docs/0.2.x/packages/registry-compiler/

> **Retired: use Migrations as the source of truth, replayed into types and resources.json by node strut migrate instead**

v1's registry compiler, which built the app from model files.

**Use instead:** Migrations as the source of truth, replayed into types and resources.json by node strut migrate

**Before and after:**

```bash
node strut make:migration create_posts_table --seeder
node strut migrate
```

- **Docs:** https://vishwajit-vm.github.io/strutvane-docs/docs/0.2.x/migrations/
