mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
7fae9ba054
Use column definition with `primary_key: true` instead.
5 lines
106 B
Ruby
5 lines
106 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Treaty < ActiveRecord::Base
|
|
has_and_belongs_to_many :countries
|
|
end
|