module updated
This commit is contained in:
@ -362,8 +362,9 @@ class OMIS
|
||||
`updatedby` INT(11)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
");
|
||||
DB::statement("CREATE TABLE IF NOT EXISTS `tbl_proviences` (
|
||||
`provience_id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
|
||||
DB::statement("CREATE TABLE IF NOT EXISTS `tbl_provinces` (
|
||||
`province_id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
`countries_id` INT(11) NULL,
|
||||
`title` VARCHAR(255),
|
||||
`alias` VARCHAR(255),
|
||||
@ -380,7 +381,7 @@ class OMIS
|
||||
|
||||
DB::statement("CREATE TABLE IF NOT EXISTS `tbl_districts` (
|
||||
`district_id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
`proviences_id` INT(11),
|
||||
`provinces_id` INT(11),
|
||||
`title` VARCHAR(255),
|
||||
`alias` VARCHAR(255),
|
||||
`description` TEXT,
|
||||
@ -727,8 +728,8 @@ class OMIS
|
||||
// if (!(DB::table('countries')->first())) {
|
||||
// DB::statement("INSERT INTO `tbl_countries` (`title`,`alias`,`status`) VALUES ('Nepal','nepal', '1');");
|
||||
// }
|
||||
// if (!(DB::table('proviences')->first())) {
|
||||
// DB::statement("INSERT INTO `tbl_proviences` (`title`,`alias`,`status`) VALUES ('Bagmati','bagmati', '1');");
|
||||
// if (!(DB::table('provinces')->first())) {
|
||||
// DB::statement("INSERT INTO `tbl_provinces` (`title`,`alias`,`status`) VALUES ('Bagmati','bagmati', '1');");
|
||||
// }
|
||||
|
||||
// if (!(DB::table('roles')->first())) {
|
||||
|
Reference in New Issue
Block a user