- Create a database.
- Run CreateTables.sql to create tables.
- Select all tables in mysql employees database and export to newly created database in postgresql.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import sys | |
| import re | |
| import argparse | |
| import uuid | |
| # USAGE: | |
| # python3 projectRename.py -d "originalProjectDirectory" -f "originalProjectDirectory" -r "newProjectName" | |
| # note the second reference to originalProjectDirectory is the project name | |
| # this program will make a new directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using AutoMapper; | |
| using CsvHelper; | |
| using CsvHelper.Configuration; | |
| using Microsoft.AspNetCore.Builder; | |
| using Microsoft.AspNetCore.Http; | |
| using Microsoft.EntityFrameworkCore; | |
| using Microsoft.Extensions.Configuration; | |
| using System.Globalization; | |
| using System.Threading.Tasks; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Import IMDB TSV Database Into PostgreSQL | |
| -- CREATE TABLE STRUCTURE | |
| CREATE TABLE name_basics ( | |
| nconst VARCHAR PRIMARY KEY, | |
| primaryName VARCHAR, | |
| birthYear INTEGER, | |
| deathYear INTEGER, | |
| primaryProfession VARCHAR, | |
| knownForTitles VARCHAR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:electronics_app/data/eletronicsData/priceRequest/modelSearch/models/model_search_model.dart'; | |
| import 'package:electronics_app/utils/colors.dart'; | |
| import 'package:electronics_app/view/screens/priceRequest/price_request_view_model.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_screenutil/flutter_screenutil.dart'; | |
| class ModelSearchDelegate extends SearchDelegate { | |
| final PriceRequestViewModel? viewModel; | |
| final int? compId; | |
| final int? brandId; |