Skip to content

Commit 121cfe4

Browse files
author
Stanislav Kolotinskiy
committed
Add build column to permissions
1 parent a95af22 commit 121cfe4

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 AddBuildToPermissions < ActiveRecord::Migration[5.2]
2+
def change
3+
add_column :permissions, :build, :boolean, default: true
4+
end
5+
end
6+

db/main/structure.sql

+4-2
Original file line numberDiff line numberDiff line change
@@ -2089,7 +2089,8 @@ CREATE TABLE public.permissions (
20892089
push boolean DEFAULT false,
20902090
pull boolean DEFAULT false,
20912091
org_id integer,
2092-
com_id integer
2092+
com_id integer,
2093+
build boolean DEFAULT true
20932094
);
20942095

20952096

@@ -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)