diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-28 13:16:14 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-28 13:16:14 +0200 |
commit | 1ca51df0001a750fafb0da70e4560c1ec439236c (patch) | |
tree | 677de24572e4d698149694145f14dfd5438fea56 /railties/lib/generators/rails/migration/migration_generator.rb | |
parent | 4f3e44fa03ab8fc47f75fa710b28c72b9b2328b9 (diff) | |
download | rails-1ca51df0001a750fafb0da70e4560c1ec439236c.tar.gz rails-1ca51df0001a750fafb0da70e4560c1ec439236c.tar.bz2 rails-1ca51df0001a750fafb0da70e4560c1ec439236c.zip |
Added migration and session_migration generator.
Diffstat (limited to 'railties/lib/generators/rails/migration/migration_generator.rb')
-rw-r--r-- | railties/lib/generators/rails/migration/migration_generator.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/railties/lib/generators/rails/migration/migration_generator.rb b/railties/lib/generators/rails/migration/migration_generator.rb new file mode 100644 index 0000000000..6aefddd3fd --- /dev/null +++ b/railties/lib/generators/rails/migration/migration_generator.rb @@ -0,0 +1,8 @@ +module Rails + module Generators + class MigrationGenerator < NamedBase + argument :attributes, :type => :hash, :default => {}, :banner => "field:type, field:type" + hook_for :orm + end + end +end |