Question : rails generate migration array default value
Answered by : lior
add_column :products, :tags, :string, array: true, default: []
Source : | Last Update : Thu, 03 Jun 21
Answered by : lior
add_column :products, :tags, :string, array: true, default: []
Source : | Last Update : Thu, 03 Jun 21