mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-17 23:37:47 +02:00
removed all migrations
This commit is contained in:
+4
-4
@@ -1,6 +1,4 @@
|
||||
FROM ubuntu:20.04
|
||||
RUN mkdir /app
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt update -y && apt install -y \
|
||||
build-essential \
|
||||
@@ -10,6 +8,8 @@ RUN apt update -y && apt install -y \
|
||||
wget \
|
||||
libpq-dev
|
||||
|
||||
COPY requirements.txt /app/
|
||||
RUN pip3 install -r requirements.txt
|
||||
COPY ./requirements.txt /tmp/requirements.txt
|
||||
RUN pip3 install -r /tmp/requirements.txt
|
||||
RUN mkdir /app
|
||||
WORKDIR /app
|
||||
COPY . /app/
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
# Generated by Django 3.0.6 on 2020-05-11 09:23
|
||||
|
||||
from django.db import migrations, models
|
||||
import multiselectfield.db.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='EngineType',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('scan_type_name', models.CharField(max_length=200)),
|
||||
('my_field', multiselectfield.db.fields.MultiSelectField(choices=[('subdomain_discovery', 'Subdomain Discovery'), ('visual_identification', 'Visual Idenfitication'), ('dir_file_search', 'Directory & Files Discovery'), ('subdomain_takeover', 'Subdomain Takeover'), ('param_discovery', 'Parameter Discovery'), ('port_scan', 'Port Scan')], max_length=102)),
|
||||
],
|
||||
),
|
||||
]
|
||||
@@ -1,23 +0,0 @@
|
||||
# Generated by Django 2.2.12 on 2020-05-05 18:38
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Domain',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('domain_name', models.CharField(max_length=300)),
|
||||
('domain_description', models.TextField()),
|
||||
('insert_date', models.DateTimeField()),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user