After this migration has been executed, which statement would be true? class CreateGalleries < ActiveRecord::Migration def change create_table :galleries do |t| t.string :name, :bg_color t.integer :position t.boolean :visible, default: false t.timestamps end end end
1. The galleries table will have no primary key.
2.The galleries table will include a column named “updated_atâ€.
3. The galleries table will contain exactly seven columns.
4.The galleries table will have an index on the position column.
Answer:2
Posted Date:-2022-09-17 04:48:10