MAPG-101 add migrations folder structure and create first migration
This commit is contained in:
parent
c0c44bcbae
commit
4b2fc23129
1
database/migrations/data/20200602_2306_migrations.php
Normal file
1
database/migrations/data/20200602_2306_migrations.php
Normal file
@ -0,0 +1 @@
|
||||
<?php //empty on purpose
|
@ -0,0 +1,6 @@
|
||||
CREATE TABLE `migrations` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`migration` varchar(255) NOT NULL,
|
||||
`type` enum('structure', 'data') NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;
|
Loading…
Reference in New Issue
Block a user