| 1 |
<?php
|
| 2 |
// $Id: workflow_access.install,v 1.2 2006/03/24 03:15:07 merlinofchaos Exp $
|
| 3 |
|
| 4 |
function workflow_access_install() {
|
| 5 |
db_query("create table if not exists {workflow_access} (
|
| 6 |
sid int(10) NOT NULL default 0,
|
| 7 |
rid int(10) NOT NULL default 0,
|
| 8 |
grant_view tinyint(1) unsigned NOT NULL default '0',
|
| 9 |
grant_update tinyint(1) unsigned NOT NULL default '0',
|
| 10 |
grant_delete tinyint(1) unsigned NOT NULL default '0',
|
| 11 |
KEY sid (sid),
|
| 12 |
KEY rid (rid)
|
| 13 |
);");
|
| 14 |
|
| 15 |
drupal_set_message("workflow_access database tables created. If you have existing workflow content, you should go to administer >> settings >> na_arbitrator and reset.");
|
| 16 |
}
|