retrospring/db/migrate/20221114214508_add_input_placeholder_to_themes.rb
2022-11-14 23:11:09 +01:00

11 lines
264 B
Ruby

# 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