Lots of updates
This commit is contained in:
11
db/migrate/20251111053159_create_settings.rb
Normal file
11
db/migrate/20251111053159_create_settings.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
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
|
||||
Reference in New Issue
Block a user