Skip to content

Commit

Permalink
docs(database): various errors in the explanations (adonisjs#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinRouchut committed May 21, 2021
1 parent 4d727aa commit 2f99e95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/reference/database/schema-builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class UserSchema extends BaseSchema {
---

### dropTable
Drop an existing SQL table. The method accepts the table name as the only argument.
Drop an existing SQL table. The method accepts the table name as the only argument.

```ts
class UserSchema extends BaseSchema {
Expand All @@ -112,7 +112,7 @@ class UserSchema extends BaseSchema {
---

### dropTableIfExists
Similar to the `dropTable` method, but conditionally drop the table if it does not exist.
Similar to the `dropTable` method, but conditionally drop the table if it exists.

```ts
class UserSchema extends BaseSchema {
Expand All @@ -127,7 +127,7 @@ class UserSchema extends BaseSchema {
---

### dropSchema
Drop an existing PostgreSQL schema. The method accepts the schema name as the only argument.
Drop an existing PostgreSQL schema. The method accepts the schema name as the only argument.

```ts
class FoundationSchema extends BaseSchema {
Expand All @@ -142,7 +142,7 @@ class FoundationSchema extends BaseSchema {
---

### dropSchemaIfExists
Similar to the `dropSchema` method, but conditionally drop the table if it does not exist.
Similar to the `dropSchema` method, but conditionally drop the schema if it exists.

```ts
class FoundationSchema extends BaseSchema {
Expand Down

0 comments on commit 2f99e95

Please sign in to comment.