Professional Documents
Culture Documents
migrate:rollback
migrate
migrate:rollback
migrate
createTeachersSeeder
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "createTeachersSeeder" is not defined.
[PDOException]
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'teachers' a
lready exists
Akmals-MacBook-Pro:teachad akmalfahrurizal$ php artisan migrate:refresh
Rolled back: 2016_09_05_020329_create_files_table
Rolled back: 2014_10_12_100000_create_password_resets_table
Rolled back: 2014_10_12_000000_create_users_table
[Illuminate\Database\QueryException]
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'teachers' a
lready exists (SQL: create table `teachers` (`id` int unsigned not null aut
o_increment primary key, `nama` varchar(255) not null, `nip` varchar(255) n
ot null, `kode` varchar(255) not null, `pangkat` varchar(255) not null, `ja
batan` varchar(255) not null, `created_at` timestamp null, `updated_at` tim
estamp null) default character set utf8 collate utf8_unicode_ci)
[PDOException]