mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-04-28 15:28:44 +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
|