This commit is contained in:
Rikard Bartholf
2016-02-12 13:34:24 +01:00
parent b53b4f093c
commit b36401c1cd
+2 -2
View File
@@ -23,7 +23,7 @@ The naming convention for migration files are:
- ...and so on
**Example**
The first file, `migration/000.000.sql` may look like this:
The first file, `migrations/000.000.sql` may look like this:
```
create table users (
name varchar(32) not null,
@@ -31,7 +31,7 @@ create table users (
);
```
The second file, `migration/000.001.sql` may look like this:
The second file, `migrations/000.001.sql` may look like this:
```
alter table users
add email varchar(256) not null;