We will use this field to enter the position where the cards will be shown to the user in the homepage.
6 lines
154 B
Ruby
6 lines
154 B
Ruby
class AddOrderToWidgetCards < ActiveRecord::Migration[6.1]
|
|
def change
|
|
add_column :widget_cards, :order, :integer, null: false, default: 1
|
|
end
|
|
end
|