1
0
Fork 0
spejstore-new/storage/migrations/0001_initial.py

37 lines
1.0 KiB
Python
Raw Permalink Normal View History

2016-09-29 20:20:10 +00:00
# -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2016-09-29 20:18
from __future__ import unicode_literals
from django.db import migrations, models
from django.contrib.postgres.fields import HStoreField
from django.contrib.postgres.operations import HStoreExtension
from django.contrib.postgres.operations import TrigramExtension
2016-09-29 20:20:10 +00:00
class Migration(migrations.Migration):
initial = True
2023-07-11 13:34:35 +00:00
dependencies = []
2016-09-29 20:20:10 +00:00
operations = [
HStoreExtension(),
TrigramExtension(),
2016-09-29 20:20:10 +00:00
migrations.CreateModel(
2023-07-11 13:34:35 +00:00
name="Item",
2016-09-29 20:20:10 +00:00
fields=[
2023-07-11 13:34:35 +00:00
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("name", models.TextField()),
("description", models.TextField()),
("props", HStoreField()),
2016-09-29 20:20:10 +00:00
],
),
]