aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/to_copy_with_timestamps2/20090101010101_create_articles.rb
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2010-10-08 21:17:14 +0200
committerPiotr Sarnacki <drogus@gmail.com>2010-10-09 21:32:34 +0200
commit4377f8eba2dde51fe5d3bc50248c0089e24c8d24 (patch)
tree21d105bbca5110d3faee9e759a0ea2c607252c1c /activerecord/test/migrations/to_copy_with_timestamps2/20090101010101_create_articles.rb
parent5d5eb2b18d364cb27d2062668bd3b1921b1040a8 (diff)
downloadrails-4377f8eba2dde51fe5d3bc50248c0089e24c8d24.tar.gz
rails-4377f8eba2dde51fe5d3bc50248c0089e24c8d24.tar.bz2
rails-4377f8eba2dde51fe5d3bc50248c0089e24c8d24.zip
Change the method for copying migrations, do not add scope.
The purpose of this change is to allow copying fail on the same names. Migrations change database and they should be treated with caution, if 2 migrations are named the same it's much better to skip migration and allow user decide if it should be copied or not.
Diffstat (limited to 'activerecord/test/migrations/to_copy_with_timestamps2/20090101010101_create_articles.rb')
-rw-r--r--activerecord/test/migrations/to_copy_with_timestamps2/20090101010101_create_articles.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/test/migrations/to_copy_with_timestamps2/20090101010101_create_articles.rb b/activerecord/test/migrations/to_copy_with_timestamps2/20090101010101_create_articles.rb
new file mode 100644
index 0000000000..0f048d90f7
--- /dev/null
+++ b/activerecord/test/migrations/to_copy_with_timestamps2/20090101010101_create_articles.rb
@@ -0,0 +1,7 @@
+class CreateArticles < ActiveRecord::Migration
+ def self.up
+ end
+
+ def self.down
+ end
+end