Files
baffle-hub/db/migrate/20251111053159_create_settings.rb
2025-11-11 16:54:52 +11:00

12 lines
223 B
Ruby

class CreateSettings < ActiveRecord::Migration[8.1]
def change
create_table :settings do |t|
t.string :key
t.string :value
t.timestamps
end
add_index :settings, :key, unique: true
end
end