Yii component that allows to interact with the user through a widget to drag and drop elements in a stipulated area, makes use of the MVC pattern and interacts with the database by making internal calls about the models that, through inheritance, implement a certain interface.
DROP TABLE IF EXISTS db_site.header_slider_images;
CREATE DATABASE IF NOT EXISTS db_site CHARACTER SET utf8 COLLATE utf8_spanish_ci;
CREATE TABLE IF NOT EXISTS db_site.header_slider_images (
id INT NOT NULL AUTO_INCREMENT,
image VARCHAR(45) NOT NULL,
position INT NOT NULL,
PRIMARY KEY (id),
INDEX (position)
) ENGINE=innodb;
