このコミットが含まれているのは:
2025-02-27 21:45:54 +09:00
コミット c6854b7a54
12個のファイルの変更111行の追加10行の削除
+10
ファイルの表示
@@ -0,0 +1,10 @@
class CreateUserIps < ActiveRecord::Migration[7.0]
def change
create_table :user_ips do |t|
t.references :user, null: false, foreign_key: { to_table: :users }
t.references :ip_address, null: false,
foreign_key: { to_table: :ip_addresses }
t.timestamps
end
end
end