DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class MigrationClass < ActiveRecord::Migration[4.2] (called from require at bin/rails:4)
6 lines
143 B
Ruby
6 lines
143 B
Ruby
class AddShiftTask < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_column :poll_shifts, :task, :integer, null: false, default: 0
|
|
end
|
|
end
|