Skip to content

Commit baf7990

Browse files
committed
Add period column to Auction
1 parent bda783c commit baf7990

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
class AddPeriodToAuctions < ActiveRecord::Migration[7.1]
2+
def change
3+
add_column :auctions, :period, :string
4+
add_index :auctions, :period, unique: true
5+
end
6+
end

db/schema.rb

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)