Skip to content

Commit 3c7e1b2

Browse files
author
Sergey
authored
fix description
1 parent 1a9d799 commit 3c7e1b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Book::findFirst(["book" => "Book_56"])->remove();
131131
```
132132

133133
# update v1.3:
134-
Now it's possible to migrate classes to tables in database. All you need is describe classes and call migrate method:
134+
Now it's possible to create tables in database from classes. All you need is describe classes and call migrate method:
135135
```php
136136
// migrate.php
137137
$db = new HomeLibrary();
@@ -142,4 +142,4 @@ $author1->migrate();
142142
$library = new Library();
143143
$library->migrate();
144144
```
145-
Be cearful, when you migrate class to table which is exist. Its structure will be replaced to new and all data will be cleaned.
145+
Be careful, when you call migrate for tables which are exists in database, their structure will be overwritten and all data will deleted.

0 commit comments

Comments
 (0)