Websites/db/migrate/20231108214419_create_e621_webhooks.rb

15 lines
394 B
Ruby
Raw Normal View History

2024-05-03 03:04:43 +00:00
# frozen_string_literal: true
class CreateE621Webhooks < ActiveRecord::Migration[7.1]
def change
create_table(:e621_webhooks) do |t|
t.string(:channel_id, null: false)
t.string(:creator_id)
t.string(:guild_id, null: false)
t.string(:webhook_id, null: false)
t.string(:webhook_token, null: false)
t.datetime(:created_at, null: false)
end
end
end