```ruby
class Post < Sequel::Model
  one_to_one :author
  many_to_many :categories
end
```

Fix issue where Post has wrong association type.
user
```ruby
class Post < Sequel::Model
  many_to_one :author
  many_to_many :categories
end
```
assistant