|
@@ -38,5 +38,76 @@
|
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "7db75185-8d72-4b46-a500-7bdd3b3be183";
|
|
|
//$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
$y++;
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "clip_view";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $y++;
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "clip_add";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $y++;
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "clip_edit";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+ $y++;
|
|
|
+ $apps[$x]['permissions'][$y]['name'] = "clip_delete";
|
|
|
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
+
|
|
|
+ //schema details
|
|
|
+ $y=0;
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_clips";
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "";
|
|
|
+ $z=0;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_uuid";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_name";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_folder";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_text_start";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_text_end";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_order";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "clip_desc";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+ $z++;
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
|
?>
|