Initial commit
This commit is contained in:
12
priv/repo/migrations/20220523092454_create_threads.exs
Normal file
12
priv/repo/migrations/20220523092454_create_threads.exs
Normal file
@ -0,0 +1,12 @@
|
||||
defmodule SomethingErlang.Repo.Migrations.CreateThreads do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
create table(:threads) do
|
||||
add :title, :string
|
||||
add :thread_id, :integer
|
||||
|
||||
timestamps()
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user