diff options
author | Yves Senn <yves.senn@gmail.com> | 2012-12-12 21:51:38 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@garaio.com> | 2012-12-13 09:08:32 +0100 |
commit | 349d4606004d20cb0ace1980bcb6d0af13f6b504 (patch) | |
tree | 9a3b26f3f5e2be349cafd96e7a343435824f7e35 /activerecord/test/migrations | |
parent | d4333eded218346eb8b8313f7c69851782f594ef (diff) | |
download | rails-349d4606004d20cb0ace1980bcb6d0af13f6b504.tar.gz rails-349d4606004d20cb0ace1980bcb6d0af13f6b504.tar.bz2 rails-349d4606004d20cb0ace1980bcb6d0af13f6b504.zip |
recognize migrations, in folders containing numbers and 'rb'.
Closes #8492
Diffstat (limited to 'activerecord/test/migrations')
-rw-r--r-- | activerecord/test/migrations/10_urban/9_add_expressions.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/activerecord/test/migrations/10_urban/9_add_expressions.rb b/activerecord/test/migrations/10_urban/9_add_expressions.rb new file mode 100644 index 0000000000..79a342e574 --- /dev/null +++ b/activerecord/test/migrations/10_urban/9_add_expressions.rb @@ -0,0 +1,11 @@ +class AddExpressions < ActiveRecord::Migration + def self.up + create_table("expressions") do |t| + t.column :expression, :string + end + end + + def self.down + drop_table "expressions" + end +end |