mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-20 19:56:31 +00:00
.devcontainer
.devops
.github
.vscode
InvenTree
InvenTree
_testfolder
build
fixtures
migrations
0001_initial.py
0002_auto_20190520_2204.py
0003_auto_20190525_2355.py
0004_auto_20190525_2356.py
0005_auto_20190604_2217.py
0006_auto_20190913_1407.py
0007_auto_20191118_2321.py
0008_auto_20200201_1247.py
0009_auto_20200210_1032.py
0010_auto_20200318_1027.py
0011_auto_20200406_0123.py
0012_build_sales_order.py
0013_auto_20200425_0507.py
0014_auto_20200425_1243.py
0015_auto_20200425_1350.py
0016_auto_20200426_0551.py
0017_auto_20200426_0612.py
0018_build_reference.py
0019_auto_20201019_1302.py
0020_auto_20201019_1325.py
0021_auto_20201020_0908_squashed_0026_auto_20201023_1228.py
0022_buildorderattachment.py
0023_auto_20201110_0911.py
0024_auto_20201201_1023.py
0025_build_target_date.py
0026_auto_20210216_1539.py
0027_auto_20210404_2016.py
0028_builditem_bom_item.py
0029_auto_20210601_1525.py
0030_alter_build_reference.py
0031_build_reference_int.py
0032_auto_20211014_0632.py
0033_auto_20211128_0151.py
0034_alter_build_reference_int.py
0035_alter_build_notes.py
0036_auto_20220707_1101.py
0037_build_priority.py
0038_alter_build_responsible.py
0039_auto_20230317_0816.py
0040_auto_20230404_1310.py
0041_alter_build_title.py
0042_alter_build_notes.py
0043_buildline.py
0044_auto_20230528_1410.py
0045_builditem_build_line.py
0046_auto_20230606_1033.py
0047_auto_20230606_1058.py
0048_build_project_code.py
__init__.py
templates
__init__.py
admin.py
api.py
apps.py
models.py
serializers.py
tasks.py
test_api.py
test_build.py
test_migrations.py
tests.py
urls.py
validators.py
views.py
common
company
generic
label
locale
machine
order
part
plugin
plugins
report
script
stock
templates
users
web
config_template.yaml
gunicorn.conf.py
manage.py
ci
contrib
deploy
docker
docs
images
src
.deepsource.toml
.eslintrc.yml
.gitattributes
.gitignore
.pkgr.yml
.pre-commit-config.yaml
CONTRIBUTING.md
Dockerfile
LICENSE
Procfile
README.md
RELEASE.md
SECURITY.md
backportrc.json
crowdin.yml
docker-compose.yml
docker.dev.env
package-lock.json
package.json
pyproject.toml
readthedocs.yml
requirements-dev.in
requirements-dev.txt
requirements.in
requirements.txt
runtime.txt
tasks.py
yarn.lock
32 lines
1.3 KiB
Python
32 lines
1.3 KiB
Python
# Generated by Django 3.0.7 on 2020-10-26 04:17
|
|
|
|
import InvenTree.models
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
('build', '0021_auto_20201020_0908_squashed_0026_auto_20201023_1228'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='BuildOrderAttachment',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('attachment', models.FileField(help_text='Select file to attach', upload_to=InvenTree.models.rename_attachment)),
|
|
('comment', models.CharField(blank=True, help_text='File comment', max_length=100)),
|
|
('upload_date', models.DateField(auto_now_add=True, null=True)),
|
|
('build', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='attachments', to='build.Build')),
|
|
('user', models.ForeignKey(blank=True, help_text='User', null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
),
|
|
]
|