mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Allow the content_sha1 column of topic_embed to be nullable
This commit is contained in:
5
db/migrate/20140402201432_make_content_sha1_nullable.rb
Normal file
5
db/migrate/20140402201432_make_content_sha1_nullable.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class MakeContentSha1Nullable < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :topic_embeds, :content_sha1, :string, :limit => 40, :null => true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user