Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django test postgres extensions intarray

from django.contrib.postgres.operations import CreateExtension

class Migration(migrations.Migration):
    ...

    operations = [
        CreateExtension(name='fuzzystrmatch'),
        ...
    ] 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #test #postgres #extensions #intarray
ADD COMMENT
Topic
Name
2+2 =