Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
emilpriver committed Feb 10, 2024
1 parent 93f81c1 commit 7b67e65
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,17 @@ Geni defaults to always run in transactions but if you want to prevent usage of
Then Geni won't use transactions for the specific migration.
This works for both up and down

Example:

```sql
-- transaction:no
CREATE TABLE table_2 (
id INT PRIMARY KEY,
name VARCHAR(255) NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
```

### Running migration

Running migration can be done using
Expand Down

0 comments on commit 7b67e65

Please sign in to comment.