~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to lib/lpresults/tracker/schema/tracker/__init__.py

  • Committer: Marc Tardif
  • Date: 2012-03-21 22:32:04 UTC
  • Revision ID: marc.tardif@canonical.com-20120321223204-8g7mvzzwmh8ifbrt
Added support for getting systems from a person (LP #899361)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
CREATES = [
39
39
"""
40
 
GRANT SELECT
 
40
GRANT SELECT, INSERT
41
41
    ON TABLE patch
42
42
    TO lpresults
43
43
""",
97
97
    ON testrank (test_stat, system_unit)
98
98
""",
99
99
"""
100
 
CREATE LANGUAGE plpgsql
 
100
CREATE OR REPLACE LANGUAGE plpgsql
101
101
""",
102
102
"""
103
103
CREATE FUNCTION teststat_insert_before() RETURNS TRIGGER