Skip to content

Commit 4c3f002

Browse files
docs: update readme
1 parent 9c6a99d commit 4c3f002

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ BackupTables::generateBackup(['users', 'posts']);
5555
```php
5656
BackupTables::generateBackup(User::class); // users_backup_2024_08_22_17_40_01
5757
// or
58-
BackupTables::generateBackup([User::class, Post:class]); // users_backup_2024_08_22_17_40_01, posts_backup_2024_08_22_17_40_01
58+
BackupTables::generateBackup([User::class, Post::class]); // users_backup_2024_08_22_17_40_01, posts_backup_2024_08_22_17_40_01
5959

6060
```
6161

6262
- You can customize the $dataTime format to whatever you want
6363

6464
```php
65-
BackupTables::generateBackup(`users', 'Y_d_m_H_i'); // users_backup_2024_22_08_17_40
65+
BackupTables::generateBackup('users', 'Y_d_m_H_i'); // users_backup_2024_22_08_17_40
6666
```
6767

6868
> *Note: be aware if you customize the datetime to wide datetime the package will check the backup datetime file and
@@ -71,8 +71,8 @@ BackupTables::generateBackup(`users', 'Y_d_m_H_i'); // users_backup_2024_22_08_1
7171
> For example: if you use this `Y_d_m_H` you can not generate the same backup in the same hour
7272
7373
```php
74-
BackupTables::generateBackup(`users', 'Y_d_m_H'); // can not generate the same backup in the same hour
75-
BackupTables::generateBackup(`users', 'Y_d_m'); // can not generate the same backup in the same day
74+
BackupTables::generateBackup('users', 'Y_d_m_H'); // can not generate the same backup in the same hour
75+
BackupTables::generateBackup('users', 'Y_d_m'); // can not generate the same backup in the same day
7676
```
7777

7878
## Why?

0 commit comments

Comments
 (0)