Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Commit a7f5359

Browse files
committed
update readme
1 parent 2d28526 commit a7f5359

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ Trigger::table('posts');
3939

4040
By default, the class will generate a name for the trigger using the following convention:
4141

42-
> trigger_{TABLE}_{TIME}_{EVENT}
42+
```
43+
trigger_{TABLE}_{TIME}_{EVENT}
44+
```
4345

4446
However, since trigger names must be unique across the database, if you were to create two triggers that used the same event and time (these concepts are covered in the next section), then you'd get an error.
4547

@@ -51,7 +53,9 @@ Trigger::table('posts')->key('custom');
5153

5254
When a key is specified, the trigger name is derived from the following convention:
5355

54-
> trigger_{TABLE}_{KEY}_{TIME}_{EVENT}
56+
```
57+
trigger_{TABLE}_{KEY}_{TIME}_{EVENT}
58+
```
5559

5660
### Event and time
5761

0 commit comments

Comments
 (0)