You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you will notice, the migration filename is prefixed with some numeric value. We add the current timestamp to the filename so that the migration files are sorted in the order created.
@@ -38,7 +38,7 @@ A migration class always extends the [BaseSchema](https://github.com/adonisjs/lu
38
38
- The `up` method is used to evolve the database schema further. Usually, you will create new tables/indexes or alter existing tables inside this method.
39
39
- The `down` method is used to roll back the actions executed by the `up` method. For example, if the up method creates a table, the down method should drop the same table.
40
40
41
-
Both the methods have access to the [Schema builder](./schema_builder.md) that you can use to construct SQL DDL queries.
41
+
Both methods have access to the [Schema builder](./schema_builder.md) that you can use to construct SQL DDL queries.
0 commit comments