wblog/db/migrate/20160421035040_create_label...

9 lines
186 B
Ruby
Raw Normal View History

class CreateLabelsPosts < ActiveRecord::Migration[5.0]
def change
create_table :labels_posts, id: false do |t|
t.integer :label_id
t.integer :post_id
end
end
end