remove restriction on guid length
This commit is contained in:
parent
837a1ba564
commit
e286531687
3 changed files with 13 additions and 3 deletions
|
|
@ -6,6 +6,7 @@
|
|||
* Drop misleading fallback donation form. [Proposal](https://www.loomio.org/discussions/1045?proposal=2722)
|
||||
* Update Typhoeus to 0.6.3 and refactor HydraWrapper. [#4162](https://github.com/diaspora/diaspora/pull/4162)
|
||||
* Bump recomended Ruby version to 1.9.3-p448, see [Ruby news](http://www.ruby-lang.org/en/news/2013/06/27/hostname-check-bypassing-vulnerability-in-openssl-client-cve-2013-4073/).
|
||||
* Remove length restriciton on GUIDs in the database schema [#4249](https://github.com/diaspora/diaspora/pull/4249)
|
||||
|
||||
## Bug fixes
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
class RemoveLimitFromRootGuidInPosts < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :posts, :root_guid, :string
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :posts, :root_guid, :string, limit: 30
|
||||
end
|
||||
end
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20130429073928) do
|
||||
ActiveRecord::Schema.define(:version => 20130613203350) do
|
||||
|
||||
create_table "account_deletions", :force => true do |t|
|
||||
t.string "diaspora_handle"
|
||||
|
|
@ -213,7 +213,7 @@ ActiveRecord::Schema.define(:version => 20130429073928) do
|
|||
t.text "data", :null => false
|
||||
end
|
||||
|
||||
add_index "o_embed_caches", ["url"], :name => "index_o_embed_caches_on_url", :length => {"url"=>255}
|
||||
add_index "o_embed_caches", ["url"], :name => "index_o_embed_caches_on_url"
|
||||
|
||||
create_table "participations", :force => true do |t|
|
||||
t.string "guid"
|
||||
|
|
@ -297,7 +297,7 @@ ActiveRecord::Schema.define(:version => 20130429073928) do
|
|||
t.string "provider_display_name"
|
||||
t.string "actor_url"
|
||||
t.string "objectId"
|
||||
t.string "root_guid", :limit => 30
|
||||
t.string "root_guid"
|
||||
t.string "status_message_guid"
|
||||
t.integer "likes_count", :default => 0
|
||||
t.integer "comments_count", :default => 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue