From e748d11bfd2232b77aeb5dae0d1e76ebb2988afb Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 9 Feb 2017 14:07:40 +0100 Subject: Update the column name transcrib_file to audio_name --- priv/repo/migrations/20170124112342_create_audio_file.exs | 14 -------------- priv/repo/migrations/20170209113547_create_audio_file.exs | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 priv/repo/migrations/20170124112342_create_audio_file.exs create mode 100644 priv/repo/migrations/20170209113547_create_audio_file.exs (limited to 'priv/repo/migrations') diff --git a/priv/repo/migrations/20170124112342_create_audio_file.exs b/priv/repo/migrations/20170124112342_create_audio_file.exs deleted file mode 100644 index 0fdac43..0000000 --- a/priv/repo/migrations/20170124112342_create_audio_file.exs +++ /dev/null @@ -1,14 +0,0 @@ -defmodule TheTranscriberBackend.Repo.Migrations.CreateAudioFile do - use Ecto.Migration - - def change do - create table(:audio_file) do - add :audio_path, :string - add :transcription_file_path, :string - add :audio_duration, :string - - timestamps() - end - - end -end diff --git a/priv/repo/migrations/20170209113547_create_audio_file.exs b/priv/repo/migrations/20170209113547_create_audio_file.exs new file mode 100644 index 0000000..6f00b38 --- /dev/null +++ b/priv/repo/migrations/20170209113547_create_audio_file.exs @@ -0,0 +1,14 @@ +defmodule TheTranscriberBackend.Repo.Migrations.CreateAudioFile do + use Ecto.Migration + + def change do + create table(:audio_file) do + add :audio_path, :string + add :audio_name, :string + add :audio_duration, :string + + timestamps() + end + + end +end -- cgit v1.2.1