Sha256: bbb6b5956159507518996d6054fba1b66ef9360868c85882676bc24e51e646f1
Contents?: true
Size: 351 Bytes
Versions: 14
Compression:
Stored size: 351 Bytes
Contents
class CreateGroups < PeakFlowUtils::ApplicationMigration def change create_table :peak_flow_utils_groups do |t| t.references :handler, null: false t.string :identifier, index: true t.string :name t.timestamps end add_foreign_key :peak_flow_utils_groups, :peak_flow_utils_handlers, column: "handler_id" end end
Version data entries
14 entries across 14 versions & 1 rubygems