lib/integrity/migrations.rb in alphasights-integrity-0.1.9.5 vs lib/integrity/migrations.rb in alphasights-integrity-0.1.9.6
- old
+ new
@@ -82,11 +82,11 @@
end
create_table :integrity_commits do
column :id, Integer, :serial => true
column :identifier, String, :nullable => false
- column :message, String, :nullable => true, :length => 255
+ column :message, Text, :nullable => true
column :author, String, :nullable => true, :length => 255
column :committed_at, DateTime, :nullable => false
column :created_at, DateTime
column :updated_at, DateTime
@@ -149,10 +149,10 @@
end
end
migration 4, :add_url_to_commits do
up do
- modify_table(:integrity_commits) { add_column :url, URI, :length => 255 }
+ modify_table(:integrity_commits) { add_column :url, URI }
end
down do
#modify_table(:integrity_commits) { drop_column :url }
end