Files
adamantium/db/migrate/20230101035642_create_posts.rb
2023-01-27 22:55:09 +11:00

13 lines
265 B
Ruby

# frozen_string_literal: true
ROM::SQL.migration do
change do
create_table :posts do
primary_key :id
column :name, :text, null: false, default: ""
column :content, :text, null: false
column :published_at, :timestamp
end
end
end