mirror of
https://github.com/UzixLS/migresia.git
synced 2025-07-19 07:11:28 +03:00
Add example of an empty migration
This commit is contained in:
9
priv/20160101112233_empty.erl
Normal file
9
priv/20160101112233_empty.erl
Normal file
@ -0,0 +1,9 @@
|
||||
-module('20160101112233_empty').
|
||||
-behavior(db_migration).
|
||||
-export([up/0, down/0]).
|
||||
|
||||
up() ->
|
||||
io:format("Empty migration applied.~n", []).
|
||||
|
||||
down() ->
|
||||
io:format("Empty migration reverted.~n", []).
|
Reference in New Issue
Block a user