You've already forked code_examples_server
mirror of
https://github.com/AdaCore/code_examples_server.git
synced 2026-02-12 12:45:18 -08:00
Merge pull request #8 from Robert-Tice/master
Adding makemigration output to add table for books model.
This commit is contained in:
25
compile_server/app/migrations/0003_book.py
Normal file
25
compile_server/app/migrations/0003_book.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.7 on 2017-11-27 22:13
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app', '0002_example_main'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Book',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('directory', models.TextField()),
|
||||
('subpath', models.TextField()),
|
||||
('description', models.TextField()),
|
||||
('title', models.TextField()),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user