new migration
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user