--
-- Table structure for table `tbl_section`
--
CREATE TABLE `tbl_section` (
`id` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`short_title` varchar(255) NOT NULL,
`is_home_views` int(11) NOT NULL DEFAULT 1 COMMENT '1- home views, 2- other views',
`content_type` int(11) NOT NULL COMMENT '1- Music, 2- Podcasts, 3- Radio, 4- Playlist, 5- Category, 6- Language',
`category_id` int(11) NOT NULL,
`language_id` int(11) NOT NULL,
`artist_id` int(11) NOT NULL,
`order_by_view` int(11) NOT NULL DEFAULT 0 COMMENT '1- ASC, 2- DESC',
`order_by_like` int(11) NOT NULL DEFAULT 0 COMMENT '1- ASC, 2- DESC',
`order_by_upload` int(11) NOT NULL DEFAULT 0 COMMENT '1- ASC, 2- DESC',
`views_layout` varchar(255) NOT NULL,
`is_admin_added` int(11) NOT NULL DEFAULT 0 COMMENT '0- All, 1- Admin, 2- User',
`no_of_content` int(11) NOT NULL DEFAULT 0 COMMENT '0- All',
`view_all` int(11) NOT NULL DEFAULT 0,
`sortable` int(11) NOT NULL DEFAULT 1,
`status` int(11) NOT NULL DEFAULT 1,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;