Websites/db/migrate/20231108214419_create_e621_webhooks.rb
2024-05-02 22:04:43 -05:00

15 lines
394 B
Ruby

# 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