Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions db/main/migrate/20250921164419_excluded_from_cleanup.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class ExcludedFromCleanup < ActiveRecord::Migration[7.0]
def change
add_column :users, :excluded_from_cleanup, :boolean, default: false
add_column :organizations, :excluded_from_cleanup, :boolean, default: false
end
end
9 changes: 6 additions & 3 deletions db/main/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2419,7 +2419,8 @@ CREATE TABLE public.organizations (
preferences jsonb DEFAULT '{}'::jsonb,
beta_migration_request_id integer,
vcs_type character varying DEFAULT 'GithubOrganization'::character varying,
vcs_id character varying
vcs_id character varying,
excluded_from_cleanup boolean DEFAULT false
);


Expand Down Expand Up @@ -3530,7 +3531,8 @@ CREATE TABLE public.users (
confirmed_at timestamp without time zone,
token_expires_at timestamp without time zone,
confirmation_token character varying,
last_activity_at timestamp without time zone
last_activity_at timestamp without time zone,
excluded_from_cleanup boolean DEFAULT false
);


Expand Down Expand Up @@ -6825,6 +6827,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20250109121404'),
('20250206092313'),
('20250219095029'),
('20250416102048');
('20250416102048'),
('20250921164419');