Sha256: 23b381f6eb6039b7168bef39e9c4f565b5d8028acf6b7a6551a5514ee199489d
Contents?: true
Size: 374 Bytes
Versions: 4
Compression:
Stored size: 374 Bytes
Contents
# frozen_string_literal: true class AddManyToManyRelationToProducts < SolidusSupport::Migration[4.2] def self.up create_table :assemblies_parts, id: false do |t| t.integer "assembly_id", null: false t.integer "part_id", null: false t.integer "count", null: false, default: 1 end end def self.down drop_table :assemblies_parts end end
Version data entries
4 entries across 4 versions & 1 rubygems