Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

improve control of visibility #470

Merged
merged 1 commit into from
May 17, 2016

Conversation

skyhit
Copy link
Contributor

@skyhit skyhit commented May 16, 2016

execute following against topcoder_dw database

create table 'informix'.achievement_type_lu (
    achievement_type_id DECIMAL(5,0) not null,
    achievement_type_desc VARCHAR(64) not null,
    badge INT
)
extent size 32 next size 32
lock mode row;

revoke all on achievement_type_lu from 'public';

grant update on achievement_type_lu to 'public' as 'informix';

grant index on achievement_type_lu to 'public' as 'informix';

grant insert on achievement_type_lu to 'public' as 'informix';

grant select on achievement_type_lu to 'public' as 'informix';

grant delete on achievement_type_lu to 'public' as 'informix';

INSERT INTO 'informix'.achievement_type_lu(achievement_type_id,achievement_type_desc,badge) VALUES (1, 'Coder of the Month',1);
INSERT INTO 'informix'.achievement_type_lu(achievement_type_id,achievement_type_desc,badge) VALUES (2, 'Naughty Behavior',2);
INSERT INTO 'informix'.achievement_type_lu(achievement_type_id,achievement_type_desc,badge) VALUES (3, 'Other',2);
INSERT INTO 'informix'.achievement_type_lu(achievement_type_id,achievement_type_desc,badge) VALUES (4, 'Tournament Award',1);
INSERT INTO 'informix'.achievement_type_lu(achievement_type_id,achievement_type_desc,badge) VALUES (5, 'Algorithm Coder of the Month',1);
INSERT INTO 'informix'.achievement_type_lu(achievement_type_id,achievement_type_desc,badge) VALUES (6, 'Design Coder of the Month',1);
INSERT INTO 'informix'.achievement_type_lu(achievement_type_id,achievement_type_desc,badge) VALUES (7, 'Development Coder of the Month',1);
INSERT INTO 'informix'.achievement_type_lu(achievement_type_id,achievement_type_desc,badge) VALUES (8, 'Digital Run',1);
INSERT INTO 'informix'.achievement_type_lu(achievement_type_id,achievement_type_desc,badge) VALUES (9, 'Studio Coder of the Month',1);

@mdesiderio mdesiderio merged commit 81c2cae into master May 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants