Migrations should use symbols now that the schema dumper is switching to that as well [Suggested by Robby Russel]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson
2006-03-04 20:08:01 +00:00
parent ff881c7f8b
commit b059ceb94f

View File

@@ -1,11 +1,11 @@
class <%= migration_name %> < ActiveRecord::Migration
def self.up
create_table "<%= table_name %>" do |t|
# t.column "name", :string
create_table :<%= table_name %> do |t|
# t.column :name, :string
end
end
def self.down
drop_table "<%= table_name %>"
drop_table :<%= table_name %>
end
end