Skip to content
Snippets Groups Projects

Add max_reservations_per_user column to resources table

1 file
+ 7
0
Compare changes
  • Side-by-side
  • Inline
require 'active_record'
class AddMaxReservationsPerUser < ActiveRecord::Migration
def change
add_column :resources, :max_reservations_per_user, :integer, limit: 3, unsigned: true
end
end
\ No newline at end of file
Loading