Skip to content

Commit

Permalink
Add period column to Auction
Browse files Browse the repository at this point in the history
  • Loading branch information
amree committed Oct 17, 2024
1 parent bda783c commit baf7990
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions db/migrate/20241017040725_add_period_to_auctions.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class AddPeriodToAuctions < ActiveRecord::Migration[7.1]
def change
add_column :auctions, :period, :string
add_index :auctions, :period, unique: true
end
end
6 changes: 3 additions & 3 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit baf7990

Please sign in to comment.