mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-14 07:02:38 +00:00
19 lines
396 B
Elixir
19 lines
396 B
Elixir
|
defmodule Rauversion.Repo.Migrations.CreatePreviewCards do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
create table(:preview_cards) do
|
||
|
add(:url, :string)
|
||
|
add(:title, :string)
|
||
|
add(:description, :text)
|
||
|
add(:type, :string)
|
||
|
add(:author_name, :string)
|
||
|
add(:author_url, :string)
|
||
|
add(:html, :text)
|
||
|
add(:image, :string)
|
||
|
|
||
|
timestamps()
|
||
|
end
|
||
|
end
|
||
|
end
|