Retrospring/db/migrate/20221114214508_add_input_pl...

12 lines
264 B
Ruby
Raw Normal View History

2022-11-14 14:11:09 -08:00
# frozen_string_literal: true
class AddInputPlaceholderToThemes < ActiveRecord::Migration[6.1]
def up
add_column :themes, :input_placeholder, :integer, default: 0x6C757D, null: false
end
def down
remove_column :themes, :input_placeholder
end
end