forked from e621ng/e621ng
Add reason to post versions
This commit is contained in:
parent
d15d783d1d
commit
f8b339b3b0
5
db/migrate/20191006143246_add_reason_to_post_versions.rb
Normal file
5
db/migrate/20191006143246_add_reason_to_post_versions.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class AddReasonToPostVersions < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_column :post_versions, :reason, :string
|
||||
end
|
||||
end
|
@ -1877,7 +1877,8 @@ CREATE TABLE public.post_versions (
|
||||
source_changed boolean DEFAULT false NOT NULL,
|
||||
description text,
|
||||
description_changed boolean DEFAULT false NOT NULL,
|
||||
version integer DEFAULT 1 NOT NULL
|
||||
version integer DEFAULT 1 NOT NULL,
|
||||
reason character varying
|
||||
);
|
||||
|
||||
|
||||
@ -5328,6 +5329,7 @@ INSERT INTO "schema_migrations" (version) VALUES
|
||||
('20190919213915'),
|
||||
('20190924233432'),
|
||||
('20191003070653'),
|
||||
('20191006073950');
|
||||
('20191006073950'),
|
||||
('20191006143246');
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user