mirror of https://github.com/sipwise/db-schema.git
parent
6c51a53b57
commit
82ed0d71a1
@ -0,0 +1,3 @@
|
||||
USE provisioning;
|
||||
|
||||
DROP TABLE `autoprov_redirect_credentials`;
|
||||
@ -0,0 +1,12 @@
|
||||
USE provisioning;
|
||||
|
||||
CREATE TABLE `autoprov_redirect_credentials` (
|
||||
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`device_id` int(11) unsigned NOT NULL,
|
||||
`user` varchar(255) DEFAULT NULL,
|
||||
`password` varchar(255) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `ap_devid_fk` (`device_id`),
|
||||
KEY `vendor_idx` (`vendor`),
|
||||
CONSTRAINT `autoprov_redirect_credentials_ibfk_1` FOREIGN KEY (`device_id`) REFERENCES `autoprov_devices` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
||||
) ENGINE=InnoDB;
|
||||
Loading…
Reference in new issue