13 lines
275 B
Ruby
13 lines
275 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateAPIUsers < ActiveRecord::Migration[7.1]
|
|
def change
|
|
create_table(:api_users) do |t|
|
|
t.integer(:level, null: false)
|
|
t.string(:name, null: false)
|
|
t.string(:last_avatar_hash)
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|