2
0
forked from Wavyzz/dolibarr

NEW resource improvements - data structure (#26285)

* NEW improved resource data structure

* Added data structure v18-v19 migration

* Added null as default

* Revert "Added null as default"

This reverts commit c17d144800.

* Added null as default

* Added contributor details

* Renamed user_places to max_users

* Update llx_resource.sql

---------

Co-authored-by: William Mead <william.mead@manchenumerique.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
William Mead
2023-10-20 14:59:04 +02:00
committed by GitHub
parent 60fa585a7f
commit a4dd36d967
2 changed files with 17 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
-- Module to manage resources into Dolibarr ERP/CRM
-- Copyright (C) 2013 Jean-François Ferry <jfefe@aternatik.fr>
-- Copyright (C) 2016 Gilles Poirier <glgpoirier@gmail.com>
-- Copyright (C) 2023 William Mead <william.mead@manchenumerique.fr>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
@@ -23,6 +24,14 @@ CREATE TABLE llx_resource
asset_number varchar(255),
description text,
fk_code_type_resource varchar(32),
address varchar(255) DEFAULT NULL,
zip varchar(25) DEFAULT NULL,
town varchar(50) DEFAULT NULL,
photo_filename varchar(255) DEFAULT NULL,
max_users integer DEFAULT NULL,
phone varchar(20) DEFAULT NULL,
email varchar(255) DEFAULT NULL,
url varchar(255) DEFAULT NULL,
datec datetime DEFAULT NULL,
date_valid datetime DEFAULT NULL,
fk_user_author integer DEFAULT NULL,