Update model annotations to use BIGINT for IDs (#5461)
All the migrations have been updated to use BIGINTs for ID fields in the DB, but ActiveRecord needs to be told to treat those values as BIGINT as well. This PR does that.
This commit is contained in:
parent
252d0fe020
commit
cf7e840990
30 changed files with 76 additions and 76 deletions
|
@ -3,25 +3,25 @@
|
|||
#
|
||||
# Table name: statuses
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# id :bigint not null, primary key
|
||||
# uri :string
|
||||
# account_id :integer not null
|
||||
# account_id :bigint not null
|
||||
# text :text default(""), not null
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# in_reply_to_id :integer
|
||||
# reblog_of_id :integer
|
||||
# in_reply_to_id :bigint
|
||||
# reblog_of_id :bigint
|
||||
# url :string
|
||||
# sensitive :boolean default(FALSE), not null
|
||||
# visibility :integer default("public"), not null
|
||||
# in_reply_to_account_id :integer
|
||||
# application_id :integer
|
||||
# in_reply_to_account_id :bigint
|
||||
# application_id :bigint
|
||||
# spoiler_text :text default(""), not null
|
||||
# reply :boolean default(FALSE), not null
|
||||
# favourites_count :integer default(0), not null
|
||||
# reblogs_count :integer default(0), not null
|
||||
# language :string
|
||||
# conversation_id :integer
|
||||
# conversation_id :bigint
|
||||
# local :boolean
|
||||
#
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue