```ruby
class CharAttribute < ActiveRecord::Base
  belongs_to :character
  belongs_to :base_attribute
  default_scope -> { order(base_attribute_id: :asc) }
  validates_uniqueness_of :base_attribute_id
end
```

Remove uniqueness from attributes and skills
user
```ruby
class CharAttribute < ActiveRecord::Base
  belongs_to :character
  belongs_to :base_attribute
  default_scope -> { order(base_attribute_id: :asc) }
end
```
assistant