Skip to content

Commit 9e4bd73

Browse files
author
Stanislav Kolotinskiy
committed
Add can_build column to users
1 parent a95af22 commit 9e4bd73

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
class AddCanBuildToUsers < ActiveRecord::Migration[5.2]
2+
def change
3+
add_column :users, :can_build, :boolean, default: true
4+
end
5+
end
6+

db/main/structure.sql

+4-2
Original file line numberDiff line numberDiff line change
@@ -2958,7 +2958,8 @@ CREATE TABLE public.users (
29582958
redacted_at timestamp without time zone,
29592959
preferences jsonb DEFAULT '{}'::jsonb,
29602960
vcs_type character varying DEFAULT 'GithubUser'::character varying,
2961-
vcs_id character varying
2961+
vcs_id character varying,
2962+
can_build boolean DEFAULT true
29622963
);
29632964

29642965

@@ -5789,6 +5790,7 @@ INSERT INTO "schema_migrations" (version) VALUES
57895790
('20200330110527'),
57905791
('20200406121218'),
57915792
('20200424000000'),
5792-
('20200527123653');
5793+
('20200527123653'),
5794+
('20201026220757');
57935795

57945796

0 commit comments

Comments
 (0)