This commit is contained in:
2025-02-27 21:45:54 +09:00
parent d914373cd6
commit c6854b7a54
12 changed files with 111 additions and 10 deletions
@@ -0,0 +1,10 @@
class CreateSettings < ActiveRecord::Migration[7.0]
def change
create_table :settings do |t|
t.references :user, null: false, foreign_key: { to_table: :users }
t.string :key, limit: 255, null: false
t.json :value, null: false
t.timestamps
end
end
end