Skip to content

Commit

Permalink
migrate link #61
Browse files Browse the repository at this point in the history
  • Loading branch information
左正 committed May 26, 2020
1 parent 2a52676 commit ad6a7e1
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 32 deletions.
100 changes: 68 additions & 32 deletions textMark/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions textMark/common/migrations/0004_text.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 3.0.5 on 2020-05-26 10:43

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
('common', '0003_merge_20200520_1445'),
]

operations = [
migrations.CreateModel(
name='Text',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=200)),
('text', models.TextField()),
('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='common.Project')),
],
),
]
Binary file modified textMark/db.sqlite3
Binary file not shown.

0 comments on commit ad6a7e1

Please sign in to comment.