Convert id column for oauth_nonces to bigint
This commit is contained in:
parent
2168ad2108
commit
384ac46102
3 changed files with 10 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Table name: oauth_nonces
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# id :bigint not null, primary key
|
||||
# nonce :string
|
||||
# timestamp :integer
|
||||
# created_at :datetime
|
||||
|
|
7
db/migrate/20201214144017_expand_nonce_id.rb
Normal file
7
db/migrate/20201214144017_expand_nonce_id.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
class ExpandNonceId < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
safety_assured do
|
||||
change_column :oauth_nonces, :id, :bigint
|
||||
end
|
||||
end
|
||||
end
|
|
@ -1075,7 +1075,7 @@ ALTER SEQUENCE public.notes_id_seq OWNED BY public.notes.id;
|
|||
--
|
||||
|
||||
CREATE TABLE public.oauth_nonces (
|
||||
id integer NOT NULL,
|
||||
id bigint NOT NULL,
|
||||
nonce character varying,
|
||||
"timestamp" integer,
|
||||
created_at timestamp without time zone,
|
||||
|
@ -3147,6 +3147,7 @@ INSERT INTO "schema_migrations" (version) VALUES
|
|||
('20191120140058'),
|
||||
('20201006213836'),
|
||||
('20201006220807'),
|
||||
('20201214144017'),
|
||||
('21'),
|
||||
('22'),
|
||||
('23'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue