Plain
Get Started Source + Docs Dev Updates
BSD-3 v0.130.1
Log in
Get Started Source + Docs Dev Updates BSD-3 v0.130.1
Documentation
Core
agents
assets
chores
cli
csrf
forms
http
internal
logs
packages
preflight
runtime
server
signals
templates
test
urls
utils
views
CHANGELOG.md
README.md
debug.py
exceptions.py
json.py
paginator.py
signing.py
validators.py
Packages
admin
api
auth
cache
code
dev
elements
email
esbuild
flags
htmx
jobs
loginlink
oauth
migrations
0001_initial.py
0002_alter_oauthconnection_access_token_and_more.py
0003_oauthconnection_plainoauth_oauthconnection_user_id_idx.py
templates
CHANGELOG.md
README.md
admin.py
config.py
default_settings.py
exceptions.py
models.py
preflight.py
providers.py
urls.py
views.py
observer
pages
pageviews
passwords
portal
postgres
pytest
redirection
scan
sessions
start
support
tailwind
toolbar
tunnel
vendor
Core
agents
assets
chores
cli
csrf
forms
http
internal
logs
packages
preflight
runtime
server
signals
templates
test
urls
utils
views
CHANGELOG.md
README.md
debug.py
exceptions.py
json.py
paginator.py
signing.py
validators.py
Packages
admin
api
auth
cache
code
dev
elements
email
esbuild
flags
htmx
jobs
loginlink
oauth
migrations
0001_initial.py
0002_alter_oauthconnection_access_token_and_more.py
0003_oauthconnection_plainoauth_oauthconnection_user_id_idx.py
templates
CHANGELOG.md
README.md
admin.py
config.py
default_settings.py
exceptions.py
models.py
preflight.py
providers.py
urls.py
views.py
observer
pages
pageviews
passwords
portal
postgres
pytest
redirection
scan
sessions
start
support
tailwind
toolbar
tunnel
vendor
Loading
Docs plain-oauth plain oauth migrations 0002_alter_oauthconnection_access_token_and_more.py
Raw LLM
 1# Generated by Plain 0.124.0 on 2026-03-16 14:33
 2
 3import plain.postgres.fields.encrypted
 4from plain.postgres import migrations
 5
 6
 7class Migration(migrations.Migration):
 8    dependencies = [
 9        ("plainoauth", "0001_initial"),
10    ]
11
12    operations = [
13        migrations.AlterField(
14            model_name="oauthconnection",
15            name="access_token",
16            field=plain.postgres.fields.encrypted.EncryptedTextField(max_length=2000),
17        ),
18        migrations.AlterField(
19            model_name="oauthconnection",
20            name="refresh_token",
21            field=plain.postgres.fields.encrypted.EncryptedTextField(
22                max_length=2000, required=False
23            ),
24        ),
25    ]
On this page