bzr branch
/bzr/python-fedora/rakesh
| Line | Revision | Contents |
| 1 | 43 | -- python-fedora, python module to interact with Fedora Infrastructure Services |
| 2 | 46 | -- |
| 3 | -- Copyright © 2007 Red Hat, Inc. All rights reserved. |
|
| 4 | -- |
|
| 5 | -- This copyrighted material is made available to anyone wishing to use, modify, |
|
| 6 | -- copy, or redistribute it subject to the terms and conditions of the GNU |
|
| 7 | -- General Public License v.2. This program is distributed in the hope that it |
|
| 8 | -- will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the |
|
| 9 | -- implied warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
| 10 | -- See the GNU General Public License for more details. You should have |
|
| 11 | -- received a copy of the GNU General Public License along with this program; |
|
| 12 | -- if not, write to the Free Software Foundation, Inc., 51 Franklin Street, |
|
| 13 | -- Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat trademarks that are |
|
| 14 | -- incorporated in the source code or documentation are not subject to the GNU |
|
| 15 | -- General Public License and may only be used or replicated with the express |
|
| 16 | -- permission of Red Hat, Inc. |
|
| 17 | -- |
|
| 18 | -- Red Hat Author(s): Toshio Kuratomi <tkuratom@redhat.com> |
|
| 19 | 43 | |
| 20 | -- fassession2.sql Defines the database that we use to tie the LDAP account |
|
| 21 | -- system to sessions (as used by turbogears.) |
|
| 22 | 8 | |
| 23 | drop database fassession2; |
|
| 24 | create database fassession2 with encoding='UTF8'; |
|
| 25 | \c fassession2 |
|
| 26 | ||
| 27 | create table visit ( |
|
| 28 | visit_key varchar(40) primary key, |
|
| 29 | created timestamp not null default now(), |
|
| 30 | expiry timestamp |
|
| 31 | ); |
|
| 32 | ||
| 33 | create table visit_identity ( |
|
| 34 | visit_key varchar(40) primary key, |
|
| 35 | user_id text |
|
| 36 | ); |
|
| 37 | ||
| 38 | create index visit_identity_user_idx on visit_identity (user_id); |
|
| 39 | ||
| 40 | grant all on visit, visit_identity to apache; |
|
| 41 |
Loggerhead 1.18.1 is a web-based interface for Bazaar branches