Skip to content
Snippets Groups Projects
Commit a6f3eabf authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

example of FK definition

parent 014cb4b0
No related branches found
No related tags found
No related merge requests found
......@@ -14,4 +14,7 @@
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
ALTER TABLE llx_myobject ADD UNIQUE INDEX uk_fk_othertable (fk_othertable);
--ALTER TABLE llx_myobject ADD CONSTRAINT llx_mytable_field_id FOREIGN KEY (fk_field) REFERENCES llx_myOthertable(rowid);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment