Rails G -Migration Fügen Sie das Spaltenarray hinzu
class AddSubjectsToBook < ActiveRecord::Migration
def change
add_column :books, :subjects, :text, array: true, default: []
end
end
Alert Alligator