new migration

This commit is contained in:
albert
2013-02-19 12:16:04 -05:00
parent 0a0d25e0a9
commit e678427ee7
2 changed files with 13 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
class ChangeUploadsSourceToText < ActiveRecord::Migration
def up
execute "alter table uploads alter column source type text"
end
def down
execute "alter table uploads alter column source type varchar(255)"
end
end