Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alternative table structure digest for late 10.11 versions #22

Merged
merged 1 commit into from
Dec 4, 2016

Conversation

antontsv
Copy link
Contributor

@antontsv antontsv commented Dec 3, 2016

* 9b2ea61b30 digest [early 10.11] is for:
CREATE TABLE access ( service   TEXT  NOT NULL,   client    TEXT  NOT NULL,   client_type INTEGENOT NULL,   allowed   INTEGER NOT NULL,   prompt_count  INTEGER NOT NULL,   csreq   BLOB,   policy_id INTEGER,  PRIMARY KEY (service, client, client_type), FOREIGN KEY (policy_id) REFERENCES policies(id) ON DELETE CASCADE ON UPDATE CASCADE)

* 1072dc0e4b digest [late 10.11, early 10.12] is for:
CREATE TABLE "access" ( service   TEXT  NOT NULL,   client    TEXT  NOT NULL,   client_type INTEGENOT NULL,   allowed   INTEGER NOT NULL,   prompt_count  INTEGER NOT NULL,   csreq   BLOB,   policy_id INTEGER,  PRIMARY KEY (service, client, client_type), FOREIGN KEY (policy_id) REFERENCES policies(id) ON DELETE CASCADE ON UPDATE CASCADE)

    * 9b2ea61b30 digest [early 10.11] is for:
    CREATE TABLE access ( service   TEXT  NOT NULL,   client    TEXT  NOT NULL,   client_type INTEGENOT NULL,   allowed   INTEGER NOT NULL,   prompt_count  INTEGER NOT NULL,   csreq   BLOB,   policy_id INTEGER,  PRIMARY KEY (service, client, client_type), FOREIGN KEY (policy_id) REFERENCES policies(id) ON DELETE CASCADE ON UPDATE CASCADE)

    * 1072dc0e4b digest [late 10.11, early 10.12] is for:
    CREATE TABLE "access" ( service   TEXT  NOT NULL,   client    TEXT  NOT NULL,   client_type INTEGENOT NULL,   allowed   INTEGER NOT NULL,   prompt_count  INTEGER NOT NULL,   csreq   BLOB,   policy_id INTEGER,  PRIMARY KEY (service, client, client_type), FOREIGN KEY (policy_id) REFERENCES policies(id) ON DELETE CASCADE ON UPDATE CASCADE)
@antontsv
Copy link
Contributor Author

antontsv commented Dec 3, 2016

Addresses issue #21

@jacobsalmela jacobsalmela merged commit 85ac2e7 into jacobsalmela:master Dec 4, 2016
@jacobsalmela
Copy link
Owner

Thanks man!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants