1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/migrations/scope/1_unscoped.rb
Jacopo db95871cf4 Show a warning when running no migration using SCOPE
When running a migration with `ENV["SCOPE"]` set returns a warning
if no migrations ran.
The message serves as a hint for the end-user to make sure he knows
that the migration have been filtered by `SCOPE`.
2021-01-26 15:05:35 +01:00

7 lines
137 B
Ruby

# frozen_string_literal: true
class Unscoped < ActiveRecord::Migration::Current
def self.change
create_table "unscoped"
end
end