... には、空間機能を有効にするために使用される PostgreSQL 用の拡張機能が含まれています。 $ createdb <db name> $ psql <db name> > CREATE EXTENSION postgis ; データベースユーザーは、 CREATE EXTENSION postgis; を実行するためにはスーパーユーザーである必要があります。この ... トでの代替方法として、マイグレーションオペレーションを使用する方法があります: from django.contrib.postgres.operations import CreateExtension from django.db import migrations class Migration ( migrations . Migration ): operations = [ CreateExtension ( "postgis" ), ... ... ] PostGIS のラスタ機能を使用する予定がある場合は、 postgis_raster 拡張機能も有効にする必要があります。拡張機能は、 CreateExtension マイグレーション操作を使用してインストールするか、または直接 CREATE EXTENSION postgis_raster; を実行することでインストール ... ... には、空間機能を有効にするために使用される PostgreSQL 用の拡張機能が含まれています。 $ createdb <db name> $ psql <db name> > CREATE EXTENSION postgis ; データベースユーザーは、 CREATE EXTENSION postgis; を実行するためにはスーパーユーザーである必要があります。この ... トでの代替方法として、マイグレーションオペレーションを使用する方法があります: from django.contrib.postgres.operations import CreateExtension from django.db import migrations class Migration ( migrations . Migration ): operations = [ CreateExtension ( "postgis" ), ... ... ] PostGIS のラスタ機能を使用する予定がある場合は、 postgis_raster 拡張機能も有効にする必要があります。拡張機能は、 CreateExtension マイグレーション操作を使用してインストールするか、または直接 CREATE EXTENSION postgis_raster; を実行することでインストール ... ... 限を持つユーザーでDjangoのマイグレーション外で拡張機能を作成する必要があります。その場合、Djangoデータベースに接続してクエリ CREATE EXTENSION IF NOT EXISTS hstore; を実行してください。 CreateExtension ¶ class CreateExtension ( name , hints = None ) [ソース] ¶ Pos ... 状態になる可能性があります。 目次 データベースのマイグレーション・オペレーション マイグレーションを使って拡張機能を作成する CreateExtension BloomExtension BtreeGinExtension BtreeGistExtension CITextExtension CryptoExtension HStoreExtension TrigramExtension Unacc ... ... 限を持つユーザーでDjangoのマイグレーション外で拡張機能を作成する必要があります。その場合、Djangoデータベースに接続してクエリ CREATE EXTENSION IF NOT EXISTS hstore; を実行してください。 CreateExtension ¶ class CreateExtension ( name , hints = None ) [ソース] ¶ Pos ... 状態になる可能性があります。 目次 データベースのマイグレーション・オペレーション マイグレーションを使って拡張機能を作成する CreateExtension BloomExtension BtreeGinExtension BtreeGistExtension CITextExtension CryptoExtension HStoreExtension TrigramExtension Unacc ... ... ram(トリグラム)類似度 Unaccent データベースのマイグレーション・オペレーション マイグレーションを使って拡張機能を作成する CreateExtension BloomExtension BtreeGinExtension BtreeGistExtension CITextExtension CryptoExtension HStoreExtension TrigramExtension Unacc ... ... ram(トリグラム)類似度 Unaccent データベースのマイグレーション・オペレーション マイグレーションを使って拡張機能を作成する CreateExtension BloomExtension BtreeGinExtension BtreeGistExtension CITextExtension CryptoExtension HStoreExtension TrigramExtension Unacc ... ... eatecachetable コマンドラインオプション --database --dry-run CreateCollation (django.contrib.postgres.operations のクラス) CreateExtension (django.contrib.postgres.operations のクラス) CreateModel (django.db.migrations.operations のクラス) createsuperuser djang ... s のクラス) hints (BloomExtension の属性) (BtreeGinExtension の属性) (BtreeGistExtension の属性) (CITextExtension の属性) (CreateExtension の属性) (CryptoExtension の属性) (HStoreExtension の属性) (TrigramExtension の属性) (UnaccentExtension の属性) history_vie ... C N NAME setting name (Action の属性) (AppConfig の属性) (BaseConstraint の属性) (BoundField の属性) (ContentType の属性) (CreateExtension の属性) (DataSource の属性) (ExclusionConstraint の属性) (Field の属性) (FieldFile の属性) (File の属性) (GDALRaster の属性 ... ... eatecachetable コマンドラインオプション --database --dry-run CreateCollation (django.contrib.postgres.operations のクラス) CreateExtension (django.contrib.postgres.operations のクラス) CreateModel (django.db.migrations.operations のクラス) createsuperuser djang ... s のクラス) hints (BloomExtension の属性) (BtreeGinExtension の属性) (BtreeGistExtension の属性) (CITextExtension の属性) (CreateExtension の属性) (CryptoExtension の属性) (HStoreExtension の属性) (TrigramExtension の属性) (UnaccentExtension の属性) history_vie ... C N NAME setting name (Action の属性) (AppConfig の属性) (BaseConstraint の属性) (BoundField の属性) (ContentType の属性) (CreateExtension の属性) (DataSource の属性) (ExclusionConstraint の属性) (Field の属性) (FieldFile の属性) (File の属性) (GDALRaster の属性 ... ... 約される要素の並び順を指定します。 The new JSONBAgg.distinct attribute determines if aggregated values will be distinct. The CreateExtension operation now checks that the extension already exists in the database and skips the migration if so. The new CreateCollat ... ... nts from django.contrib.postgres now include system checks to verify that django.contrib.postgres is an installed app. The CreateExtension , BloomExtension , BtreeGinExtension , BtreeGistExtension , CITextExtension , CryptoExtension , HStoreExtension , TrigramE ... 2026年10月08日