```ruby
json.extract! @table, :name, :database_id, :created_at, :updated_at
```

Include the ID in JSON generated for table.
user
```ruby
json.extract! @table, :id, :name, :database_id, :created_at, :updated_at
```
assistant