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
|
||||
@@ -2463,7 +2463,7 @@ ALTER SEQUENCE tags_id_seq OWNED BY tags.id;
|
||||
|
||||
CREATE TABLE uploads (
|
||||
id integer NOT NULL,
|
||||
source character varying(255),
|
||||
source text,
|
||||
file_path character varying(255),
|
||||
content_type character varying(255),
|
||||
rating character(1) NOT NULL,
|
||||
@@ -6175,4 +6175,6 @@ INSERT INTO schema_migrations (version) VALUES ('20111101212358');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130106210658');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130114154400');
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130114154400');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20130219171111');
|
||||
Reference in New Issue
Block a user