Update README
This commit is contained in:
@@ -23,7 +23,7 @@ The naming convention for migration files are:
|
|||||||
- ...and so on
|
- ...and so on
|
||||||
|
|
||||||
**Example**
|
**Example**
|
||||||
The first file, `migration/000.000` may look like this:
|
The first file, `migration/000.000.sql` may look like this:
|
||||||
```
|
```
|
||||||
create table users (
|
create table users (
|
||||||
name varchar(32) not null,
|
name varchar(32) not null,
|
||||||
@@ -31,7 +31,7 @@ create table users (
|
|||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
The second file, `migration/000.001` may look like this:
|
The second file, `migration/000.001.sql` may look like this:
|
||||||
```
|
```
|
||||||
alter table users
|
alter table users
|
||||||
add email varchar(256) not null;
|
add email varchar(256) not null;
|
||||||
|
|||||||
Reference in New Issue
Block a user