Skip to content

Instantly share code, notes, and snippets.

@fransafu
Created January 19, 2015 22:08
Show Gist options
  • Save fransafu/e9819f45000d897a1a73 to your computer and use it in GitHub Desktop.
Save fransafu/e9819f45000d897a1a73 to your computer and use it in GitHub Desktop.
francisco@Francisco-NB:~/ProyectoGit/PHPLaravelGymManagementSystem$ sudo php artisan migrate
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0
Migration table created successfully.
[Exception]
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'migrations' already exists (SQL: create table `migrations` (`id` int unsigned not
null auto_increment primary key, `migration` varchar(255) not null, `batch` int not null, `created_at` timestamp default 0 not null, `updated_at
` timestamp default 0 not null) default character set utf8 collate utf8_unicode_ci) (Bindings: array (
))
[PDOException]
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'migrations' already exists
migrate [--bench[="..."]] [--database[="..."]] [--path[="..."]] [--package[="..."]] [--pretend] [--seed]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment