15 lines
394 B
Ruby
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
|