chore: add migrations to git
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
defmodule Localiser.Repo.Migrations.CreateFloors do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
create table(:floors) do
|
||||
add :name, :string, null: false
|
||||
|
||||
timestamps(type: :utc_datetime)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user