aboutsummaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20170209113547_create_audio_file.exs
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-02-09 14:07:40 +0100
committerneodarz <neodarz@neodarz.net>2017-02-09 14:07:40 +0100
commite748d11bfd2232b77aeb5dae0d1e76ebb2988afb (patch)
treea30329b2fbab4dd583761f729f20d7bffa447cf9 /priv/repo/migrations/20170209113547_create_audio_file.exs
parente455009b1872815c4fad91c389af9f7a27a6ba28 (diff)
downloadthe_transcriber_backend-e748d11bfd2232b77aeb5dae0d1e76ebb2988afb.tar.xz
the_transcriber_backend-e748d11bfd2232b77aeb5dae0d1e76ebb2988afb.zip
Update the column name transcrib_file to audio_name
Diffstat (limited to 'priv/repo/migrations/20170209113547_create_audio_file.exs')
-rw-r--r--priv/repo/migrations/20170209113547_create_audio_file.exs14
1 files changed, 14 insertions, 0 deletions
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