# Unexpected error: column "createdAt" does not exist

**URL:** <https://community.forestadmin.com/t/unexpected-error-column-createdat-does-not-exist/3645>\
**Category:** Help me!\
**Created:** [October 29, 2021, 1:45pm UTC](https://community.forestadmin.com/t/unexpected-error-column-createdat-does-not-exist/3645 "2021-10-29T13:45:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [October 29, 2021, 1:50pm UTC](https://community.forestadmin.com/t/unexpected-error-column-createdat-does-not-exist/3645/3 "2021-10-29T13:50:47Z")

</div>

Hey @timothyarmes,

Sequelize handle `createdAt` and `updatedAt` by default, and so does FA. You can disable these column manually using something like

```javascript
sequelize.define('user', { /* bla */ }, {

  // don't add the timestamp attributes (updatedAt, createdAt)
  timestamps: false,

  // If don't want createdAt
  createdAt: false,

  // If don't want updatedAt
  updatedAt: false,

  // your other configuration here

});

```

(See [node.js - disable updatedAt (update date) field in sequelize.js - Stack Overflow](https://stackoverflow.com/questions/39587767/disable-updatedat-update-date-field-in-sequelize-js))

For your second question, I think [Smart fields](https://docs.forestadmin.com/documentation/reference-guide/fields/create-and-manage-smart-fields)/[Smart relationships](https://docs.forestadmin.com/documentation/reference-guide/relationships/create-a-smart-relationship) is what you are looking for.

Let me know if that helps

---

_[View the full topic](https://community.forestadmin.com/t/unexpected-error-column-createdat-does-not-exist/3645)._
