Skip to content

Commit

Permalink
1st migration is done
Browse files Browse the repository at this point in the history
  • Loading branch information
ameek committed Aug 1, 2018
1 parent 0ab9bc4 commit 6152fff
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 0 deletions.
Binary file modified medicine_reminder/api/__pycache__/models.cpython-36.pyc
Binary file not shown.
23 changes: 23 additions & 0 deletions medicine_reminder/api/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 2.0.5 on 2018-08-01 16:34

from django.db import migrations, models


class Migration(migrations.Migration):

initial = True

dependencies = [
]

operations = [
migrations.CreateModel(
name='Bucketlist',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=225, unique=True)),
('date_created', models.DateTimeField(auto_now_add=True)),
('date_modified', models.DateTimeField(auto_now=True)),
],
),
]
Binary file not shown.
Binary file added medicine_reminder/db.sqlite3
Binary file not shown.
Binary file not shown.
8 changes: 8 additions & 0 deletions support.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,11 @@ setp 4: create an application
$ python manage.py startapp app_name

step 5: add the app to ta project, setting.py>INSTALLED_APPS

step6: make Model

step7:
$ python manage.py makemigration

step8:
$ python manage.py migrate

0 comments on commit 6152fff

Please sign in to comment.