text
stringlengths 1
1.05M
|
|---|
drop trigger if exists delete_buyer;
DELIMITER //
create trigger delete_buyer before delete on buyer for each row
begin
delete from order_has_product where order_id in (select order_id from buyerorder where buyer_id=old.buyer_id);
delete from orderreturns where order_id in (select order_id from buyerorder where buyer_id=old.buyer_id);
delete from buyerorder where buyer_id=old.buyer_id;
delete from payment where buyer_id=old.buyer_id;
delete from address where buyer_id=old.buyer_id;
delete from review where buyer_id=old.buyer_id;
delete from wishlist where buyer_id=old.buyer_id;
end //
delimiter ;
drop trigger if exists delete_user;
DELIMITER //
create trigger delete_user after delete on buyer for each row
begin
declare umail varchar(45);
select email into umail from user where id=old.buyer_id;
insert into user_log (email, date_deleted, type) values(umail, CURRENT_TIMESTAMP, 'BUYER');
delete from user where id=old.buyer_id;
end //
delimiter ;
select * from buyer;
delete from buyer where Buyer_ID=27;
select * from buyer;
select * from user_log;
|
-- CreateTable
CREATE TABLE "User" (
"id" TEXT NOT NULL,
"username" TEXT NOT NULL,
"email" TEXT NOT NULL,
"password" TEXT NOT NULL,
"emailConfirmed" BOOLEAN NOT NULL DEFAULT false,
CONSTRAINT "User_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "Character" (
"id" SERIAL NOT NULL,
"user_id" TEXT NOT NULL,
"name" TEXT NOT NULL,
"category_id" INTEGER NOT NULL,
"level" INTEGER NOT NULL DEFAULT 1,
"experience" INTEGER NOT NULL DEFAULT 0,
"hp" INTEGER NOT NULL DEFAULT 200,
"strength" INTEGER NOT NULL DEFAULT 5,
"defense" INTEGER NOT NULL DEFAULT 5,
"agility" INTEGER NOT NULL DEFAULT 5,
"intelligence" INTEGER NOT NULL DEFAULT 5,
CONSTRAINT "Character_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "Category" (
"id" SERIAL NOT NULL,
"name" TEXT NOT NULL,
CONSTRAINT "Category_pkey" PRIMARY KEY ("id")
);
-- CreateIndex
CREATE UNIQUE INDEX "User_username_key" ON "User"("username");
-- CreateIndex
CREATE UNIQUE INDEX "User_email_key" ON "User"("email");
-- CreateIndex
CREATE UNIQUE INDEX "Category_name_key" ON "Category"("name");
-- AddForeignKey
ALTER TABLE "Character" ADD CONSTRAINT "Character_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "User"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "Character" ADD CONSTRAINT "Character_category_id_fkey" FOREIGN KEY ("category_id") REFERENCES "Category"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
|
--##############################################################################
--
-- SAMPLE SCRIPTS TO ACCOMPANY "SQL SERVER 2017 ADMINISTRATION INSIDE OUT"
--
-- © 2018 MICROSOFT PRESS
--
--##############################################################################
--
-- CHAPTER 7: SECURING THE SERVER AND ITS DATA
-- T-SQL SAMPLE 3
--
-- Turning on TDE on the WideWorldImporters database
USE master;
GO
-- Remember to back up this Database Master Key (DMK) once it is created
CREATE MASTER KEY ENCRYPTION BY PASSWORD = '<UseAReallyStrongPassword>';
GO
CREATE CERTIFICATE WideWorldServerCert WITH SUBJECT = 'WWI DEK Certificate';
GO
USE WideWorldImporters;
GO
CREATE DATABASE ENCRYPTION KEY
WITH ALGORITHM = AES_128
ENCRYPTION BY SERVER CERTIFICATE WideWorldServerCert;
GO
ALTER DATABASE WideWorldImporters SET ENCRYPTION ON;
GO
|
genome_id genome_name patric_id refseq_locus_tag gene product role_name superclass class subclass subsystem_name
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.28 ROSEINA2194_00034 DNA polymerase I (EC 2.7.7.7) DNA polymerase I (EC 2.7.7.7) DNA Processing DNA Processing DNA repair DNA Repair Base Excision
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.30 ROSEINA2194_00036 Cell division protein FtsA Cell division protein FtsA Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.34 ROSEINA2194_00040 IMP cyclohydrolase (EC 3.5.4.10) IMP cyclohydrolase (EC 3.5.4.10) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.35 ROSEINA2194_00041 Phosphoribosylaminoimidazolecarboxamide formyltransferase (EC 2.1.2.3) Phosphoribosylaminoimidazolecarboxamide formyltransferase (EC 2.1.2.3) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.36 ROSEINA2194_00042 Phosphoribosylaminoimidazolecarboxamide formyltransferase (EC 2.1.2.3) Phosphoribosylaminoimidazolecarboxamide formyltransferase (EC 2.1.2.3) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.37 ROSEINA2194_00043 Purine nucleoside phosphorylase (EC 2.4.2.1) Purine nucleoside phosphorylase (EC 2.4.2.1) Metabolism Nucleosides and Nucleotides Adenosyl nucleosidases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.39 ROSEINA2194_00045 Acetate kinase (EC 2.7.2.1) Acetate kinase (EC 2.7.2.1) Energy Energy and Precursor Metabolites Generation Fermentation Fermentations: Lactate
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.39 ROSEINA2194_00045 Acetate kinase (EC 2.7.2.1) Acetate kinase (EC 2.7.2.1) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate metabolism II: acetyl-CoA, acetogenesis from pyruvate
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.41 ROSEINA2194_00047 LSU ribosomal protein L32p @ LSU ribosomal protein L32p, zinc-dependent LSU ribosomal protein L32p, zinc-dependent Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, zinc requirement
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.41 ROSEINA2194_00047 LSU ribosomal protein L32p @ LSU ribosomal protein L32p, zinc-dependent LSU ribosomal protein L32p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, zinc requirement
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.41 ROSEINA2194_00047 LSU ribosomal protein L32p @ LSU ribosomal protein L32p, zinc-dependent LSU ribosomal protein L32p Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.44 ROSEINA2194_00050 Acyl carrier protein Acyl carrier protein Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Acyl carrier protein
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.44 ROSEINA2194_00050 Acyl carrier protein Acyl carrier protein Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis FASII
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.44 ROSEINA2194_00050 Acyl carrier protein Acyl carrier protein Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.44 ROSEINA2194_00050 Acyl carrier protein Acyl carrier protein Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty acid synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.44 ROSEINA2194_00050 Acyl carrier protein Acyl carrier protein Metabolism Fatty Acids, Lipids, and Isoprenoids Phospholipids Glycerolipid and Glycerophospholipid Metabolism in Bacteria
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.45 ROSEINA2194_00051 Ribonuclease III (EC 3.1.26.3) Ribonuclease III (EC 3.1.26.3) RNA Processing RNA Processing RNA processing and modification RNA processing and degradation, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.48 ROSEINA2194_00054 Signal recognition particle receptor FtsY Signal recognition particle receptor FtsY Clustering-based subsystems Cell Division Cell division related cluster including coaD
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.48 ROSEINA2194_00054 Signal recognition particle receptor FtsY Signal recognition particle receptor FtsY Cellular Processes Cell Cycle, Cell Division and Death FtsEX cell-division-associated signaling system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.48 ROSEINA2194_00054 Signal recognition particle receptor FtsY Signal recognition particle receptor FtsY Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.49 ROSEINA2194_00055 Threonine dehydratase, catabolic (EC 4.3.1.19) @ L-serine dehydratase, (PLP)-dependent (EC 4.3.1.17) Threonine dehydratase, catabolic (EC 4.3.1.19) Metabolism Amino Acids and Derivatives Branched-chain amino acids Branched-Chain Amino Acid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.54 ROSEINA2194_00060 Signal recognition particle protein Ffh Signal recognition particle protein Ffh Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.55 ROSEINA2194_00061 SSU ribosomal protein S16p SSU ribosomal protein S16p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.60 ROSEINA2194_00066 LSU ribosomal protein L19p LSU ribosomal protein L19p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.60 ROSEINA2194_00066 LSU ribosomal protein L19p LSU ribosomal protein L19p Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.65 ROSEINA2194_00071 Signal peptidase I (EC 3.4.21.89) Signal peptidase I (EC 3.4.21.89) Clustering-based subsystems Cell Division Cell division related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.65 ROSEINA2194_00071 Signal peptidase I (EC 3.4.21.89) Signal peptidase I (EC 3.4.21.89) Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein processing and modification Signal peptidase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.66 ROSEINA2194_00072 LSU ribosomal maturation GTPase RbgA (B. subtilis YlqF) LSU ribosomal maturation GTPase RbgA (B. subtilis YlqF) Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.67 ROSEINA2194_00073 Ribonuclease HII (EC 3.1.26.4) Ribonuclease HII (EC 3.1.26.4) RNA Processing RNA Processing RNA processing and modification Ribonuclease H
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.71 ROSEINA2194_00077 FIG00003370: Multicopper polyphenol oxidase FIG00003370: Multicopper polyphenol oxidase Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.72 ROSEINA2194_00078 Deblocking aminopeptidase (EC 3.4.11.-) Deblocking aminopeptidase (EC 3.4.11.-) Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein degradation Protein degradation
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.76 ROSEINA2194_00082 GTP-binding protein EngA GTP-binding protein EngA Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.78 ROSEINA2194_00084 Glycerol-3-phosphate dehydrogenase [NAD(P)+] (EC 1.1.1.94) Glycerol-3-phosphate dehydrogenase [NAD(P)+] (EC 1.1.1.94) Metabolism Fatty Acids, Lipids, and Isoprenoids Phospholipids Glycerolipid and Glycerophospholipid Metabolism in Bacteria
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.79 ROSEINA2194_00085 Deoxyuridine 5'-triphosphate nucleotidohydrolase (EC 3.6.1.23) Deoxyuridine 5'-triphosphate nucleotidohydrolase (EC 3.6.1.23) Metabolism Metabolite damage and its repair or mitigation Metabolite repair
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.79 ROSEINA2194_00085 Deoxyuridine 5'-triphosphate nucleotidohydrolase (EC 3.6.1.23) Deoxyuridine 5'-triphosphate nucleotidohydrolase (EC 3.6.1.23) Metabolism Metabolite damage and its repair or mitigation Nudix proteins (nucleoside triphosphate hydrolases)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.83 ROSEINA2194_00089 Topoisomerase IV subunit B (EC 5.99.1.-) Topoisomerase IV subunit B (EC 5.99.1.-) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in DNA processing
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.83 ROSEINA2194_00089 Topoisomerase IV subunit B (EC 5.99.1.-) Topoisomerase IV subunit B (EC 5.99.1.-) DNA Processing DNA Processing DNA replication DNA topoisomerases, Type II, ATP-dependent
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.84 ROSEINA2194_00090 Topoisomerase IV subunit A (EC 5.99.1.-) Topoisomerase IV subunit A (EC 5.99.1.-) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in DNA processing
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.84 ROSEINA2194_00090 Topoisomerase IV subunit A (EC 5.99.1.-) Topoisomerase IV subunit A (EC 5.99.1.-) DNA Processing DNA Processing DNA replication DNA topoisomerases, Type II, ATP-dependent
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.86 ROSEINA2194_00092 GTP cyclohydrolase I (EC 3.5.4.16) type 1 GTP cyclohydrolase I (EC 3.5.4.16) type 1 Metabolism Cofactors, Vitamins, Prosthetic Groups Folate and pterines Folate biosynthesis cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.87 ROSEINA2194_00093 Dihydropteroate synthase (EC 2.5.1.15) Dihydropteroate synthase (EC 2.5.1.15) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in metabolic pathways
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.87 ROSEINA2194_00093 Dihydropteroate synthase (EC 2.5.1.15) Dihydropteroate synthase (EC 2.5.1.15) Metabolism Cofactors, Vitamins, Prosthetic Groups Folate and pterines Folate biosynthesis cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.88 ROSEINA2194_00094 2-amino-4-hydroxy-6-hydroxymethyldihydropteridine pyrophosphokinase (EC 2.7.6.3) 2-amino-4-hydroxy-6-hydroxymethyldihydropteridine pyrophosphokinase (EC 2.7.6.3) Metabolism Cofactors, Vitamins, Prosthetic Groups Folate and pterines Folate biosynthesis cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.89 ROSEINA2194_00095 Phosphoglycolate phosphatase (EC 3.1.3.18) Phosphoglycolate phosphatase (EC 3.1.3.18) DNA Processing DNA Processing DNA repair 2-phosphoglycolate salvage
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.89 ROSEINA2194_00095 Phosphoglycolate phosphatase (EC 3.1.3.18) Phosphoglycolate phosphatase (EC 3.1.3.18) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolate, glyoxylate interconversions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.89 ROSEINA2194_00095 Phosphoglycolate phosphatase (EC 3.1.3.18) Phosphoglycolate phosphatase (EC 3.1.3.18) Metabolism Metabolite damage and its repair or mitigation Metabolite repair
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.113 ROSEINA2194_00127 NADP-dependent malic enzyme (EC 1.1.1.40) NADP-dependent malic enzyme (EC 1.1.1.40) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate metabolism I: anaplerotic reactions, PEP
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.114 ROSEINA2194_00128 Transcription termination factor Rho Transcription termination factor Rho Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in transcription
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.115 ROSEINA2194_00129 LSU ribosomal protein L31p @ LSU ribosomal protein L31p, zinc-dependent LSU ribosomal protein L31p, zinc-dependent Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, zinc requirement
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.115 ROSEINA2194_00129 LSU ribosomal protein L31p @ LSU ribosomal protein L31p, zinc-dependent LSU ribosomal protein L31p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, zinc requirement
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.115 ROSEINA2194_00129 LSU ribosomal protein L31p @ LSU ribosomal protein L31p, zinc-dependent LSU ribosomal protein L31p Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.118 ROSEINA2194_00132 Peptide chain release factor N(5)-glutamine methyltransferase (EC 2.1.1.297) Peptide chain release factor N(5)-glutamine methyltransferase (EC 2.1.1.297) RNA Processing RNA Processing RNA processing and modification YrdC-YciO-Sua5 and associated protein families
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.119 ROSEINA2194_00133 Peptide chain release factor N(5)-glutamine methyltransferase (EC 2.1.1.297) Peptide chain release factor N(5)-glutamine methyltransferase (EC 2.1.1.297) RNA Processing RNA Processing RNA processing and modification YrdC-YciO-Sua5 and associated protein families
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.120 ROSEINA2194_00134 Peptide chain release factor 1 Peptide chain release factor 1 Energy Respiration Biogenesis of respiratory chain components Biogenesis of c-type cytochromes
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.120 ROSEINA2194_00134 Peptide chain release factor 1 Peptide chain release factor 1 Protein Processing Protein Synthesis Translation Translation termination factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.140 ROSEINA2194_00156 DNA topoisomerase III (EC 5.99.1.2) DNA topoisomerase III (EC 5.99.1.2) DNA Processing DNA Processing DNA uptake, competence DNA processing cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.156 ROSEINA2194_00171 Chromosome (plasmid) partitioning protein ParB Chromosome (plasmid) partitioning protein ParB Clustering-based subsystems Cell Division Cell division related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.188 ROSEINA2194_00211 GMP synthase [glutamine-hydrolyzing], amidotransferase subunit (EC 6.3.5.2) / GMP synthase [glutamine-hydrolyzing], ATP pyrophosphatase subunit (EC 6.3.5.2) GMP synthase [glutamine-hydrolyzing], ATP pyrophosphatase subunit (EC 6.3.5.2) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.188 ROSEINA2194_00211 GMP synthase [glutamine-hydrolyzing], amidotransferase subunit (EC 6.3.5.2) / GMP synthase [glutamine-hydrolyzing], ATP pyrophosphatase subunit (EC 6.3.5.2) GMP synthase [glutamine-hydrolyzing], ATP pyrophosphatase subunit (EC 6.3.5.2) Metabolism Nucleosides and Nucleotides Purines GMP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.188 ROSEINA2194_00211 GMP synthase [glutamine-hydrolyzing], amidotransferase subunit (EC 6.3.5.2) / GMP synthase [glutamine-hydrolyzing], ATP pyrophosphatase subunit (EC 6.3.5.2) GMP synthase [glutamine-hydrolyzing], ATP pyrophosphatase subunit (EC 6.3.5.2) Metabolism Nucleosides and Nucleotides Purines IMP and Xanthine conversion to XMP and GMP module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.188 ROSEINA2194_00211 GMP synthase [glutamine-hydrolyzing], amidotransferase subunit (EC 6.3.5.2) / GMP synthase [glutamine-hydrolyzing], ATP pyrophosphatase subunit (EC 6.3.5.2) GMP synthase [glutamine-hydrolyzing], amidotransferase subunit (EC 6.3.5.2) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.188 ROSEINA2194_00211 GMP synthase [glutamine-hydrolyzing], amidotransferase subunit (EC 6.3.5.2) / GMP synthase [glutamine-hydrolyzing], ATP pyrophosphatase subunit (EC 6.3.5.2) GMP synthase [glutamine-hydrolyzing], amidotransferase subunit (EC 6.3.5.2) Metabolism Nucleosides and Nucleotides Purines GMP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.188 ROSEINA2194_00211 GMP synthase [glutamine-hydrolyzing], amidotransferase subunit (EC 6.3.5.2) / GMP synthase [glutamine-hydrolyzing], ATP pyrophosphatase subunit (EC 6.3.5.2) GMP synthase [glutamine-hydrolyzing], amidotransferase subunit (EC 6.3.5.2) Metabolism Nucleosides and Nucleotides Purines IMP and Xanthine conversion to XMP and GMP module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.193 ROSEINA2194_00217 Hydroxyethylthiazole kinase (EC 2.7.1.50) Hydroxyethylthiazole kinase (EC 2.7.1.50) Metabolism Cofactors, Vitamins, Prosthetic Groups Thiamin Thiamin, thiazole, hydroxymethylpyrimidine salvage and uptake
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.196 ROSEINA2194_00220 Substrate-specific component ThiW of predicted thiazole ECF transporter Substrate-specific component ThiW of predicted thiazole ECF transporter Metabolism Cofactors, Vitamins, Prosthetic Groups Thiamin Thiamin, thiazole, hydroxymethylpyrimidine salvage and uptake
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.197 ROSEINA2194_00221 Predicted hydroxymethylpyrimidine transporter CytX Predicted hydroxymethylpyrimidine transporter CytX Metabolism Cofactors, Vitamins, Prosthetic Groups Thiamin Thiamin, thiazole, hydroxymethylpyrimidine salvage and uptake
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.203 ROSEINA2194_00228 Cysteine synthase (EC 2.5.1.47) Cysteine synthase (EC 2.5.1.47) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Cysteine synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.214 ROSEINA2194_00240 Antitoxin HigA / unknown domain Antitoxin HigA Cellular Processes Cell Cycle, Cell Division and Death Programmed Cell Death and Toxin-antitoxin Systems Toxin-Antitoxin system HigAB
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.227 ROSEINA2194_00259 Undecaprenyl-diphosphatase (EC 3.6.1.27) Undecaprenyl-diphosphatase (EC 3.6.1.27) Cell Envelope Cell Envelope, Capsule and Slime layer Peptidoglycan (Bacteria) or other polymers (Archaea) Undecaprenyl-diphosphatases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.229 ROSEINA2194_00261 Substrate-specific component BioY of biotin ECF transporter Substrate-specific component BioY of biotin ECF transporter Metabolism Cofactors, Vitamins, Prosthetic Groups Biotin Biotin biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.229 ROSEINA2194_00261 Substrate-specific component BioY of biotin ECF transporter Substrate-specific component BioY of biotin ECF transporter Metabolism Cofactors, Vitamins, Prosthetic Groups Biotin Biotin synthesis & utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.242 ROSEINA2194_00274 Choloylglycine hydrolase (EC 3.5.1.24) Choloylglycine hydrolase (EC 3.5.1.24) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Bile hydrolysis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.245 ROSEINA2194_00280 Antitoxin HigA / unknown domain Antitoxin HigA Cellular Processes Cell Cycle, Cell Division and Death Programmed Cell Death and Toxin-antitoxin Systems Toxin-Antitoxin system HigAB
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.256 ROSEINA2194_00294 DinG family ATP-dependent helicase CPE1197 DinG family ATP-dependent helicase CPE1197 DNA Processing DNA Processing DNA repair DNA repair, bacterial DinG and relatives
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.257 ROSEINA2194_00295 DinG family ATP-dependent helicase CPE1197 DinG family ATP-dependent helicase CPE1197 DNA Processing DNA Processing DNA repair DNA repair, bacterial DinG and relatives
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.268 ROSEINA2194_00306 Inosine-5'-monophosphate dehydrogenase (EC 1.1.1.205) / CBS domain CBS domain Metabolism Nucleosides and Nucleotides Purines IMP and Xanthine conversion to XMP and GMP module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.268 ROSEINA2194_00306 Inosine-5'-monophosphate dehydrogenase (EC 1.1.1.205) / CBS domain Inosine-5'-monophosphate dehydrogenase (EC 1.1.1.205) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.268 ROSEINA2194_00306 Inosine-5'-monophosphate dehydrogenase (EC 1.1.1.205) / CBS domain Inosine-5'-monophosphate dehydrogenase (EC 1.1.1.205) Metabolism Nucleosides and Nucleotides Purines IMP and Xanthine conversion to XMP and GMP module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.269 ROSEINA2194_00307 Phosphoribosylformimino-5-aminoimidazole carboxamide ribotide isomerase (EC 5.3.1.16) Phosphoribosylformimino-5-aminoimidazole carboxamide ribotide isomerase (EC 5.3.1.16) Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.270 ROSEINA2194_00308 Phosphoribosylformimino-5-aminoimidazole carboxamide ribotide isomerase (EC 5.3.1.16) Phosphoribosylformimino-5-aminoimidazole carboxamide ribotide isomerase (EC 5.3.1.16) Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.271 ROSEINA2194_00309 Glutamine synthetase type I (EC 6.3.1.2) Glutamine synthetase type I (EC 6.3.1.2) Metabolism Amino Acids and Derivatives Glutamine, glutamate, aspartate, asparagine; ammonia assimilation Glutamine synthetases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.273 ROSEINA2194_00312 L,L-diaminopimelate aminotransferase (EC 2.6.1.83) L,L-diaminopimelate aminotransferase (EC 2.6.1.83) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine "Diaminopimelate Synthesis "
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.273 ROSEINA2194_00312 L,L-diaminopimelate aminotransferase (EC 2.6.1.83) L,L-diaminopimelate aminotransferase (EC 2.6.1.83) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Lysine DAP biosynthetic pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.274 Fructose-1,6-bisphosphatase, Bacillus type (EC 3.1.3.11) Fructose-1,6-bisphosphatase, Bacillus type (EC 3.1.3.11) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.275 ROSEINA2194_00314 4-hydroxy-tetrahydrodipicolinate reductase (EC 1.17.1.8) 4-hydroxy-tetrahydrodipicolinate reductase (EC 1.17.1.8) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine "Diaminopimelate Synthesis "
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.275 ROSEINA2194_00314 4-hydroxy-tetrahydrodipicolinate reductase (EC 1.17.1.8) 4-hydroxy-tetrahydrodipicolinate reductase (EC 1.17.1.8) Clustering-based subsystems Cell Division Cell division related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.275 ROSEINA2194_00314 4-hydroxy-tetrahydrodipicolinate reductase (EC 1.17.1.8) 4-hydroxy-tetrahydrodipicolinate reductase (EC 1.17.1.8) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Lysine DAP biosynthetic pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.275 ROSEINA2194_00314 4-hydroxy-tetrahydrodipicolinate reductase (EC 1.17.1.8) 4-hydroxy-tetrahydrodipicolinate reductase (EC 1.17.1.8) Clustering-based subsystems Lysine Biosynthesis Peptidase clustering with DAP
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.276 ROSEINA2194_00315 4-hydroxy-tetrahydrodipicolinate synthase (EC 4.3.3.7) 4-hydroxy-tetrahydrodipicolinate synthase (EC 4.3.3.7) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine "Diaminopimelate Synthesis "
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.276 ROSEINA2194_00315 4-hydroxy-tetrahydrodipicolinate synthase (EC 4.3.3.7) 4-hydroxy-tetrahydrodipicolinate synthase (EC 4.3.3.7) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Lysine DAP biosynthetic pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.276 ROSEINA2194_00315 4-hydroxy-tetrahydrodipicolinate synthase (EC 4.3.3.7) 4-hydroxy-tetrahydrodipicolinate synthase (EC 4.3.3.7) Clustering-based subsystems Lysine Biosynthesis Peptidase clustering with DAP
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.277 ROSEINA2194_00317 Single-stranded DNA-binding protein Single-stranded DNA-binding protein DNA Processing DNA Processing DNA repair DNA repair, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.277 ROSEINA2194_00317 Single-stranded DNA-binding protein Single-stranded DNA-binding protein DNA Processing DNA Processing DNA repair DNA repair, bacterial RecFOR pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.278 ROSEINA2194_00318 GTP-binding protein TypA/BipA GTP-binding protein TypA/BipA Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.305 ROSEINA2194_00346 ATP-dependent Clp protease ATP-binding subunit ClpX ATP-dependent Clp protease ATP-binding subunit ClpX Energy Respiration Biogenesis of respiratory chain components Biogenesis of c-type cytochromes
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.308 ROSEINA2194_00349 4-hydroxy-2-oxoglutarate aldolase (EC 4.1.3.16) @ 2-dehydro-3-deoxyphosphogluconate aldolase (EC 4.1.2.14) 2-dehydro-3-deoxyphosphogluconate aldolase (EC 4.1.2.14) Metabolism Carbohydrates Monosaccharides D-Galacturonate and D-Glucuronate Utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.308 ROSEINA2194_00349 4-hydroxy-2-oxoglutarate aldolase (EC 4.1.3.16) @ 2-dehydro-3-deoxyphosphogluconate aldolase (EC 4.1.2.14) 2-dehydro-3-deoxyphosphogluconate aldolase (EC 4.1.2.14) Energy Energy and Precursor Metabolites Generation Central Metabolism Entner-Doudoroff Pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.310 ROSEINA2194_00352 Threonyl-tRNA synthetase (EC 6.1.1.3) Threonyl-tRNA synthetase (EC 6.1.1.3) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Thr
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.321 ROSEINA2194_00363 Adenylosuccinate synthetase (EC 6.3.4.4) Adenylosuccinate synthetase (EC 6.3.4.4) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.321 ROSEINA2194_00363 Adenylosuccinate synthetase (EC 6.3.4.4) Adenylosuccinate synthetase (EC 6.3.4.4) Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.348 ROSEINA2194_00392 Imidazole glycerol phosphate synthase amidotransferase subunit (EC 2.4.2.-) Imidazole glycerol phosphate synthase amidotransferase subunit HisH Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.349 Imidazole glycerol phosphate synthase amidotransferase subunit (EC 2.4.2.-) Imidazole glycerol phosphate synthase amidotransferase subunit HisH Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.350 ROSEINA2194_00393 Imidazole glycerol phosphate synthase cyclase subunit HisF Imidazole glycerol phosphate synthase cyclase subunit Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.392 ROSEINA2194_00440 DEAD-box ATP-dependent RNA helicase DeaD (= CshA) (EC 3.6.4.13) DEAD-box ATP-dependent RNA helicase DeaD (= CshA) (EC 3.6.4.13) RNA Processing RNA Processing RNA processing and modification ATP-dependent RNA helicases, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.393 ROSEINA2194_00441 Glucose-6-phosphate isomerase (EC 5.3.1.9) Glucose-6-phosphate isomerase (EC 5.3.1.9) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.396 ROSEINA2194_00445 Repressor CsoR of the copZA operon Repressor CsoR of the copZA operon Membrane Transport Membrane Transport Cation transporters Copper Transport System
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.397 ROSEINA2194_00446 Lead, cadmium, zinc and mercury transporting ATPase (EC 3.6.3.3) (EC 3.6.3.5); Copper-translocating P-type ATPase (EC 3.6.3.4) Copper-translocating P-type ATPase (EC 3.6.3.4) Membrane Transport Membrane Transport Cation transporters Copper Transport System
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.398 ROSEINA2194_00448 6-phosphofructokinase (EC 2.7.1.11) 6-phosphofructokinase (EC 2.7.1.11) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.399 ROSEINA2194_00449 DNA polymerase III subunits gamma and tau (EC 2.7.7.7) DNA polymerase III subunits gamma and tau (EC 2.7.7.7) DNA Processing DNA Processing DNA uptake, competence DNA processing cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.400 ROSEINA2194_00450 Nucleoid-associated protein YaaK Nucleoid-associated protein YaaK DNA Processing DNA Processing DNA uptake, competence DNA processing cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.400 ROSEINA2194_00450 Nucleoid-associated protein YaaK Nucleoid-associated protein YaaK DNA Processing DNA Processing DNA repair DNA repair, bacterial RecFOR pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.402 ROSEINA2194_00452 FMN adenylyltransferase (EC 2.7.7.2) / Riboflavin kinase (EC 2.7.1.26) FMN adenylyltransferase (EC 2.7.7.2) Metabolism Cofactors, Vitamins, Prosthetic Groups Riboflavin, FMN, FAD Riboflavin, FMN and FAD metabolism with fusion events
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.402 ROSEINA2194_00452 FMN adenylyltransferase (EC 2.7.7.2) / Riboflavin kinase (EC 2.7.1.26) Riboflavin kinase (EC 2.7.1.26) Metabolism Cofactors, Vitamins, Prosthetic Groups Riboflavin, FMN, FAD Riboflavin, FMN and FAD metabolism with fusion events
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.403 ROSEINA2194_00453 tRNA pseudouridine(55) synthase (EC 5.4.99.25) tRNA pseudouridine(55) synthase (EC 5.4.99.25) RNA Processing RNA Processing RNA processing and modification RNA pseudouridine synthases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.403 ROSEINA2194_00453 tRNA pseudouridine(55) synthase (EC 5.4.99.25) tRNA pseudouridine(55) synthase (EC 5.4.99.25) Metabolism Cofactors, Vitamins, Prosthetic Groups Riboflavin, FMN, FAD Riboflavin, FMN and FAD metabolism with fusion events
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.404 ROSEINA2194_00454 3'-to-5' oligoribonuclease A, Bacillus type 3'-to-5' oligoribonuclease A, Bacillus type RNA Processing RNA Processing RNA processing and modification RNA processing and degradation, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.405 ROSEINA2194_00455 Ribosome-binding factor A Ribosome-binding factor A Protein Processing Protein Synthesis Translation Translation initiation factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.406 ROSEINA2194_00456 Translation initiation factor 2 Translation initiation factor 2 Protein Processing Protein Synthesis Translation Translation initiation factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.406 ROSEINA2194_00456 Translation initiation factor 2 Translation initiation factor 2 Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.415 ROSEINA2194_00467 dTDP-4-dehydrorhamnose reductase (EC 1.1.1.133) dTDP-4-dehydrorhamnose reductase (EC 1.1.1.133) Cell Envelope Cell Envelope, Capsule and Slime layer Capsule and Slime layer dTDP-rhamnose synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.426 ROSEINA2194_00477 Ribosome protection-type tetracycline resistance related proteins, group 2 / YacP-like NYN domain Ribosome protection-type tetracycline resistance related proteins, group 2 Protein Processing Protein Synthesis Translation Translation elongation factor G family
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.434 ROSEINA2194_00488 SSU ribosomal protein S15p (S13e) SSU ribosomal protein S15p (S13e) Clustering-based subsystems Lysine Biosynthesis Peptidase clustering with DAP
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.434 ROSEINA2194_00488 SSU ribosomal protein S15p (S13e) SSU ribosomal protein S15p (S13e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.435 ROSEINA2194_00489 Polyribonucleotide nucleotidyltransferase (EC 2.7.7.8) Polyribonucleotide nucleotidyltransferase (EC 2.7.7.8) Clustering-based subsystems Lysine Biosynthesis Peptidase clustering with DAP
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.435 ROSEINA2194_00489 Polyribonucleotide nucleotidyltransferase (EC 2.7.7.8) Polyribonucleotide nucleotidyltransferase (EC 2.7.7.8) RNA Processing RNA Processing RNA processing and modification RNA processing and degradation, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.437 ROSEINA2194_00491 Cardiolipin synthetase (EC 2.7.8.-) Cardiolipin synthase (EC 2.7.8.-) bacterial type ClsA Metabolism Fatty Acids, Lipids, and Isoprenoids Phospholipids Cardiolipin biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.437 ROSEINA2194_00491 Cardiolipin synthetase (EC 2.7.8.-) Cardiolipin synthase (EC 2.7.8.-) bacterial type ClsA Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Resistance to Daptomycin
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.442 ROSEINA2194_00496 Acetyl-coenzyme A carboxyl transferase alpha chain (EC 6.4.1.2) / Acetyl-coenzyme A carboxyl transferase beta chain (EC 6.4.1.2); Propionyl-CoA carboxylase beta chain (EC 6.4.1.3); Methylmalonyl-CoA decarboxylase, alpha chain (EC 4.1.1.41) Acetyl-coenzyme A carboxyl transferase alpha chain (EC 6.4.1.2) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis FASII
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.442 ROSEINA2194_00496 Acetyl-coenzyme A carboxyl transferase alpha chain (EC 6.4.1.2) / Acetyl-coenzyme A carboxyl transferase beta chain (EC 6.4.1.2); Propionyl-CoA carboxylase beta chain (EC 6.4.1.3); Methylmalonyl-CoA decarboxylase, alpha chain (EC 4.1.1.41) Acetyl-coenzyme A carboxyl transferase alpha chain (EC 6.4.1.2) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty acid synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.442 ROSEINA2194_00496 Acetyl-coenzyme A carboxyl transferase alpha chain (EC 6.4.1.2) / Acetyl-coenzyme A carboxyl transferase beta chain (EC 6.4.1.2); Propionyl-CoA carboxylase beta chain (EC 6.4.1.3); Methylmalonyl-CoA decarboxylase, alpha chain (EC 4.1.1.41) Acetyl-coenzyme A carboxyl transferase beta chain (EC 6.4.1.2) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis FASII
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.442 ROSEINA2194_00496 Acetyl-coenzyme A carboxyl transferase alpha chain (EC 6.4.1.2) / Acetyl-coenzyme A carboxyl transferase beta chain (EC 6.4.1.2); Propionyl-CoA carboxylase beta chain (EC 6.4.1.3); Methylmalonyl-CoA decarboxylase, alpha chain (EC 4.1.1.41) Acetyl-coenzyme A carboxyl transferase beta chain (EC 6.4.1.2) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty acid synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.445 ROSEINA2194_00499 Oxaloacetate decarboxylase beta chain (EC 4.1.1.3) @ Methylmalonyl-CoA decarboxylase, beta chain (EC 4.1.1.41) Oxaloacetate decarboxylase beta chain (EC 4.1.1.3) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate metabolism I: anaplerotic reactions, PEP
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.446 ROSEINA2194_00500 Oxaloacetate decarboxylase alpha chain (EC 4.1.1.3); Methylmalonyl-CoA decarboxylase alpha chain (EC 4.1.1.41) Oxaloacetate decarboxylase alpha chain (EC 4.1.1.3) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate metabolism I: anaplerotic reactions, PEP
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.450 ROSEINA2194_00504 4-hydroxy-3-methylbut-2-enyl diphosphate reductase (EC 1.17.7.4) 4-hydroxy-3-methylbut-2-enyl diphosphate reductase (EC 1.17.7.4) Metabolism Fatty Acids, Lipids, and Isoprenoids Isoprenoids Nonmevalonate Branch of Isoprenoid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.451 ROSEINA2194_00505 SSU ribosomal protein S1p SSU ribosomal protein S1p Stress Response, Defense, Virulence Stress Response, Defense and Virulence Hfl operon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.452 ROSEINA2194_00506 Chemotaxis protein methyltransferase CheR (EC 2.1.1.80) Chemotaxis protein methyltransferase CheR (EC 2.1.1.80) Cellular Processes Motility and Chemotaxis Chemotaxis in Escherichia coli and Bacillus subtilis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.463 ROSEINA2194_00518 Glutamate 5-kinase (EC 2.7.2.11) Glutamate 5-kinase (EC 2.7.2.11) Metabolism Metabolite damage and its repair or mitigation Metabolite repair
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.463 ROSEINA2194_00518 Glutamate 5-kinase (EC 2.7.2.11) Glutamate 5-kinase (EC 2.7.2.11) Metabolism Amino Acids and Derivatives Proline and 4-hydroxyproline Proline Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.463 ROSEINA2194_00518 Glutamate 5-kinase (EC 2.7.2.11) Glutamate 5-kinase (EC 2.7.2.11) Metabolism Amino Acids and Derivatives Proline and 4-hydroxyproline Proline biosynthesis (for review)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.465 ROSEINA2194_00521 5-formyltetrahydrofolate cyclo-ligase (EC 6.3.3.2) 5-formyltetrahydrofolate cyclo-ligase (EC 6.3.3.2) Metabolism Carbohydrates C-1 compound metabolism One-carbon metabolism by tetrahydropterines
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.466 ROSEINA2194_00522 Gamma-glutamyl phosphate reductase (EC 1.2.1.41) Gamma-glutamyl phosphate reductase (EC 1.2.1.41) Metabolism Amino Acids and Derivatives Proline and 4-hydroxyproline Proline Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.466 ROSEINA2194_00522 Gamma-glutamyl phosphate reductase (EC 1.2.1.41) Gamma-glutamyl phosphate reductase (EC 1.2.1.41) Metabolism Amino Acids and Derivatives Proline and 4-hydroxyproline Proline biosynthesis (for review)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.467 ROSEINA2194_00523 tRNA-i(6)A37 methylthiotransferase (EC 2.8.4.3) tRNA-i(6)A37 methylthiotransferase (EC 2.8.4.3) RNA Processing RNA Processing RNA processing and modification Methylthiotransferases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.467 ROSEINA2194_00523 tRNA-i(6)A37 methylthiotransferase (EC 2.8.4.3) tRNA-i(6)A37 methylthiotransferase (EC 2.8.4.3) Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein processing and modification Ribosomal protein S12p Asp methylthiotransferase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.468 ROSEINA2194_00524 Holliday junction ATP-dependent DNA helicase RuvA (EC 3.6.4.12) Holliday junction ATP-dependent DNA helicase RuvA (EC 3.6.4.12) DNA Processing DNA Processing DNA recombination RuvABC plus a hypothetical
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.469 ROSEINA2194_00525 Holliday junction ATP-dependent DNA helicase RuvB (EC 3.6.4.12) Holliday junction ATP-dependent DNA helicase RuvB (EC 3.6.4.12) DNA Processing DNA Processing DNA recombination RuvABC plus a hypothetical
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.472 ROSEINA2194_00528 FtsW-like cell division membrane protein CA_C0505 FtsW-like cell division membrane protein CA_C0505 Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.473 ROSEINA2194_00529 FtsW-like cell division membrane protein CA_C0505 FtsW-like cell division membrane protein CA_C0505 Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.477 ROSEINA2194_00534 Pyrroline-5-carboxylate reductase (EC 1.5.1.2) Pyrroline-5-carboxylate reductase (EC 1.5.1.2) Metabolism Amino Acids and Derivatives Proline and 4-hydroxyproline Proline Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.477 ROSEINA2194_00534 Pyrroline-5-carboxylate reductase (EC 1.5.1.2) Pyrroline-5-carboxylate reductase (EC 1.5.1.2) Metabolism Amino Acids and Derivatives Proline and 4-hydroxyproline Proline biosynthesis (for review)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.479 ROSEINA2194_00536 D-3-phosphoglycerate dehydrogenase (EC 1.1.1.95) D-3-phosphoglycerate dehydrogenase (EC 1.1.1.95) Metabolism Amino Acids and Derivatives Alanine, serine, and glycine D-3-phosphoglycerate to phosphoserine module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.479 ROSEINA2194_00536 D-3-phosphoglycerate dehydrogenase (EC 1.1.1.95) D-3-phosphoglycerate dehydrogenase (EC 1.1.1.95) Metabolism Cofactors, Vitamins, Prosthetic Groups Pyridoxine Pyridoxin (Vitamin B6) Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.485 ROSEINA2194_00542 A/G-specific adenine glycosylase (EC 3.2.2.-) A/G-specific adenine glycosylase (EC 3.2.2.-) DNA Processing DNA Processing DNA repair DNA repair, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.486 ROSEINA2194_00543 UDP-galactopyranose mutase (EC 5.4.99.9) UDP-galactopyranose mutase (EC 5.4.99.9) Cell Envelope Cell Envelope, Capsule and Slime layer Cell wall of Mycobacteria Biosynthesis of Arabinogalactan in Mycobacteria
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.524 ROSEINA2194_00583 Stage V sporulation protein AD (SpoVAD) Stage V sporulation protein AD (SpoVAD) Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation proteins SpoVA cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.525 ROSEINA2194_00584 Stage V sporulation protein AE1 (SpoVAE1) Stage V sporulation protein AE1 (SpoVAE1) Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation proteins SpoVA cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.532 ROSEINA2194_00591 Oleate hydratase (EC 4.2.1.53) Oleate hydratase (EC 4.2.1.53) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response Hydroxy-fatty acid production as stress response
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.554 ROSEINA2194_00616 Homoserine kinase (EC 2.7.1.39) @ Phosphoserine phosphatase (EC 3.1.3.3) Homoserine kinase (EC 2.7.1.39) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Aspartate to Threonine Module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.554 ROSEINA2194_00616 Homoserine kinase (EC 2.7.1.39) @ Phosphoserine phosphatase (EC 3.1.3.3) Phosphoserine phosphatase (EC 3.1.3.3) Metabolism Amino Acids and Derivatives Alanine, serine, and glycine D-3-phosphoglycerate to phosphoserine module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.590 ROSEINA2194_00654 DNA topoisomerase III (EC 5.99.1.2) DNA topoisomerase III (EC 5.99.1.2) DNA Processing DNA Processing DNA uptake, competence DNA processing cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.611 ROSEINA2194_00675 Chromosome (plasmid) partitioning protein ParB Chromosome (plasmid) partitioning protein ParB Clustering-based subsystems Cell Division Cell division related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.618 ROSEINA2194_00683 Oligopeptide ABC transporter, periplasmic oligopeptide-binding protein OppA (TC 3.A.1.5.1) Oligopeptide ABC transporter, periplasmic oligopeptide-binding protein OppA (TC 3.A.1.5.1) Membrane Transport Membrane Transport ABC transporters Dpp dipeptide ABC transport system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.619 ROSEINA2194_00684 Oligopeptide transport system permease protein OppB (TC 3.A.1.5.1) Oligopeptide transport system permease protein OppB (TC 3.A.1.5.1) Membrane Transport Membrane Transport ABC transporters Dpp dipeptide ABC transport system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.620 ROSEINA2194_00685 Oligopeptide transport system permease protein OppB (TC 3.A.1.5.1) Oligopeptide transport system permease protein OppB (TC 3.A.1.5.1) Membrane Transport Membrane Transport ABC transporters Dpp dipeptide ABC transport system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.621 ROSEINA2194_00686 Oligopeptide transport system permease protein OppC (TC 3.A.1.5.1) Oligopeptide transport system permease protein OppC (TC 3.A.1.5.1) Membrane Transport Membrane Transport ABC transporters Dpp dipeptide ABC transport system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.622 ROSEINA2194_00687 Oligopeptide transport ATP-binding protein OppD (TC 3.A.1.5.1) Oligopeptide transport ATP-binding protein OppD (TC 3.A.1.5.1) Membrane Transport Membrane Transport ABC transporters Dpp dipeptide ABC transport system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.623 ROSEINA2194_00688 Oligopeptide transport ATP-binding protein OppF (TC 3.A.1.5.1) Oligopeptide transport ATP-binding protein OppF (TC 3.A.1.5.1) Membrane Transport Membrane Transport ABC transporters Dpp dipeptide ABC transport system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.642 ROSEINA2194_00708 Phosphoglycerate mutase (EC 5.4.2.11) Phosphoglycerate mutase (EC 5.4.2.11) Energy Energy and Precursor Metabolites Generation Central Metabolism Entner-Doudoroff Pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.642 ROSEINA2194_00708 Phosphoglycerate mutase (EC 5.4.2.11) Phosphoglycerate mutase (EC 5.4.2.11) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.653 ROSEINA2194_00723 tmRNA-binding protein SmpB tmRNA-binding protein SmpB Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.653 ROSEINA2194_00723 tmRNA-binding protein SmpB tmRNA-binding protein SmpB Protein Processing Protein Synthesis Translation Trans-translation by stalled ribosomes
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.653 ROSEINA2194_00723 tmRNA-binding protein SmpB tmRNA-binding protein SmpB Protein Processing Protein Synthesis Translation Translation termination factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.654 ROSEINA2194_00724 3'-to-5' exoribonuclease RNase R 3'-to-5' exoribonuclease RNase R RNA Processing RNA Processing RNA processing and modification RNA processing and degradation, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.655 ROSEINA2194_00725 Protein translocase membrane subunit SecG Protein translocase membrane subunit SecG Cellular Processes Cell Cycle, Cell Division and Death Programmed Cell Death and Toxin-antitoxin Systems Murein hydrolase regulation and cell death
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.667 ROSEINA2194_00739 Enolase (EC 4.2.1.11) Enolase (EC 4.2.1.11) Energy Energy and Precursor Metabolites Generation Central Metabolism Entner-Doudoroff Pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.667 ROSEINA2194_00739 Enolase (EC 4.2.1.11) Enolase (EC 4.2.1.11) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.669 ROSEINA2194_00741 Uronate isomerase (EC 5.3.1.12) Uronate isomerase (EC 5.3.1.12) Metabolism Carbohydrates Monosaccharides D-Galacturonate and D-Glucuronate Utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.670 ROSEINA2194_00742 Uronate isomerase (EC 5.3.1.12) Uronate isomerase (EC 5.3.1.12) Metabolism Carbohydrates Monosaccharides D-Galacturonate and D-Glucuronate Utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.685 ROSEINA2194_00759 Type II/IV secretion system ATP hydrolase TadA/VirB11/CpaF, TadA subfamily Type II/IV secretion system ATP hydrolase TadA/VirB11/CpaF, TadA subfamily Membrane Transport Membrane Transport Protein secretion system, Type II Widespread colonization island
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.699 ROSEINA2194_00773 UDP-N-acetylglucosamine--N-acetylmuramyl-(pentapeptide) pyrophosphoryl-undecaprenol N-acetylglucosamine transferase (EC 2.4.1.227) UDP-N-acetylglucosamine--N-acetylmuramyl-(pentapeptide) pyrophosphoryl-undecaprenol N-acetylglucosamine transferase (EC 2.4.1.227) Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.705 ROSEINA2194_00778 Ornithine carbamoyltransferase (EC 2.1.3.3) Ornithine carbamoyltransferase (EC 2.1.3.3) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Arginine biosynthesis via N-acetyl-L-citrulline
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.706 ROSEINA2194_00779 Ornithine carbamoyltransferase (EC 2.1.3.3) Ornithine carbamoyltransferase (EC 2.1.3.3) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Arginine biosynthesis via N-acetyl-L-citrulline
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.707 ROSEINA2194_00780 Biotin operon repressor / Biotin--protein ligase (EC 6.3.4.9)(EC 6.3.4.10)(EC 6.3.4.11)(EC 6.3.4.15) Biotin operon repressor Metabolism Cofactors, Vitamins, Prosthetic Groups Biotin Biotin biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.707 ROSEINA2194_00780 Biotin operon repressor / Biotin--protein ligase (EC 6.3.4.9)(EC 6.3.4.10)(EC 6.3.4.11)(EC 6.3.4.15) Biotin operon repressor Metabolism Cofactors, Vitamins, Prosthetic Groups Biotin Biotin synthesis & utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.707 ROSEINA2194_00780 Biotin operon repressor / Biotin--protein ligase (EC 6.3.4.9)(EC 6.3.4.10)(EC 6.3.4.11)(EC 6.3.4.15) Biotin--protein ligase (EC 6.3.4.9)(EC 6.3.4.10)(EC 6.3.4.11)(EC 6.3.4.15) Metabolism Cofactors, Vitamins, Prosthetic Groups Biotin Biotin biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.707 ROSEINA2194_00780 Biotin operon repressor / Biotin--protein ligase (EC 6.3.4.9)(EC 6.3.4.10)(EC 6.3.4.11)(EC 6.3.4.15) Biotin--protein ligase (EC 6.3.4.9)(EC 6.3.4.10)(EC 6.3.4.11)(EC 6.3.4.15) Metabolism Cofactors, Vitamins, Prosthetic Groups Biotin Biotin synthesis & utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.713 ROSEINA2194_00786 Lysyl-tRNA synthetase (class II) (EC 6.1.1.6) Lysyl-tRNA synthetase (class II) (EC 6.1.1.6) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Lys
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.716 ROSEINA2194_00790 2-isopropylmalate synthase (EC 2.3.3.13) 2-isopropylmalate synthase (EC 2.3.3.13) Metabolism Amino Acids and Derivatives Branched-chain amino acids Branched-Chain Amino Acid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.717 ROSEINA2194_00791 Dipicolinate synthase subunit B Dipicolinate synthase subunit B Cellular Processes Prokaryotic cell type differentiation Sporulation Dipicolinate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.717 ROSEINA2194_00791 Dipicolinate synthase subunit B Dipicolinate synthase subunit B Clustering-based subsystems Lysine Biosynthesis Peptidase clustering with DAP
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.721 ROSEINA2194_00796 Aspartyl-tRNA synthetase (EC 6.1.1.12) @ Aspartyl-tRNA(Asn) synthetase (EC 6.1.1.23) Aspartyl-tRNA synthetase (EC 6.1.1.12) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asn
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.721 ROSEINA2194_00796 Aspartyl-tRNA synthetase (EC 6.1.1.12) @ Aspartyl-tRNA(Asn) synthetase (EC 6.1.1.23) Aspartyl-tRNA synthetase (EC 6.1.1.12) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asp
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.721 ROSEINA2194_00796 Aspartyl-tRNA synthetase (EC 6.1.1.12) @ Aspartyl-tRNA(Asn) synthetase (EC 6.1.1.23) Aspartyl-tRNA(Asn) synthetase (EC 6.1.1.23) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asn
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.721 ROSEINA2194_00796 Aspartyl-tRNA synthetase (EC 6.1.1.12) @ Aspartyl-tRNA(Asn) synthetase (EC 6.1.1.23) Aspartyl-tRNA(Asn) synthetase (EC 6.1.1.23) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asp
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.722 ROSEINA2194_00797 Aspartyl-tRNA(Asn) amidotransferase subunit C (EC 6.3.5.6) @ Glutamyl-tRNA(Gln) amidotransferase subunit C (EC 6.3.5.7) Aspartyl-tRNA(Asn) amidotransferase subunit C (EC 6.3.5.6) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asn
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.722 ROSEINA2194_00797 Aspartyl-tRNA(Asn) amidotransferase subunit C (EC 6.3.5.6) @ Glutamyl-tRNA(Gln) amidotransferase subunit C (EC 6.3.5.7) Glutamyl-tRNA(Gln) amidotransferase subunit C (EC 6.3.5.7) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Gln
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.723 ROSEINA2194_00798 Aspartyl-tRNA(Asn) amidotransferase subunit A (EC 6.3.5.6) @ Glutamyl-tRNA(Gln) amidotransferase subunit A (EC 6.3.5.7) Aspartyl-tRNA(Asn) amidotransferase subunit A (EC 6.3.5.6) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asn
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.723 ROSEINA2194_00798 Aspartyl-tRNA(Asn) amidotransferase subunit A (EC 6.3.5.6) @ Glutamyl-tRNA(Gln) amidotransferase subunit A (EC 6.3.5.7) Glutamyl-tRNA(Gln) amidotransferase subunit A (EC 6.3.5.7) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Gln
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.724 ROSEINA2194_00799 Aspartyl-tRNA(Asn) amidotransferase subunit B (EC 6.3.5.6) @ Glutamyl-tRNA(Gln) amidotransferase subunit B (EC 6.3.5.7) Aspartyl-tRNA(Asn) amidotransferase subunit B (EC 6.3.5.6) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asn
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.724 ROSEINA2194_00799 Aspartyl-tRNA(Asn) amidotransferase subunit B (EC 6.3.5.6) @ Glutamyl-tRNA(Gln) amidotransferase subunit B (EC 6.3.5.7) Glutamyl-tRNA(Gln) amidotransferase subunit B (EC 6.3.5.7) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Gln
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.725 ROSEINA2194_00800 5-methyltetrahydrofolate--homocysteine methyltransferase (EC 2.1.1.13) 5-methyltetrahydrofolate--homocysteine methyltransferase (EC 2.1.1.13) Metabolism Carbohydrates C-1 compound metabolism S-Adenosyl-L-homocysteine recycling
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.726 ROSEINA2194_00801 5-methyltetrahydrofolate--homocysteine methyltransferase (EC 2.1.1.13) 5-methyltetrahydrofolate--homocysteine methyltransferase (EC 2.1.1.13) Metabolism Carbohydrates C-1 compound metabolism S-Adenosyl-L-homocysteine recycling
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.727 ROSEINA2194_00803 NADP-specific glutamate dehydrogenase (EC 1.4.1.4) NADP-specific glutamate dehydrogenase (EC 1.4.1.4) Metabolism Amino Acids and Derivatives Glutamine, glutamate, aspartate, asparagine; ammonia assimilation Glutamate dehydrogenases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.727 ROSEINA2194_00803 NADP-specific glutamate dehydrogenase (EC 1.4.1.4) NADP-specific glutamate dehydrogenase (EC 1.4.1.4) Metabolism Amino Acids and Derivatives Proline and 4-hydroxyproline Proline Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.730 ROSEINA2194_00805 3-oxoacyl-[acyl-carrier-protein] synthase, KASIII (EC 2.3.1.180) 3-oxoacyl-[acyl-carrier-protein] synthase, KASIII (EC 2.3.1.180) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis FASII
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.730 ROSEINA2194_00805 3-oxoacyl-[acyl-carrier-protein] synthase, KASIII (EC 2.3.1.180) 3-oxoacyl-[acyl-carrier-protein] synthase, KASIII (EC 2.3.1.180) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.730 ROSEINA2194_00805 3-oxoacyl-[acyl-carrier-protein] synthase, KASIII (EC 2.3.1.180) 3-oxoacyl-[acyl-carrier-protein] synthase, KASIII (EC 2.3.1.180) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty acid synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.731 ROSEINA2194_00806 Acetyl-coenzyme A carboxyl transferase beta chain (EC 6.4.1.2) Acetyl-coenzyme A carboxyl transferase beta chain (EC 6.4.1.2) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis FASII
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.731 ROSEINA2194_00806 Acetyl-coenzyme A carboxyl transferase beta chain (EC 6.4.1.2) Acetyl-coenzyme A carboxyl transferase beta chain (EC 6.4.1.2) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty acid synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.732 ROSEINA2194_00807 3-hydroxyacyl-[acyl-carrier-protein] dehydratase, FabZ form (EC 4.2.1.59) 3-hydroxyacyl-[acyl-carrier-protein] dehydratase, FabZ form (EC 4.2.1.59) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis FASII
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.732 ROSEINA2194_00807 3-hydroxyacyl-[acyl-carrier-protein] dehydratase, FabZ form (EC 4.2.1.59) 3-hydroxyacyl-[acyl-carrier-protein] dehydratase, FabZ form (EC 4.2.1.59) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty acid synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.733 ROSEINA2194_00808 3-oxoacyl-[acyl-carrier-protein] synthase, KASII (EC 2.3.1.179) 3-oxoacyl-[acyl-carrier-protein] synthase, KASII (EC 2.3.1.179) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis FASII
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.733 ROSEINA2194_00808 3-oxoacyl-[acyl-carrier-protein] synthase, KASII (EC 2.3.1.179) 3-oxoacyl-[acyl-carrier-protein] synthase, KASII (EC 2.3.1.179) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty acid synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.734 ROSEINA2194_00809 3-oxoacyl-[acyl-carrier protein] reductase (EC 1.1.1.100) 3-oxoacyl-[acyl-carrier protein] reductase (EC 1.1.1.100), FadG Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis FASII
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.734 ROSEINA2194_00809 3-oxoacyl-[acyl-carrier protein] reductase (EC 1.1.1.100) 3-oxoacyl-[acyl-carrier protein] reductase (EC 1.1.1.100), FadG Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.734 ROSEINA2194_00809 3-oxoacyl-[acyl-carrier protein] reductase (EC 1.1.1.100) 3-oxoacyl-[acyl-carrier protein] reductase (EC 1.1.1.100), FadG Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty acid synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.735 ROSEINA2194_00810 Malonyl CoA-acyl carrier protein transacylase (EC 2.3.1.39) Malonyl CoA-acyl carrier protein transacylase (EC 2.3.1.39) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis FASII
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.735 ROSEINA2194_00810 Malonyl CoA-acyl carrier protein transacylase (EC 2.3.1.39) Malonyl CoA-acyl carrier protein transacylase (EC 2.3.1.39) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.735 ROSEINA2194_00810 Malonyl CoA-acyl carrier protein transacylase (EC 2.3.1.39) Malonyl CoA-acyl carrier protein transacylase (EC 2.3.1.39) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty acid synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.736 ROSEINA2194_00811 Enoyl-[acyl-carrier-protein] reductase [FMN] (EC 1.3.1.9) Enoyl-[acyl-carrier-protein] reductase [FMN, NADH] (EC 1.3.1.9), FabK => refractory to triclosan Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Enoyl-[ACP] reductases disambiguation
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.736 ROSEINA2194_00811 Enoyl-[acyl-carrier-protein] reductase [FMN] (EC 1.3.1.9) Enoyl-[acyl-carrier-protein] reductase [FMN, NADH] (EC 1.3.1.9), FabK => refractory to triclosan Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis FASII
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.736 ROSEINA2194_00811 Enoyl-[acyl-carrier-protein] reductase [FMN] (EC 1.3.1.9) Enoyl-[acyl-carrier-protein] reductase [FMN, NADH] (EC 1.3.1.9), FabK => refractory to triclosan Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty acid synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.736 ROSEINA2194_00811 Enoyl-[acyl-carrier-protein] reductase [FMN] (EC 1.3.1.9) Enoyl-[acyl-carrier-protein] reductase [FMN, NADH] (EC 1.3.1.9), FabK => refractory to triclosan Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Resistance to Triclosan
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.737 ROSEINA2194_00812 Acyl carrier protein Acyl carrier protein Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Acyl carrier protein
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.737 ROSEINA2194_00812 Acyl carrier protein Acyl carrier protein Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis FASII
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.737 ROSEINA2194_00812 Acyl carrier protein Acyl carrier protein Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.737 ROSEINA2194_00812 Acyl carrier protein Acyl carrier protein Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty acid synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.737 ROSEINA2194_00812 Acyl carrier protein Acyl carrier protein Metabolism Fatty Acids, Lipids, and Isoprenoids Phospholipids Glycerolipid and Glycerophospholipid Metabolism in Bacteria
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.739 ROSEINA2194_00815 Substrate-specific component ThiT of thiamin ECF transporter Substrate-specific component ThiT of thiamin ECF transporter Metabolism Cofactors, Vitamins, Prosthetic Groups Thiamin Thiamin, thiazole, hydroxymethylpyrimidine salvage and uptake
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.746 ROSEINA2194_00823 Substrate-specific component RibU of riboflavin ECF transporter Substrate-specific component RibU of riboflavin ECF transporter Metabolism Cofactors, Vitamins, Prosthetic Groups Riboflavin, FMN, FAD Riboflavin, FMN and FAD metabolism with fusion events
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.748 ROSEINA2194_00825 Uracil permease Uracil permease Metabolism Nucleosides and Nucleotides Pyrimidines De Novo Pyrimidine Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.763 ROSEINA2194_00840 Flagellar assembly factor FliW Flagellar assembly factor FliW Metabolism Carbohydrates Polysaccharides Carbon storage regulator
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.764 ROSEINA2194_00841 Carbon storage regulator Carbon storage regulator Metabolism Carbohydrates Polysaccharides Carbon storage regulator
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.782 ROSEINA2194_00860 Glutathione peroxidase (EC 1.11.1.9) @ Thioredoxin peroxidase (EC 1.11.1.15) Glutathione peroxidase (EC 1.11.1.9) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response Glutathione: Redox cycle
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.783 ROSEINA2194_00861 PaaD-like protein (DUF59) involved in Fe-S cluster assembly / Hemerythrin domain protein Hemerythrin domain protein Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response Repair of Iron Centers
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.784 ROSEINA2194_00863 Glycerate kinase (EC 2.7.1.31) Glycerate kinase (EC 2.7.1.31) Metabolism Fatty Acids, Lipids, and Isoprenoids Phospholipids Glycerolipid and Glycerophospholipid Metabolism in Bacteria
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.795 ROSEINA2194_00874 Glucosamine-6-phosphate deaminase (EC 3.5.99.6) Glucosamine-6-phosphate deaminase (EC 3.5.99.6) Metabolism Carbohydrates "Amino sugars and nucleotide sugars " N-acetylneuraminate utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.800 ROSEINA2194_00880 N-acetylneuraminate lyase (EC 4.1.3.3) N-acetylneuraminate lyase (EC 4.1.3.3) Metabolism Carbohydrates "Amino sugars and nucleotide sugars " N-acetylneuraminate utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.802 ROSEINA2194_00882 N-acetylmannosamine-6-phosphate 2-epimerase (EC 5.1.3.9) N-acetylmannosamine-6-phosphate 2-epimerase (EC 5.1.3.9) Metabolism Carbohydrates "Amino sugars and nucleotide sugars " N-acetylneuraminate utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.803 ROSEINA2194_00883 N-acetylmannosamine kinase (EC 2.7.1.60) N-acetylmannosamine kinase (EC 2.7.1.60) Metabolism Carbohydrates "Amino sugars and nucleotide sugars " N-acetylneuraminate utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.813 ROSEINA2194_00894 beta-galactosidase (EC 3.2.1.23) beta-galactosidase (EC 3.2.1.23) Metabolism Carbohydrates Di- and oligosaccharides Lactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.815 ROSEINA2194_00896 Mg(2+)-transport-ATPase-associated protein MgtC Mg(2+)-transport-ATPase-associated protein MgtC Membrane Transport Membrane Transport Cation transporters Magnesium transport
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.816 ROSEINA2194_00897 Mg(2+)-transport-ATPase-associated protein MgtC Mg(2+)-transport-ATPase-associated protein MgtC Membrane Transport Membrane Transport Cation transporters Magnesium transport
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.825 ROSEINA2194_00907 Methylglyoxal synthase (EC 4.2.3.3) Methylglyoxal synthase (EC 4.2.3.3) Energy Energy and Precursor Metabolites Generation Central Metabolism Methylglyoxal Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.844 ROSEINA2194_00928 Glutamyl-tRNA synthetase (EC 6.1.1.17) @ Glutamyl-tRNA(Gln) synthetase (EC 6.1.1.24) Glutamyl-tRNA synthetase (EC 6.1.1.17) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Heme Biosynthesis: protoporphyrin-, coproporphyrin- and siroheme-dependent pathways
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.844 ROSEINA2194_00928 Glutamyl-tRNA synthetase (EC 6.1.1.17) @ Glutamyl-tRNA(Gln) synthetase (EC 6.1.1.24) Glutamyl-tRNA synthetase (EC 6.1.1.17) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Gln
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.844 ROSEINA2194_00928 Glutamyl-tRNA synthetase (EC 6.1.1.17) @ Glutamyl-tRNA(Gln) synthetase (EC 6.1.1.24) Glutamyl-tRNA synthetase (EC 6.1.1.17) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Glu
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.844 ROSEINA2194_00928 Glutamyl-tRNA synthetase (EC 6.1.1.17) @ Glutamyl-tRNA(Gln) synthetase (EC 6.1.1.24) Glutamyl-tRNA(Gln) synthetase (EC 6.1.1.24) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Gln
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.844 ROSEINA2194_00928 Glutamyl-tRNA synthetase (EC 6.1.1.17) @ Glutamyl-tRNA(Gln) synthetase (EC 6.1.1.24) Glutamyl-tRNA(Gln) synthetase (EC 6.1.1.24) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Glu
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.845 ROSEINA2194_00929 putative ATP-dependent DNA helicase YjcD putative ATP-dependent DNA helicase YjcD DNA Processing DNA Processing DNA repair DNA repair, bacterial UvrD and related helicases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.848 ROSEINA2194_00932 Limit dextrin alpha-1,6-maltotetraose-hydrolase (EC 3.2.1.196) Limit dextrin alpha-1,6-maltotetraose-hydrolase (EC 3.2.1.196) Metabolism Carbohydrates Polysaccharides Glycogen metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.850 ROSEINA2194_00934 Ribosomal large subunit pseudouridine synthase D (EC 5.4.99.23) Ribosomal large subunit pseudouridine synthase D (EC 5.4.99.23) RNA Processing RNA Processing RNA processing and modification RNA pseudouridine synthases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.854 ROSEINA2194_00937 Rossmann fold nucleotide-binding protein Smf possibly involved in DNA uptake Rossmann fold nucleotide-binding protein Smf possibly involved in DNA uptake RNA Processing RNA Processing RNA processing and modification YrdC-YciO-Sua5 and associated protein families
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.879 ROSEINA2194_00962 Chemotaxis regulator - transmits chemoreceptor signals to flagellar motor components CheY Chemotaxis regulator - transmits chemoreceptor signals to flagellar motor components CheY Cellular Processes Motility and Chemotaxis Chemotaxis in Escherichia coli and Bacillus subtilis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.889 ROSEINA2194_00972 Chemotaxis response regulator protein-glutamate methylesterase CheB (EC 3.1.1.61) Chemotaxis response regulator protein-glutamate methylesterase CheB (EC 3.1.1.61) Cellular Processes Motility and Chemotaxis Chemotaxis in Escherichia coli and Bacillus subtilis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.890 ROSEINA2194_00973 Signal transduction histidine kinase CheA Signal transduction histidine kinase CheA Cellular Processes Motility and Chemotaxis Chemotaxis in Escherichia coli and Bacillus subtilis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.891 ROSEINA2194_00974 Positive regulator of CheA protein activity (CheW) Positive regulator of CheA protein activity (CheW) Cellular Processes Motility and Chemotaxis Chemotaxis in Escherichia coli and Bacillus subtilis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.892 ROSEINA2194_00975 Positive regulator of CheA protein activity (CheW) Positive regulator of CheA protein activity (CheW) Cellular Processes Motility and Chemotaxis Chemotaxis in Escherichia coli and Bacillus subtilis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.893 ROSEINA2194_00976 Chemotaxis protein CheC -- inhibitor of MCP methylation Chemotaxis protein CheC -- inhibitor of MCP methylation Cellular Processes Motility and Chemotaxis Chemotaxis in Escherichia coli and Bacillus subtilis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.894 ROSEINA2194_00977 Chemotaxis protein CheD Chemotaxis protein CheD Cellular Processes Motility and Chemotaxis Chemotaxis in Escherichia coli and Bacillus subtilis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.902 ROSEINA2194_00985 SSU ribosomal protein S2p (SAe) SSU ribosomal protein S2p (SAe) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.903 ROSEINA2194_00986 Translation elongation factor Ts Translation elongation factor Ts Protein Processing Protein Synthesis Translation Translation elongation factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.908 ROSEINA2194_00991 Ribosome recycling factor Ribosome recycling factor Protein Processing Protein Synthesis Translation Translation termination factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.910 ROSEINA2194_00993 Phosphatidate cytidylyltransferase (EC 2.7.7.41) Phosphatidate cytidylyltransferase (EC 2.7.7.41) Metabolism Fatty Acids, Lipids, and Isoprenoids Phospholipids Glycerolipid and Glycerophospholipid Metabolism in Bacteria
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.911 ROSEINA2194_00994 1-deoxy-D-xylulose 5-phosphate reductoisomerase (EC 1.1.1.267) 1-deoxy-D-xylulose 5-phosphate reductoisomerase (EC 1.1.1.267) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in metabolic pathways
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.911 ROSEINA2194_00994 1-deoxy-D-xylulose 5-phosphate reductoisomerase (EC 1.1.1.267) 1-deoxy-D-xylulose 5-phosphate reductoisomerase (EC 1.1.1.267) Metabolism Fatty Acids, Lipids, and Isoprenoids Isoprenoids Nonmevalonate Branch of Isoprenoid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.913 ROSEINA2194_00996 (E)-4-hydroxy-3-methylbut-2-enyl-diphosphate synthase (flavodoxin) (EC 1.17.7.3) (E)-4-hydroxy-3-methylbut-2-enyl-diphosphate synthase (flavodoxin) (EC 1.17.7.3) Metabolism Fatty Acids, Lipids, and Isoprenoids Isoprenoids Nonmevalonate Branch of Isoprenoid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.916 ROSEINA2194_00999 Chorismate mutase I (EC 5.4.99.5) / Prephenate dehydratase (EC 4.2.1.51) Chorismate mutase I (EC 5.4.99.5) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.916 ROSEINA2194_00999 Chorismate mutase I (EC 5.4.99.5) / Prephenate dehydratase (EC 4.2.1.51) Chorismate mutase I (EC 5.4.99.5) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Phenylalanine and Tyrosine synthesis 1
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.916 ROSEINA2194_00999 Chorismate mutase I (EC 5.4.99.5) / Prephenate dehydratase (EC 4.2.1.51) Prephenate dehydratase (EC 4.2.1.51) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.916 ROSEINA2194_00999 Chorismate mutase I (EC 5.4.99.5) / Prephenate dehydratase (EC 4.2.1.51) Prephenate dehydratase (EC 4.2.1.51) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Phenylalanine and Tyrosine synthesis 1
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.919 ROSEINA2194_01002 Polyphosphate kinase (EC 2.7.4.1) Polyphosphate kinase (EC 2.7.4.1) Metabolism Phosphate Metabolism High affinity phosphate transporter and control of PHO regulon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.920 ROSEINA2194_01003 Polyphosphate kinase (EC 2.7.4.1) Polyphosphate kinase (EC 2.7.4.1) Metabolism Phosphate Metabolism High affinity phosphate transporter and control of PHO regulon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.921 ROSEINA2194_01004 Polyphosphate kinase (EC 2.7.4.1) Polyphosphate kinase (EC 2.7.4.1) Metabolism Phosphate Metabolism High affinity phosphate transporter and control of PHO regulon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.923 ROSEINA2194_01006 FIG00031715: Predicted metal-dependent phosphoesterases (PHP family) FIG00031715: Predicted metal-dependent phosphoesterases (PHP family) RNA Processing RNA Processing RNA processing and modification YrdC-YciO-Sua5 and associated protein families
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.924 ROSEINA2194_01007 Translation initiation factor 3 Translation initiation factor 3 Protein Processing Protein Synthesis Translation Translation initiation factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.925 ROSEINA2194_01008 LSU ribosomal protein L35p LSU ribosomal protein L35p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.925 ROSEINA2194_01008 LSU ribosomal protein L35p LSU ribosomal protein L35p Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.926 ROSEINA2194_01009 LSU ribosomal protein L20p LSU ribosomal protein L20p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.926 ROSEINA2194_01009 LSU ribosomal protein L20p LSU ribosomal protein L20p Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.935 ROSEINA2194_01017 Carbonic anhydrase, gamma class (EC 4.2.1.1) Carbonic anhydrase, gamma class (EC 4.2.1.1) Miscellaneous Miscellaneous Carbonic anhydrase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.944 ROSEINA2194_01026 Ribosomal protein L11 methyltransferase Ribosomal protein L11 methyltransferase Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.945 ROSEINA2194_01027 16S rRNA (uracil(1498)-N(3))-methyltransferase (EC 2.1.1.193) 16S rRNA (uracil(1498)-N(3))-methyltransferase (EC 2.1.1.193) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response Cluster containing Glutathione synthetase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.945 ROSEINA2194_01027 16S rRNA (uracil(1498)-N(3))-methyltransferase (EC 2.1.1.193) 16S rRNA (uracil(1498)-N(3))-methyltransferase (EC 2.1.1.193) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.946 ROSEINA2194_01028 16S rRNA (uracil(1498)-N(3))-methyltransferase (EC 2.1.1.193) 16S rRNA (uracil(1498)-N(3))-methyltransferase (EC 2.1.1.193) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response Cluster containing Glutathione synthetase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.946 ROSEINA2194_01028 16S rRNA (uracil(1498)-N(3))-methyltransferase (EC 2.1.1.193) 16S rRNA (uracil(1498)-N(3))-methyltransferase (EC 2.1.1.193) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.947 ROSEINA2194_01029 Putative cysteine desulfurase, associated with tRNA 4-thiouridine synthase Putative cysteine desulfurase, associated with tRNA 4-thiouridine synthase Metabolism Cofactors, Vitamins, Prosthetic Groups Thiamin Thiamin, thiazole, hydroxymethylpyrimidine salvage and uptake
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.948 ROSEINA2194_01030 tRNA 4-thiouridine synthase (EC 2.8.1.4) tRNA 4-thiouridine synthase (EC 2.8.1.4) Metabolism Cofactors, Vitamins, Prosthetic Groups Thiamin Thiamin, thiazole, hydroxymethylpyrimidine salvage and uptake
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.950 ROSEINA2194_01032 tRNA t(6)A37-methylthiotransferase (EC 2.8.4.5) tRNA t(6)A37-methylthiotransferase (EC 2.8.4.5) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.950 ROSEINA2194_01032 tRNA t(6)A37-methylthiotransferase (EC 2.8.4.5) tRNA t(6)A37-methylthiotransferase (EC 2.8.4.5) RNA Processing RNA Processing RNA processing and modification Methylthiotransferases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.950 ROSEINA2194_01032 tRNA t(6)A37-methylthiotransferase (EC 2.8.4.5) tRNA t(6)A37-methylthiotransferase (EC 2.8.4.5) Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein processing and modification Ribosomal protein S12p Asp methylthiotransferase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.952 ROSEINA2194_01034 Putative pre-16S rRNA nuclease Yqg Putative pre-16S rRNA nuclease Yqg Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response Cluster containing Glutathione synthetase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.954 ROSEINA2194_01036 Ribonuclease J (endonuclease and 5' exonuclease) Ribonuclease J (endonuclease and 5' exonuclease) RNA Processing RNA Processing RNA processing and modification Ribonuclease J family
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1010 ROSEINA2194_01102 DNA-binding protein SpoVG DNA-binding protein SpoVG Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation-associated proteins with broader functions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1031 ROSEINA2194_01123 Chromosome (plasmid) partitioning protein ParB Chromosome (plasmid) partitioning protein ParB Clustering-based subsystems Cell Division Cell division related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1036 ROSEINA2194_01130 S-ribosylhomocysteine lyase (EC 4.4.1.21) @ Autoinducer-2 production protein LuxS S-ribosylhomocysteine lyase (EC 4.4.1.21) Metabolism Carbohydrates C-1 compound metabolism S-Adenosyl-L-homocysteine recycling
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1037 ROSEINA2194_01131 Chaperone protein DnaJ Chaperone protein DnaJ Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Chaperones GroEL GroES and Thermosome
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1037 ROSEINA2194_01131 Chaperone protein DnaJ Chaperone protein DnaJ Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1037 ROSEINA2194_01131 Chaperone protein DnaJ Chaperone protein DnaJ Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Protein chaperones
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1038 ROSEINA2194_01132 Chaperone protein DnaK Chaperone protein DnaK Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Chaperones GroEL GroES and Thermosome
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1038 ROSEINA2194_01132 Chaperone protein DnaK Chaperone protein DnaK Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1038 ROSEINA2194_01132 Chaperone protein DnaK Chaperone protein DnaK Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Protein chaperones
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1039 ROSEINA2194_01133 Heat shock protein GrpE Heat shock protein GrpE Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Chaperones GroEL GroES and Thermosome
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1039 ROSEINA2194_01133 Heat shock protein GrpE Heat shock protein GrpE Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1039 ROSEINA2194_01133 Heat shock protein GrpE Heat shock protein GrpE Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Protein chaperones
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1041 ROSEINA2194_01135 Heat-inducible transcription repressor HrcA Heat-inducible transcription repressor HrcA Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Chaperones GroEL GroES and Thermosome
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1049 ROSEINA2194_01144 DNA topoisomerase III (EC 5.99.1.2) DNA topoisomerase III (EC 5.99.1.2) DNA Processing DNA Processing DNA uptake, competence DNA processing cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1067 ROSEINA2194_01166 5'-methylthioadenosine/S-adenosylhomocysteine nucleosidase related protein BCZK2595 5'-methylthioadenosine/S-adenosylhomocysteine nucleosidase related protein BCZK2595 Metabolism Nucleosides and Nucleotides Adenosyl nucleosidases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1070 ROSEINA2194_01169 Aminoglycoside 6-nucleotidyltransferase (EC 2.7.7.-) => ANT(6)-I Aminoglycoside 6-nucleotidyltransferase (EC 2.7.7.-) => ANT(6)-I Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Aminoglycoside modifying enzymes: O-nucleotidyltransferases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1102 ROSEINA2194_01205 alpha-galactosidase (EC 3.2.1.22) alpha-galactosidase (EC 3.2.1.22) Metabolism Carbohydrates Di- and oligosaccharides Galactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1106 ROSEINA2194_01209 beta-galactosidase (EC 3.2.1.23) beta-galactosidase (EC 3.2.1.23) Metabolism Carbohydrates Di- and oligosaccharides Lactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1111 ROSEINA2194_01215 ADP-ribose pyrophosphatase (EC 3.6.1.13) ADP-ribose pyrophosphatase (EC 3.6.1.13) Metabolism Cofactors, Vitamins, Prosthetic Groups NAD and NADP NAD and NADP cofactor biosynthesis global
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1111 ROSEINA2194_01215 ADP-ribose pyrophosphatase (EC 3.6.1.13) ADP-ribose pyrophosphatase (EC 3.6.1.13) Metabolism Metabolite damage and its repair or mitigation Nudix proteins (nucleoside triphosphate hydrolases)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1112 ROSEINA2194_01216 Ribonuclease Y Ribonuclease Y RNA Processing RNA Processing RNA processing and modification RNA processing and degradation, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1113 ROSEINA2194_01217 Regulatory protein RecX Regulatory protein RecX DNA Processing DNA Processing DNA repair DNA repair system including RecA, MutS and a hypothetical protein
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1113 ROSEINA2194_01217 Regulatory protein RecX Regulatory protein RecX DNA Processing DNA Processing DNA repair RecA and RecX
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1114 ROSEINA2194_01218 RecA protein RecA protein DNA Processing DNA Processing DNA repair DNA repair system including RecA, MutS and a hypothetical protein
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1114 ROSEINA2194_01218 RecA protein RecA protein DNA Processing DNA Processing DNA repair DNA repair, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1114 ROSEINA2194_01218 RecA protein RecA protein DNA Processing DNA Processing DNA repair DNA repair, bacterial RecFOR pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1114 ROSEINA2194_01218 RecA protein RecA protein DNA Processing DNA Processing DNA repair RecA and RecX
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1116 ROSEINA2194_01220 Peptide chain release factor 3 Peptide chain release factor 3 Protein Processing Protein Synthesis Translation Translation termination factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1120 ROSEINA2194_01224 Stage III sporulation protein AE Stage III sporulation protein AE Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation-associated proteins with broader functions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1125 ROSEINA2194_01230 Arginyl-tRNA synthetase (EC 6.1.1.19) Arginyl-tRNA synthetase (EC 6.1.1.19) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Arg
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1127 ROSEINA2194_01232 Diaminopimelate epimerase (EC 5.1.1.7) Diaminopimelate epimerase (EC 5.1.1.7) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine "Diaminopimelate Synthesis "
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1127 ROSEINA2194_01232 Diaminopimelate epimerase (EC 5.1.1.7) Diaminopimelate epimerase (EC 5.1.1.7) Metabolism Amino Acids and Derivatives Amino acid racemase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1127 ROSEINA2194_01232 Diaminopimelate epimerase (EC 5.1.1.7) Diaminopimelate epimerase (EC 5.1.1.7) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Lysine DAP biosynthetic pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1129 ROSEINA2194_01234 RNA polymerase sporulation specific sigma factor SigG RNA polymerase sporulation specific sigma factor SigG Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation proteins SigEG cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1130 ROSEINA2194_01235 Metallo-beta-lactamase family protein, RNA-specific Metallo-beta-lactamase family protein, RNA-specific RNA Processing RNA Processing RNA processing and modification Ribonuclease J family
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1131 ROSEINA2194_01236 RNA polymerase sporulation specific sigma factor SigE RNA polymerase sporulation specific sigma factor SigE Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation proteins SigEG cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1134 ROSEINA2194_01239 Cell division protein FtsZ Cell division protein FtsZ Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1135 ROSEINA2194_01240 Cell division protein FtsQ Cell division protein FtsQ Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1136 ROSEINA2194_01241 Cell division protein FtsW @ Stage V sporulation protein E Peptidoglycan glycosyltransferase FtsW (EC 2.4.1.129) Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1136 ROSEINA2194_01241 Cell division protein FtsW @ Stage V sporulation protein E Stage V sporulation protein E Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation proteins SigEG cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1137 ROSEINA2194_01242 UDP-N-acetylmuramoylalanine--D-glutamate ligase (EC 6.3.2.9) UDP-N-acetylmuramoylalanine--D-glutamate ligase (EC 6.3.2.9) Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1138 ROSEINA2194_01243 Phospho-N-acetylmuramoyl-pentapeptide-transferase (EC 2.7.8.13) Phospho-N-acetylmuramoyl-pentapeptide-transferase (EC 2.7.8.13) Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1139 ROSEINA2194_01244 Cell division protein FtsI [Peptidoglycan synthetase] (EC 2.4.1.129) @ Sporulation peptidoglycan synthetase SpoVD Cell division protein FtsI [Peptidoglycan synthetase] (EC 2.4.1.129) Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1140 ROSEINA2194_01245 Cell division protein FtsI [Peptidoglycan synthetase] (EC 2.4.1.129) Cell division protein FtsI [Peptidoglycan synthetase] (EC 2.4.1.129) Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1141 ROSEINA2194_01246 Cell division protein FtsL Cell division protein FtsL Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1142 ROSEINA2194_01247 16S rRNA (cytosine(1402)-N(4))-methyltransferase (EC 2.1.1.199) 16S rRNA (cytosine(1402)-N(4))-methyltransferase (EC 2.1.1.199) Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1143 ROSEINA2194_01248 Cell division protein MraZ Cell division protein MraZ Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1181 ROSEINA2194_01291 Type II/IV secretion system ATP hydrolase TadA/VirB11/CpaF, TadA subfamily Type II/IV secretion system ATP hydrolase TadA/VirB11/CpaF, TadA subfamily Membrane Transport Membrane Transport Protein secretion system, Type II Widespread colonization island
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1197 ROSEINA2194_01309 DNA topoisomerase III (EC 5.99.1.2) DNA topoisomerase III (EC 5.99.1.2) DNA Processing DNA Processing DNA uptake, competence DNA processing cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1214 ROSEINA2194_01334 Nucleoside 5-triphosphatase RdgB (dHAPTP, dITP, XTP-specific) (EC 3.6.1.66) Nucleoside 5-triphosphatase RdgB (dHAPTP, dITP, XTP-specific) (EC 3.6.1.66) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1214 ROSEINA2194_01334 Nucleoside 5-triphosphatase RdgB (dHAPTP, dITP, XTP-specific) (EC 3.6.1.66) Nucleoside 5-triphosphatase RdgB (dHAPTP, dITP, XTP-specific) (EC 3.6.1.66) Metabolism Metabolite damage and its repair or mitigation Metabolite repair
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1228 ROSEINA2194_01348 DNA topoisomerase III (EC 5.99.1.2) DNA topoisomerase III (EC 5.99.1.2) DNA Processing DNA Processing DNA uptake, competence DNA processing cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1229 ROSEINA2194_01349 DNA topoisomerase III (EC 5.99.1.2) DNA topoisomerase III (EC 5.99.1.2) DNA Processing DNA Processing DNA uptake, competence DNA processing cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1230 ROSEINA2194_01350 DNA topoisomerase III (EC 5.99.1.2) DNA topoisomerase III (EC 5.99.1.2) DNA Processing DNA Processing DNA uptake, competence DNA processing cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1240 ROSEINA2194_01362 Acetolactate synthase small subunit (EC 2.2.1.6) Acetolactate synthase small subunit (EC 2.2.1.6) Energy Energy and Precursor Metabolites Generation Fermentation Acetolactate synthase subunits
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1240 ROSEINA2194_01362 Acetolactate synthase small subunit (EC 2.2.1.6) Acetolactate synthase small subunit (EC 2.2.1.6) Metabolism Amino Acids and Derivatives Branched-chain amino acids Branched-Chain Amino Acid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1241 ROSEINA2194_01363 Ketol-acid reductoisomerase (NADP(+)) (EC 1.1.1.86) Ketol-acid reductoisomerase (NADP(+)) (EC 1.1.1.86) Metabolism Amino Acids and Derivatives Branched-chain amino acids Branched-Chain Amino Acid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1245 ROSEINA2194_01366 Heat shock protein 60 family co-chaperone GroES Heat shock protein 10 kDa family chaperone GroES Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Chaperones GroEL GroES and Thermosome
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1246 ROSEINA2194_01367 Heat shock protein 60 family chaperone GroEL Heat shock protein 60 kDa family chaperone GroEL Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Chaperones GroEL GroES and Thermosome
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1269 ROSEINA2194_01402 Cys regulon transcriptional activator CysB Cys regulon transcriptional activator CysB Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Cysteine synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1270 ROSEINA2194_01403 Phosphoribosylformylglycinamidine synthase, synthetase subunit (EC 6.3.5.3) / Phosphoribosylformylglycinamidine synthase, glutamine amidotransferase subunit (EC 6.3.5.3) Phosphoribosylformylglycinamidine synthase, glutamine amidotransferase subunit (EC 6.3.5.3) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1270 ROSEINA2194_01403 Phosphoribosylformylglycinamidine synthase, synthetase subunit (EC 6.3.5.3) / Phosphoribosylformylglycinamidine synthase, glutamine amidotransferase subunit (EC 6.3.5.3) Phosphoribosylformylglycinamidine synthase, synthetase subunit (EC 6.3.5.3) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1283 ROSEINA2194_01416 S-adenosylmethionine synthetase (EC 2.5.1.6) S-adenosylmethionine synthetase (EC 2.5.1.6) Metabolism Carbohydrates C-1 compound metabolism S-Adenosyl-L-homocysteine recycling
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1313 ROSEINA2194_01449 Glucose-1-phosphate adenylyltransferase (EC 2.7.7.27) Glucose-1-phosphate adenylyltransferase (EC 2.7.7.27) Metabolism Carbohydrates Polysaccharides Glycogen metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1314 ROSEINA2194_01450 Glucose-1-phosphate adenylyltransferase (EC 2.7.7.27) Glucose-1-phosphate adenylyltransferase (EC 2.7.7.27) Metabolism Carbohydrates Polysaccharides Glycogen metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1315 ROSEINA2194_01451 DNA-binding protein SpoVG DNA-binding protein SpoVG Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation-associated proteins with broader functions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1317 ROSEINA2194_01453 Peptidyl-tRNA hydrolase (EC 3.1.1.29) Peptidyl-tRNA hydrolase (EC 3.1.1.29) Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation-associated proteins with broader functions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1317 ROSEINA2194_01453 Peptidyl-tRNA hydrolase (EC 3.1.1.29) Peptidyl-tRNA hydrolase (EC 3.1.1.29) Protein Processing Protein Synthesis Translation Translation termination factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1320 ROSEINA2194_01457 Shikimate kinase I (EC 2.7.1.71) Shikimate kinase I (EC 2.7.1.71) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1322 ROSEINA2194_01459 UDP-N-acetylglucosamine 1-carboxyvinyltransferase (EC 2.5.1.7) UDP-N-acetylglucosamine 1-carboxyvinyltransferase (EC 2.5.1.7) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in cell wall biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1322 ROSEINA2194_01459 UDP-N-acetylglucosamine 1-carboxyvinyltransferase (EC 2.5.1.7) UDP-N-acetylglucosamine 1-carboxyvinyltransferase (EC 2.5.1.7) Cellular Processes Cell Cycle, Cell Division and Death Bacterial cell division related cluster 2
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1327 ROSEINA2194_01467 S-adenosylmethionine synthetase (EC 2.5.1.6) S-adenosylmethionine synthetase (EC 2.5.1.6) Metabolism Carbohydrates C-1 compound metabolism S-Adenosyl-L-homocysteine recycling
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1339 ROSEINA2194_01481 CCA tRNA nucleotidyltransferase (EC 2.7.7.72) CCA tRNA nucleotidyltransferase (EC 2.7.7.72) RNA Processing RNA Processing RNA processing and modification tRNA nucleotidyltransferase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1342 ROSEINA2194_01484 Phosphoglucosamine mutase (EC 5.4.2.10) Phosphoglucosamine mutase (EC 5.4.2.10) Cellular Processes Cell Cycle, Cell Division and Death Bacterial checkpoint-control-related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1344 ROSEINA2194_01486 Ribosome-associated heat shock protein implicated in the recycling of the 50S subunit (S4 paralog) Ribosome-associated heat shock protein implicated in the recycling of the 50S subunit (S4 paralog) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1344 ROSEINA2194_01486 Ribosome-associated heat shock protein implicated in the recycling of the 50S subunit (S4 paralog) Ribosome-associated heat shock protein implicated in the recycling of the 50S subunit (S4 paralog) Protein Processing Protein Synthesis Translation Translation elongation factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1350 ROSEINA2194_01492 tRNA(Ile)-lysidine synthetase (EC 6.3.4.19) tRNA(Ile)-lysidine synthetase (EC 6.3.4.19) Metabolism Cofactors, Vitamins, Prosthetic Groups Folate and pterines Folate biosynthesis cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1351 ROSEINA2194_01493 Hypoxanthine-guanine phosphoribosyltransferase (EC 2.4.2.8) Hypoxanthine-guanine phosphoribosyltransferase (EC 2.4.2.8) Metabolism Cofactors, Vitamins, Prosthetic Groups Folate and pterines Folate biosynthesis cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1352 ROSEINA2194_01494 Cell division protein FtsH Cell division-associated, ATP-dependent zinc metalloprotease FtsH Metabolism Cofactors, Vitamins, Prosthetic Groups Folate and pterines Folate biosynthesis cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1354 ROSEINA2194_01497 16S rRNA (cytosine(1402)-N(4))-methyltransferase (EC 2.1.1.199) 16S rRNA (cytosine(1402)-N(4))-methyltransferase (EC 2.1.1.199) Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1358 ROSEINA2194_01505 4-alpha-glucanotransferase (amylomaltase) (EC 2.4.1.25) 4-alpha-glucanotransferase (amylomaltase) (EC 2.4.1.25) Metabolism Carbohydrates Polysaccharides Glycogen metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1369 ROSEINA2194_01519 Exonuclease SbcD Exonuclease SbcD DNA Processing DNA Processing DNA repair DNA repair, bacterial SbcCD exonuclease
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1372 ROSEINA2194_01522 Exonuclease SbcC Exonuclease SbcC DNA Processing DNA Processing DNA repair DNA repair, bacterial SbcCD exonuclease
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1373 ROSEINA2194_01523 Glutamate racemase (EC 5.1.1.3) Glutamate racemase (EC 5.1.1.3) Metabolism Amino Acids and Derivatives Amino acid racemase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1377 ROSEINA2194_01530 Glycerol-3-phosphate dehydrogenase (EC 1.1.5.3) Glycerol-3-phosphate dehydrogenase (EC 1.1.5.3) Metabolism Fatty Acids, Lipids, and Isoprenoids Phospholipids Glycerolipid and Glycerophospholipid Metabolism in Bacteria
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1388 ROSEINA2194_01540 Translation elongation factor P Translation elongation factor P Protein Processing Protein Synthesis Translation Translation elongation factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1389 ROSEINA2194_01541 Ribose 5-phosphate isomerase B (EC 5.3.1.6) Ribose-5-phosphate isomerase B (EC 5.3.1.6) Energy Energy and Precursor Metabolites Generation Central Metabolism Pentose phosphate pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1392 ROSEINA2194_01544 Ribonucleotide reductase transcriptional regulator NrdR Ribonucleotide reductase transcriptional regulator NrdR Metabolism Nucleosides and Nucleotides Ribonucleotide reduction
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1400 ROSEINA2194_01552 Foldase protein PrsA precursor (EC 5.2.1.8) Foldase protein PrsA precursor (EC 5.2.1.8) Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Peptidyl-prolyl cis-trans isomerase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1403 ROSEINA2194_01555 Septum formation protein Maf Septum formation protein Maf Cellular Processes Cell Cycle, Cell Division and Death Bacterial cell division related cluster 2
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1405 ROSEINA2194_01557 ATP-dependent helicase/nuclease AddAB, subunit A ATP-dependent helicase/nuclease AddAB, subunit A DNA Processing DNA Processing DNA repair ATP-dependent Nuclease
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1405 ROSEINA2194_01557 ATP-dependent helicase/nuclease AddAB, subunit A ATP-dependent helicase/nuclease AddAB, subunit A DNA Processing DNA Processing DNA repair DNA repair, bacterial RecBCD pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1406 ROSEINA2194_01558 ATP-dependent helicase/nuclease AddAB, subunit A ATP-dependent helicase/nuclease AddAB, subunit A DNA Processing DNA Processing DNA repair ATP-dependent Nuclease
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1406 ROSEINA2194_01558 ATP-dependent helicase/nuclease AddAB, subunit A ATP-dependent helicase/nuclease AddAB, subunit A DNA Processing DNA Processing DNA repair DNA repair, bacterial RecBCD pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1407 ROSEINA2194_01559 ATP-dependent helicase/nuclease AddAB, subunit B ATP-dependent helicase/nuclease AddAB, subunit B DNA Processing DNA Processing DNA repair ATP-dependent Nuclease
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1407 ROSEINA2194_01559 ATP-dependent helicase/nuclease AddAB, subunit B ATP-dependent helicase/nuclease AddAB, subunit B DNA Processing DNA Processing DNA repair DNA repair, bacterial RecBCD pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1408 ROSEINA2194_01561 Sodium-dependent phosphate transporter Sodium-dependent phosphate transporter Membrane Transport Membrane Transport Uni- Sym- and Antiporters NhaA, NhaD and Sodium-dependent phosphate transporters
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1412 ROSEINA2194_01565 Ribonuclease HI (EC 3.1.26.4) Ribonuclease HI (EC 3.1.26.4) RNA Processing RNA Processing RNA processing and modification Ribonuclease H
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1417 ROSEINA2194_01571 Acyl-acyl carrier protein thioesterase Acyl-acyl carrier protein thioesterase Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty acid synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1425 ROSEINA2194_01581 Cell-division-associated, ABC-transporter-like signaling protein FtsE Cell-division-associated, ABC-transporter-like signaling protein FtsE Clustering-based subsystems Cell Division Cell division related cluster including coaD
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1425 ROSEINA2194_01581 Cell-division-associated, ABC-transporter-like signaling protein FtsE Cell-division-associated, ABC-transporter-like signaling protein FtsE Cellular Processes Cell Cycle, Cell Division and Death FtsEX cell-division-associated signaling system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1426 ROSEINA2194_01582 Cell-division-associated, ABC-transporter-like signaling protein FtsX Cell-division-associated, ABC-transporter-like signaling protein FtsX Clustering-based subsystems Cell Division Cell division related cluster including coaD
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1426 ROSEINA2194_01582 Cell-division-associated, ABC-transporter-like signaling protein FtsX Cell-division-associated, ABC-transporter-like signaling protein FtsX Cellular Processes Cell Cycle, Cell Division and Death FtsEX cell-division-associated signaling system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1427 ROSEINA2194_01583 Murein hydrolase activator EnvC Murein hydrolase activator EnvC Cellular Processes Cell Cycle, Cell Division and Death FtsEX cell-division-associated signaling system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1431 ROSEINA2194_01587 Peptide chain release factor 2 Peptide chain release factor 2 Protein Processing Protein Synthesis Translation Programmed frameshift
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1431 ROSEINA2194_01587 Peptide chain release factor 2 Peptide chain release factor 2 Protein Processing Protein Synthesis Translation Translation termination factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1438 ROSEINA2194_01595 Homoserine dehydrogenase (EC 1.1.1.3) Homoserine dehydrogenase (EC 1.1.1.3) Metabolism Amino Acids and Derivatives Glutamine, glutamate, aspartate, asparagine; ammonia assimilation Aspartate to Homoserine module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1438 ROSEINA2194_01595 Homoserine dehydrogenase (EC 1.1.1.3) Homoserine dehydrogenase (EC 1.1.1.3) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Aspartate to Threonine Module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1439 ROSEINA2194_01596 5'-methylthioadenosine nucleosidase (EC 3.2.2.16) @ S-adenosylhomocysteine nucleosidase (EC 3.2.2.9) 5'-methylthioadenosine nucleosidase (EC 3.2.2.16) Metabolism Nucleosides and Nucleotides Adenosyl nucleosidases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1439 ROSEINA2194_01596 5'-methylthioadenosine nucleosidase (EC 3.2.2.16) @ S-adenosylhomocysteine nucleosidase (EC 3.2.2.9) 5'-methylthioadenosine nucleosidase (EC 3.2.2.16) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Polyamine Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1439 ROSEINA2194_01596 5'-methylthioadenosine nucleosidase (EC 3.2.2.16) @ S-adenosylhomocysteine nucleosidase (EC 3.2.2.9) S-adenosylhomocysteine nucleosidase (EC 3.2.2.9) Metabolism Nucleosides and Nucleotides Adenosyl nucleosidases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1439 ROSEINA2194_01596 5'-methylthioadenosine nucleosidase (EC 3.2.2.16) @ S-adenosylhomocysteine nucleosidase (EC 3.2.2.9) S-adenosylhomocysteine nucleosidase (EC 3.2.2.9) Metabolism Carbohydrates C-1 compound metabolism S-Adenosyl-L-homocysteine recycling
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1446 ROSEINA2194_01605 Glycerol kinase (EC 2.7.1.30) Glycerol kinase (EC 2.7.1.30) Metabolism Fatty Acids, Lipids, and Isoprenoids Phospholipids Glycerolipid and Glycerophospholipid Metabolism in Bacteria
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1447 ROSEINA2194_01607 Carbamoyl-phosphate synthase small chain (EC 6.3.5.5) Carbamoyl-phosphate synthase small chain (EC 6.3.5.5) Metabolism Nucleosides and Nucleotides Pyrimidines De Novo Pyrimidine Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1447 ROSEINA2194_01607 Carbamoyl-phosphate synthase small chain (EC 6.3.5.5) Carbamoyl-phosphate synthase small chain (EC 6.3.5.5) Cellular Processes Cell Cycle, Cell Division and Death Macromolecular synthesis operon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1448 ROSEINA2194_01608 Carbamoyl-phosphate synthase large chain (EC 6.3.5.5) Carbamoyl-phosphate synthase large chain (EC 6.3.5.5) Metabolism Nucleosides and Nucleotides Pyrimidines De Novo Pyrimidine Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1448 ROSEINA2194_01608 Carbamoyl-phosphate synthase large chain (EC 6.3.5.5) Carbamoyl-phosphate synthase large chain (EC 6.3.5.5) Cellular Processes Cell Cycle, Cell Division and Death Macromolecular synthesis operon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1480 ROSEINA2194_01652 DinG family ATP-dependent helicase YpvA DinG family ATP-dependent helicase YpvA DNA Processing DNA Processing DNA repair DNA repair, bacterial DinG and relatives
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1509 ROSEINA2194_01683 Peptide deformylase (EC 3.5.1.88) Peptide deformylase (EC 3.5.1.88) Protein Processing Protein Synthesis Translation Translation termination factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1510 ROSEINA2194_01684 FIG138056: a glutathione-dependent thiol reductase FIG138056: a glutathione-dependent thiol reductase Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Lysine DAP biosynthetic pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1526 ROSEINA2194_01700 Chromosome (plasmid) partitioning protein ParA Chromosome (plasmid) partitioning protein ParA Clustering-based subsystems Cell Division Cell division related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1538 ROSEINA2194_01712 PduJ-like protein clustered with choline trimethylamine-lyase PduJ-like protein clustered with choline trimethylamine-lyase Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate formate-lyase cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1541 ROSEINA2194_01715 EutN-like protein clustered with choline trimethylamine-lyase EutN-like protein clustered with choline trimethylamine-lyase Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate formate-lyase cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1545 ROSEINA2194_01719 Pyruvate formate-lyase (EC 2.3.1.54) Pyruvate formate-lyase (EC 2.3.1.54) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate formate-lyase cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1546 ROSEINA2194_01720 Pyruvate formate-lyase activating enzyme (EC 1.97.1.4) Pyruvate formate-lyase activating enzyme (EC 1.97.1.4) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate formate-lyase cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1548 ROSEINA2194_01722 Shikimate/quinate 5-dehydrogenase I beta (EC 1.1.1.282) Shikimate/quinate 5-dehydrogenase I beta (EC 1.1.1.282) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1556 ROSEINA2194_01730 Shikimate/quinate 5-dehydrogenase I beta (EC 1.1.1.282) Shikimate/quinate 5-dehydrogenase I beta (EC 1.1.1.282) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1558 ROSEINA2194_01732 3-dehydroquinate dehydratase I (EC 4.2.1.10) 3-dehydroquinate dehydratase I (EC 4.2.1.10) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1564 ROSEINA2194_01738 Chorismate mutase I (EC 5.4.99.5) / Shikimate kinase I (EC 2.7.1.71) Chorismate mutase I (EC 5.4.99.5) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1564 ROSEINA2194_01738 Chorismate mutase I (EC 5.4.99.5) / Shikimate kinase I (EC 2.7.1.71) Chorismate mutase I (EC 5.4.99.5) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Phenylalanine and Tyrosine synthesis 1
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1564 ROSEINA2194_01738 Chorismate mutase I (EC 5.4.99.5) / Shikimate kinase I (EC 2.7.1.71) Shikimate kinase I (EC 2.7.1.71) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1580 ROSEINA2194_01759 hypothetical protein FtsI-like cell elongation transpeptidase Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1587 ROSEINA2194_01765 Catabolite control protein A Catabolite control protein A Regulation And Cell Signaling Regulation and Cell signaling HPr catabolite repression system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1588 ROSEINA2194_01766 4-alpha-glucanotransferase (amylomaltase) (EC 2.4.1.25) 4-alpha-glucanotransferase (amylomaltase) (EC 2.4.1.25) Metabolism Carbohydrates Polysaccharides Glycogen metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1591 ROSEINA2194_01770 Cadmium efflux system accessory protein Cadmium efflux system accessory protein Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Cadmium resistance
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1593 ROSEINA2194_01772 Lead, cadmium, zinc and mercury transporting ATPase (EC 3.6.3.3) (EC 3.6.3.5); Copper-translocating P-type ATPase (EC 3.6.3.4) Cadmium-transporting ATPase (EC 3.6.3.3) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Cadmium resistance
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1601 ROSEINA2194_01781 Aspartate--ammonia ligase (EC 6.3.1.1) Aspartate--ammonia ligase (EC 6.3.1.1) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asn
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1641 ROSEINA2194_01838 Type I restriction-modification system, DNA-methyltransferase subunit M (EC 2.1.1.72) Type I restriction-modification system, DNA-methyltransferase subunit M (EC 2.1.1.72) DNA Processing DNA Processing Type I restriction-modification systems
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1642 ROSEINA2194_01839 Type I restriction-modification system, restriction subunit R (EC 3.1.21.3) Type I restriction-modification system, restriction subunit R (EC 3.1.21.3) DNA Processing DNA Processing Type I restriction-modification systems
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1643 ROSEINA2194_01840 Type I restriction-modification system, restriction subunit R (EC 3.1.21.3) Type I restriction-modification system, restriction subunit R (EC 3.1.21.3) DNA Processing DNA Processing Type I restriction-modification systems
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1648 ROSEINA2194_01846 Hypothetical domain / Sirohydrochlorin cobaltochelatase CbiK (EC 4.99.1.3) @ Sirohydrochlorin ferrochelatase activity of CbiK (EC 4.99.1.4) Sirohydrochlorin cobaltochelatase CbiK (EC 4.99.1.3) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1648 ROSEINA2194_01846 Hypothetical domain / Sirohydrochlorin cobaltochelatase CbiK (EC 4.99.1.3) @ Sirohydrochlorin ferrochelatase activity of CbiK (EC 4.99.1.4) Sirohydrochlorin cobaltochelatase CbiK (EC 4.99.1.3) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis, Precorin-2 to Cob(II)yrinate a,c diamide, anaerobic
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1648 ROSEINA2194_01846 Hypothetical domain / Sirohydrochlorin cobaltochelatase CbiK (EC 4.99.1.3) @ Sirohydrochlorin ferrochelatase activity of CbiK (EC 4.99.1.4) Sirohydrochlorin cobaltochelatase CbiK (EC 4.99.1.3) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Metal chelatases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1648 ROSEINA2194_01846 Hypothetical domain / Sirohydrochlorin cobaltochelatase CbiK (EC 4.99.1.3) @ Sirohydrochlorin ferrochelatase activity of CbiK (EC 4.99.1.4) Sirohydrochlorin ferrochelatase activity of CbiK (EC 4.99.1.4) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Heme Biosynthesis: protoporphyrin-, coproporphyrin- and siroheme-dependent pathways
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1648 ROSEINA2194_01846 Hypothetical domain / Sirohydrochlorin cobaltochelatase CbiK (EC 4.99.1.3) @ Sirohydrochlorin ferrochelatase activity of CbiK (EC 4.99.1.4) Sirohydrochlorin ferrochelatase activity of CbiK (EC 4.99.1.4) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Metal chelatases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1650 ROSEINA2194_01848 Cobyrinic acid a,c-diamide synthetase (EC 6.3.5.11) Cobyrinic acid a,c-diamide synthetase (EC 6.3.5.11) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1650 ROSEINA2194_01848 Cobyrinic acid a,c-diamide synthetase (EC 6.3.5.11) Cobyrinic acid a,c-diamide synthetase (EC 6.3.5.11) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis, Precorin-2 to Cob(II)yrinate a,c diamide, anaerobic
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1651 ROSEINA2194_01849 Cobyrinic acid a,c-diamide synthetase (EC 6.3.5.11) Cobyrinic acid a,c-diamide synthetase (EC 6.3.5.11) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1651 ROSEINA2194_01849 Cobyrinic acid a,c-diamide synthetase (EC 6.3.5.11) Cobyrinic acid a,c-diamide synthetase (EC 6.3.5.11) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis, Precorin-2 to Cob(II)yrinate a,c diamide, anaerobic
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1653 ROSEINA2194_01851 Cobalt-precorrin-6A reductase (EC 1.3.1.106) / Cobalt-precorrin-7 (C5)-methyltransferase (EC 2.1.1.289) / Cobalt-precorrin-6B C15-methyltransferase [decarboxylating] (EC 2.1.1.196) Cobalt-precorrin-6A reductase (EC 1.3.1.106) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis, Precorin-2 to Cob(II)yrinate a,c diamide, anaerobic
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1653 ROSEINA2194_01851 Cobalt-precorrin-6A reductase (EC 1.3.1.106) / Cobalt-precorrin-7 (C5)-methyltransferase (EC 2.1.1.289) / Cobalt-precorrin-6B C15-methyltransferase [decarboxylating] (EC 2.1.1.196) Cobalt-precorrin-6B C15-methyltransferase [decarboxylating] (EC 2.1.1.196) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1653 ROSEINA2194_01851 Cobalt-precorrin-6A reductase (EC 1.3.1.106) / Cobalt-precorrin-7 (C5)-methyltransferase (EC 2.1.1.289) / Cobalt-precorrin-6B C15-methyltransferase [decarboxylating] (EC 2.1.1.196) Cobalt-precorrin-6B C15-methyltransferase [decarboxylating] (EC 2.1.1.196) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis, Precorin-2 to Cob(II)yrinate a,c diamide, anaerobic
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1653 ROSEINA2194_01851 Cobalt-precorrin-6A reductase (EC 1.3.1.106) / Cobalt-precorrin-7 (C5)-methyltransferase (EC 2.1.1.289) / Cobalt-precorrin-6B C15-methyltransferase [decarboxylating] (EC 2.1.1.196) Cobalt-precorrin-7 (C5)-methyltransferase (EC 2.1.1.289) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1653 ROSEINA2194_01851 Cobalt-precorrin-6A reductase (EC 1.3.1.106) / Cobalt-precorrin-7 (C5)-methyltransferase (EC 2.1.1.289) / Cobalt-precorrin-6B C15-methyltransferase [decarboxylating] (EC 2.1.1.196) Cobalt-precorrin-7 (C5)-methyltransferase (EC 2.1.1.289) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis, Precorin-2 to Cob(II)yrinate a,c diamide, anaerobic
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1654 ROSEINA2194_01852 Cobalt-precorrin-3 C(17)-methyltransferase (EC 2.1.1.272) Cobalt-precorrin-3 C(17)-methyltransferase (EC 2.1.1.272) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1654 ROSEINA2194_01852 Cobalt-precorrin-3 C(17)-methyltransferase (EC 2.1.1.272) Cobalt-precorrin-3 C(17)-methyltransferase (EC 2.1.1.272) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis, Precorin-2 to Cob(II)yrinate a,c diamide, anaerobic
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1655 ROSEINA2194_01853 Cobalt-precorrin 5A hydrolase (EC 3.7.1.12) Cobalt-precorrin 5A hydrolase (EC 3.7.1.12) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1655 ROSEINA2194_01853 Cobalt-precorrin 5A hydrolase (EC 3.7.1.12) Cobalt-precorrin 5A hydrolase (EC 3.7.1.12) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis, Precorin-2 to Cob(II)yrinate a,c diamide, anaerobic
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1656 ROSEINA2194_01854 Cobalt-precorrin-4 C(11)-methyltransferase (EC 2.1.1.271) Cobalt-precorrin-4 C(11)-methyltransferase (EC 2.1.1.271) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1656 ROSEINA2194_01854 Cobalt-precorrin-4 C(11)-methyltransferase (EC 2.1.1.271) Cobalt-precorrin-4 C(11)-methyltransferase (EC 2.1.1.271) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis, Precorin-2 to Cob(II)yrinate a,c diamide, anaerobic
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1657 ROSEINA2194_01855 Cobalt-precorrin-5B (C1)-methyltransferase (EC 2.1.1.195) Cobalt-precorrin-5B (C1)-methyltransferase (EC 2.1.1.195) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis, Precorin-2 to Cob(II)yrinate a,c diamide, anaerobic
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1658 ROSEINA2194_01856 Cobalt-precorrin-8 methylmutase (EC 5.4.99.60) Cobalt-precorrin-8 methylmutase (EC 5.4.99.60) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1658 ROSEINA2194_01856 Cobalt-precorrin-8 methylmutase (EC 5.4.99.60) Cobalt-precorrin-8 methylmutase (EC 5.4.99.60) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis, Precorin-2 to Cob(II)yrinate a,c diamide, anaerobic
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1659 ROSEINA2194_01857 L-threonine 3-O-phosphate decarboxylase (EC 4.1.1.81) L-threonine 3-O-phosphate decarboxylase (EC 4.1.1.81) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1659 ROSEINA2194_01857 L-threonine 3-O-phosphate decarboxylase (EC 4.1.1.81) L-threonine 3-O-phosphate decarboxylase (EC 4.1.1.81) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis from Cob(II)yrinate a,c diamide
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1660 ROSEINA2194_01858 Adenosylcobinamide-phosphate synthase (EC 6.3.1.10) Adenosylcobinamide-phosphate synthase (EC 6.3.1.10) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1660 ROSEINA2194_01858 Adenosylcobinamide-phosphate synthase (EC 6.3.1.10) Adenosylcobinamide-phosphate synthase (EC 6.3.1.10) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis from Cob(II)yrinate a,c diamide
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1663 ROSEINA2194_01861 Cobalamin synthase (EC 2.7.8.26) Cobalamin synthase (EC 2.7.8.26) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1663 ROSEINA2194_01861 Cobalamin synthase (EC 2.7.8.26) Cobalamin synthase (EC 2.7.8.26) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis from Cob(II)yrinate a,c diamide
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1664 ROSEINA2194_01862 Adenosylcobinamide kinase (EC 2.7.1.156) / Adenosylcobinamide-phosphate guanylyltransferase (EC 2.7.7.62) Adenosylcobinamide kinase (EC 2.7.1.156) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1664 ROSEINA2194_01862 Adenosylcobinamide kinase (EC 2.7.1.156) / Adenosylcobinamide-phosphate guanylyltransferase (EC 2.7.7.62) Adenosylcobinamide kinase (EC 2.7.1.156) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis from Cob(II)yrinate a,c diamide
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1664 ROSEINA2194_01862 Adenosylcobinamide kinase (EC 2.7.1.156) / Adenosylcobinamide-phosphate guanylyltransferase (EC 2.7.7.62) Adenosylcobinamide-phosphate guanylyltransferase (EC 2.7.7.62) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1664 ROSEINA2194_01862 Adenosylcobinamide kinase (EC 2.7.1.156) / Adenosylcobinamide-phosphate guanylyltransferase (EC 2.7.7.62) Adenosylcobinamide-phosphate guanylyltransferase (EC 2.7.7.62) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis from Cob(II)yrinate a,c diamide
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1665 ROSEINA2194_01863 Nicotinate-nucleotide--dimethylbenzimidazole phosphoribosyltransferase (EC 2.4.2.21) Nicotinate-nucleotide--dimethylbenzimidazole phosphoribosyltransferase (EC 2.4.2.21) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1665 ROSEINA2194_01863 Nicotinate-nucleotide--dimethylbenzimidazole phosphoribosyltransferase (EC 2.4.2.21) Nicotinate-nucleotide--dimethylbenzimidazole phosphoribosyltransferase (EC 2.4.2.21) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis from Cob(II)yrinate a,c diamide
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1666 ROSEINA2194_01864 Nicotinate-nucleotide--dimethylbenzimidazole phosphoribosyltransferase (EC 2.4.2.21) Nicotinate-nucleotide--dimethylbenzimidazole phosphoribosyltransferase (EC 2.4.2.21) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1666 ROSEINA2194_01864 Nicotinate-nucleotide--dimethylbenzimidazole phosphoribosyltransferase (EC 2.4.2.21) Nicotinate-nucleotide--dimethylbenzimidazole phosphoribosyltransferase (EC 2.4.2.21) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis from Cob(II)yrinate a,c diamide
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1667 ROSEINA2194_01865 Cobyric acid synthase (EC 6.3.5.10) Cobyric acid synthase (EC 6.3.5.10) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1667 ROSEINA2194_01865 Cobyric acid synthase (EC 6.3.5.10) Cobyric acid synthase (EC 6.3.5.10) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis from Cob(II)yrinate a,c diamide
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1683 ROSEINA2194_01881 Quinolinate synthetase (EC 2.5.1.72) Quinolinate synthetase (EC 2.5.1.72) Metabolism Cofactors, Vitamins, Prosthetic Groups NAD and NADP NAD and NADP cofactor biosynthesis global
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1684 ROSEINA2194_01882 L-aspartate oxidase (EC 1.4.3.16) L-aspartate oxidase (EC 1.4.3.16) Metabolism Cofactors, Vitamins, Prosthetic Groups NAD and NADP NAD and NADP cofactor biosynthesis global
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1685 ROSEINA2194_01883 Quinolinate phosphoribosyltransferase [decarboxylating] (EC 2.4.2.19) Quinolinate phosphoribosyltransferase [decarboxylating] (EC 2.4.2.19) Metabolism Cofactors, Vitamins, Prosthetic Groups NAD and NADP NAD and NADP cofactor biosynthesis global
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1710 ROSEINA2194_01910 Uronate isomerase (EC 5.3.1.12) Uronate isomerase (EC 5.3.1.12) Metabolism Carbohydrates Monosaccharides D-Galacturonate and D-Glucuronate Utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1711 ROSEINA2194_01911 beta-galactosidase (EC 3.2.1.23) beta-galactosidase (EC 3.2.1.23) Metabolism Carbohydrates Di- and oligosaccharides Lactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1719 ROSEINA2194_01920 Chaperone protein HtpG Chaperone protein HtpG Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Protein chaperones
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1720 ROSEINA2194_01921 Chaperone protein HtpG Chaperone protein HtpG Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Protein chaperones
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1721 ROSEINA2194_01924 Exodeoxyribonuclease III (EC 3.1.11.2) Exodeoxyribonuclease III (EC 3.1.11.2) DNA Processing DNA Processing DNA repair DNA repair, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1726 ROSEINA2194_01929 tRNA-specific 2-thiouridylase MnmA (EC 2.8.1.13) tRNA-specific 2-thiouridylase MnmA (EC 2.8.1.13) RNA Processing RNA Processing RNA processing and modification 5-methylaminomethyl-2-thiouridine
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1728 ROSEINA2194_01931 Uracil-DNA glycosylase, family 1 (EC 3.2.2.27) Uracil-DNA glycosylase, family 1 (EC 3.2.2.27) DNA Processing DNA Processing DNA repair DNA Repair Base Excision
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1729 ROSEINA2194_01932 Imidazole glycerol phosphate synthase cyclase subunit HisF Imidazole glycerol phosphate synthase cyclase subunit Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1730 ROSEINA2194_01933 Imidazole glycerol phosphate synthase amidotransferase subunit (EC 2.4.2.-) Imidazole glycerol phosphate synthase amidotransferase subunit HisH Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1732 ROSEINA2194_01935 Chemotaxis protein CheV (EC 2.7.3.-) Chemotaxis protein CheV (EC 2.7.3.-) Cellular Processes Motility and Chemotaxis Chemotaxis in Escherichia coli and Bacillus subtilis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1756 ROSEINA2194_01963 Phosphate acetyltransferase (EC 2.3.1.8) Phosphate acetyltransferase (EC 2.3.1.8) Energy Energy and Precursor Metabolites Generation Fermentation Fermentations: Lactate
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1756 ROSEINA2194_01963 Phosphate acetyltransferase (EC 2.3.1.8) Phosphate acetyltransferase (EC 2.3.1.8) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate metabolism II: acetyl-CoA, acetogenesis from pyruvate
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1759 ROSEINA2194_01967 Galactose/methyl galactoside ABC transport system, D-galactose-binding periplasmic protein MglB (TC 3.A.1.2.3) Galactose/methyl galactoside ABC transport system, D-galactose-binding periplasmic protein MglB (TC 3.A.1.2.3) Metabolism Carbohydrates Di- and oligosaccharides Galactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1760 ROSEINA2194_01968 Galactose/methyl galactoside ABC transport system, ATP-binding protein MglA (EC 3.6.3.17) Galactose/methyl galactoside ABC transport system, ATP-binding protein MglA (EC 3.6.3.17) Metabolism Carbohydrates Di- and oligosaccharides Galactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1761 ROSEINA2194_01969 Galactose/methyl galactoside ABC transport system, permease protein MglC (TC 3.A.1.2.3) Galactose/methyl galactoside ABC transport system, permease protein MglC (TC 3.A.1.2.3) Metabolism Carbohydrates Di- and oligosaccharides Galactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1766 ROSEINA2194_01974 Galactose/methyl galactoside ABC transport system, D-galactose-binding periplasmic protein MglB (TC 3.A.1.2.3) Galactose/methyl galactoside ABC transport system, D-galactose-binding periplasmic protein MglB (TC 3.A.1.2.3) Metabolism Carbohydrates Di- and oligosaccharides Galactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1770 ROSEINA2194_01978 LSU ribosomal protein L33p @ LSU ribosomal protein L33p, zinc-dependent LSU ribosomal protein L33p, zinc-dependent Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, zinc requirement
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1770 ROSEINA2194_01978 LSU ribosomal protein L33p @ LSU ribosomal protein L33p, zinc-dependent LSU ribosomal protein L33p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, zinc requirement
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1770 ROSEINA2194_01978 LSU ribosomal protein L33p @ LSU ribosomal protein L33p, zinc-dependent LSU ribosomal protein L33p Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1773 ROSEINA2194_01981 LSU ribosomal protein L11p (L12e) LSU ribosomal protein L11p (L12e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1773 ROSEINA2194_01981 LSU ribosomal protein L11p (L12e) LSU ribosomal protein L11p (L12e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1774 ROSEINA2194_01982 LSU ribosomal protein L1p (L10Ae) LSU ribosomal protein L1p (L10Ae) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1774 ROSEINA2194_01982 LSU ribosomal protein L1p (L10Ae) LSU ribosomal protein L1p (L10Ae) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1775 ROSEINA2194_01983 LSU ribosomal protein L10p (P0) LSU ribosomal protein L10p (P0) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1775 ROSEINA2194_01983 LSU ribosomal protein L10p (P0) LSU ribosomal protein L10p (P0) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1776 ROSEINA2194_01984 LSU ribosomal protein L7p/L12p (P1/P2) LSU ribosomal protein L7p/L12p (P1/P2) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1776 ROSEINA2194_01984 LSU ribosomal protein L7p/L12p (P1/P2) LSU ribosomal protein L7p/L12p (P1/P2) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1778 ROSEINA2194_01986 DNA-directed RNA polymerase beta subunit (EC 2.7.7.6) DNA-directed RNA polymerase beta subunit (EC 2.7.7.6) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in transcription
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1778 ROSEINA2194_01986 DNA-directed RNA polymerase beta subunit (EC 2.7.7.6) DNA-directed RNA polymerase beta subunit (EC 2.7.7.6) RNA Processing RNA Processing Transcription RNA polymerase, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1779 ROSEINA2194_01987 DNA-directed RNA polymerase beta subunit (EC 2.7.7.6) DNA-directed RNA polymerase beta subunit (EC 2.7.7.6) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in transcription
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1779 ROSEINA2194_01987 DNA-directed RNA polymerase beta subunit (EC 2.7.7.6) DNA-directed RNA polymerase beta subunit (EC 2.7.7.6) RNA Processing RNA Processing Transcription RNA polymerase, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1780 ROSEINA2194_01988 DNA-directed RNA polymerase beta' subunit (EC 2.7.7.6) DNA-directed RNA polymerase beta' subunit (EC 2.7.7.6) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in transcription
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1780 ROSEINA2194_01988 DNA-directed RNA polymerase beta' subunit (EC 2.7.7.6) DNA-directed RNA polymerase beta' subunit (EC 2.7.7.6) RNA Processing RNA Processing Transcription RNA polymerase, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1781 ROSEINA2194_01989 SSU ribosomal protein S12p (S23e) SSU ribosomal protein S12p (S23e) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in protein synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1781 ROSEINA2194_01989 SSU ribosomal protein S12p (S23e) SSU ribosomal protein S12p (S23e) Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein processing and modification Ribosomal protein S12p Asp methylthiotransferase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1781 ROSEINA2194_01989 SSU ribosomal protein S12p (S23e) SSU ribosomal protein S12p (S23e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1782 ROSEINA2194_01990 SSU ribosomal protein S7p (S5e) SSU ribosomal protein S7p (S5e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1783 ROSEINA2194_01991 Translation elongation factor G Translation elongation factor G Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in protein synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1783 ROSEINA2194_01991 Translation elongation factor G Translation elongation factor G Protein Processing Protein Synthesis Translation Translation elongation factor G family
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1783 ROSEINA2194_01991 Translation elongation factor G Translation elongation factor G Protein Processing Protein Synthesis Translation Translation elongation factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1783 ROSEINA2194_01991 Translation elongation factor G Translation elongation factor G Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1784 ROSEINA2194_01992 Translation elongation factor Tu Translation elongation factor Tu Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in protein synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1784 ROSEINA2194_01992 Translation elongation factor Tu Translation elongation factor Tu Protein Processing Protein Synthesis Translation Translation elongation factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1784 ROSEINA2194_01992 Translation elongation factor Tu Translation elongation factor Tu Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1805 ROSEINA2194_02015 Mutator MutT protein (7,8-dihydro-8-oxoguanine-triphosphatase) (EC 3.6.1.-) Mutator MutT protein (7,8-dihydro-8-oxoguanine-triphosphatase) (EC 3.6.1.-) Metabolism Metabolite damage and its repair or mitigation Nudix proteins (nucleoside triphosphate hydrolases)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1807 ROSEINA2194_02017 dTDP-4-dehydrorhamnose reductase (EC 1.1.1.133) dTDP-4-dehydrorhamnose reductase (EC 1.1.1.133) Cell Envelope Cell Envelope, Capsule and Slime layer Capsule and Slime layer dTDP-rhamnose synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1814 ROSEINA2194_02026 Limit dextrin alpha-1,6-maltotetraose-hydrolase (EC 3.2.1.196) Limit dextrin alpha-1,6-maltotetraose-hydrolase (EC 3.2.1.196) Metabolism Carbohydrates Polysaccharides Glycogen metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1818 ROSEINA2194_02031 Orotidine 5'-phosphate decarboxylase (EC 4.1.1.23) Orotidine 5'-phosphate decarboxylase (EC 4.1.1.23) Metabolism Nucleosides and Nucleotides Pyrimidines De Novo Pyrimidine Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1822 ROSEINA2194_02036 Cell envelope-associated transcriptional attenuator LytR-CpsA-Psr, subfamily F2 Cell envelope-associated transcriptional attenuator LytR-CpsA-Psr, subfamily F2 Regulation And Cell Signaling Regulation and Cell signaling Cell envelope-associated LytR-CpsA-Psr transcriptional attenuators
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1824 ROSEINA2194_02039 Magnesium and cobalt transport protein CorA Magnesium and cobalt transport protein CorA Membrane Transport Membrane Transport Cation transporters Magnesium transport
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1830 ROSEINA2194_02048 Trk potassium uptake system protein TrkH Trk potassium uptake system protein TrkH Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Osmotic stress Hyperosmotic potassium uptake
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1830 ROSEINA2194_02048 Trk potassium uptake system protein TrkH Trk potassium uptake system protein TrkH Membrane Transport Membrane Transport Cation transporters Trk and Ktr potassium uptake systems
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1831 ROSEINA2194_02049 Trk potassium uptake system protein TrkA Trk potassium uptake system protein TrkA Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Osmotic stress Hyperosmotic potassium uptake
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1831 ROSEINA2194_02049 Trk potassium uptake system protein TrkA Trk potassium uptake system protein TrkA Membrane Transport Membrane Transport Cation transporters Trk and Ktr potassium uptake systems
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1832 ROSEINA2194_02050 SSU ribosomal protein S10p (S20e) SSU ribosomal protein S10p (S20e) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in protein synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1832 ROSEINA2194_02050 SSU ribosomal protein S10p (S20e) SSU ribosomal protein S10p (S20e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1833 ROSEINA2194_02051 LSU ribosomal protein L3p (L3e) LSU ribosomal protein L3p (L3e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1833 ROSEINA2194_02051 LSU ribosomal protein L3p (L3e) LSU ribosomal protein L3p (L3e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1834 ROSEINA2194_02052 LSU ribosomal protein L4p (L1e) LSU ribosomal protein L4p (L1e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1834 ROSEINA2194_02052 LSU ribosomal protein L4p (L1e) LSU ribosomal protein L4p (L1e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1835 ROSEINA2194_02053 LSU ribosomal protein L23p (L23Ae) LSU ribosomal protein L23p (L23Ae) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1835 ROSEINA2194_02053 LSU ribosomal protein L23p (L23Ae) LSU ribosomal protein L23p (L23Ae) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1836 ROSEINA2194_02054 LSU ribosomal protein L2p (L8e) LSU ribosomal protein L2p (L8e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1836 ROSEINA2194_02054 LSU ribosomal protein L2p (L8e) LSU ribosomal protein L2p (L8e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1837 ROSEINA2194_02055 SSU ribosomal protein S19p (S15e) SSU ribosomal protein S19p (S15e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1838 ROSEINA2194_02056 LSU ribosomal protein L22p (L17e) LSU ribosomal protein L22p (L17e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1838 ROSEINA2194_02056 LSU ribosomal protein L22p (L17e) LSU ribosomal protein L22p (L17e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1839 ROSEINA2194_02057 SSU ribosomal protein S3p (S3e) SSU ribosomal protein S3p (S3e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1840 ROSEINA2194_02058 LSU ribosomal protein L16p (L10e) LSU ribosomal protein L16p (L10e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1840 ROSEINA2194_02058 LSU ribosomal protein L16p (L10e) LSU ribosomal protein L16p (L10e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1841 ROSEINA2194_02059 LSU ribosomal protein L29p (L35e) LSU ribosomal protein L29p (L35e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1841 ROSEINA2194_02059 LSU ribosomal protein L29p (L35e) LSU ribosomal protein L29p (L35e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1842 ROSEINA2194_02060 SSU ribosomal protein S17p (S11e) SSU ribosomal protein S17p (S11e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1843 ROSEINA2194_02061 LSU ribosomal protein L14p (L23e) LSU ribosomal protein L14p (L23e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1843 ROSEINA2194_02061 LSU ribosomal protein L14p (L23e) LSU ribosomal protein L14p (L23e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1844 ROSEINA2194_02062 LSU ribosomal protein L24p (L26e) LSU ribosomal protein L24p (L26e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1844 ROSEINA2194_02062 LSU ribosomal protein L24p (L26e) LSU ribosomal protein L24p (L26e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1845 ROSEINA2194_02063 LSU ribosomal protein L5p (L11e) LSU ribosomal protein L5p (L11e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1845 ROSEINA2194_02063 LSU ribosomal protein L5p (L11e) LSU ribosomal protein L5p (L11e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1846 SSU ribosomal protein S14p (S29e) @ SSU ribosomal protein S14p (S29e), zinc-dependent SSU ribosomal protein S14p (S29e), zinc-dependent Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, zinc requirement
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1846 SSU ribosomal protein S14p (S29e) @ SSU ribosomal protein S14p (S29e), zinc-dependent SSU ribosomal protein S14p (S29e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, zinc requirement
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1847 ROSEINA2194_02064 SSU ribosomal protein S8p (S15Ae) SSU ribosomal protein S8p (S15Ae) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1848 ROSEINA2194_02065 LSU ribosomal protein L6p (L9e) LSU ribosomal protein L6p (L9e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1848 ROSEINA2194_02065 LSU ribosomal protein L6p (L9e) LSU ribosomal protein L6p (L9e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1849 ROSEINA2194_02066 LSU ribosomal protein L18p (L5e) LSU ribosomal protein L18p (L5e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1849 ROSEINA2194_02066 LSU ribosomal protein L18p (L5e) LSU ribosomal protein L18p (L5e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1850 ROSEINA2194_02067 SSU ribosomal protein S5p (S2e) SSU ribosomal protein S5p (S2e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1851 ROSEINA2194_02068 LSU ribosomal protein L30p (L7e) LSU ribosomal protein L30p (L7e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1852 ROSEINA2194_02069 LSU ribosomal protein L15p (L27Ae) LSU ribosomal protein L15p (L27Ae) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1852 ROSEINA2194_02069 LSU ribosomal protein L15p (L27Ae) LSU ribosomal protein L15p (L27Ae) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1855 ROSEINA2194_02072 Methionine aminopeptidase (EC 3.4.11.18) Methionine aminopeptidase (EC 3.4.11.18) Protein Processing Protein Synthesis Translation Translation termination factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1857 ROSEINA2194_02074 Translation initiation factor 1 Translation initiation factor 1 Cellular Processes Cell Cycle, Cell Division and Death Bacterial cell division related cluster 2
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1857 ROSEINA2194_02074 Translation initiation factor 1 Translation initiation factor 1 Protein Processing Protein Synthesis Translation Translation initiation factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1858 ROSEINA2194_02075 LSU ribosomal protein L36p @ LSU ribosomal protein L36p, zinc-dependent LSU ribosomal protein L36p, zinc-dependent Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, zinc requirement
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1858 ROSEINA2194_02075 LSU ribosomal protein L36p @ LSU ribosomal protein L36p, zinc-dependent LSU ribosomal protein L36p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, zinc requirement
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1858 ROSEINA2194_02075 LSU ribosomal protein L36p @ LSU ribosomal protein L36p, zinc-dependent LSU ribosomal protein L36p Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1860 ROSEINA2194_02077 SSU ribosomal protein S13p (S18e) SSU ribosomal protein S13p (S18e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1861 ROSEINA2194_02078 SSU ribosomal protein S11p (S14e) SSU ribosomal protein S11p (S14e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1863 ROSEINA2194_02080 DNA-directed RNA polymerase alpha subunit (EC 2.7.7.6) DNA-directed RNA polymerase alpha subunit (EC 2.7.7.6) RNA Processing RNA Processing Transcription RNA polymerase, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1864 ROSEINA2194_02081 LSU ribosomal protein L17p LSU ribosomal protein L17p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1864 ROSEINA2194_02081 LSU ribosomal protein L17p LSU ribosomal protein L17p Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1872 ROSEINA2194_02089 Phosphate regulon transcriptional regulatory protein PhoB (SphR) Phosphate regulon transcriptional regulatory protein PhoB (SphR) Metabolism Phosphate Metabolism High affinity phosphate transporter and control of PHO regulon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1883 ROSEINA2194_02100 Recombination inhibitory protein MutS2 Recombination inhibitory protein MutS2 DNA Processing DNA Processing DNA repair DNA repair, bacterial MutHLS system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1884 ROSEINA2194_02101 Recombination inhibitory protein MutS2 Recombination inhibitory protein MutS2 DNA Processing DNA Processing DNA repair DNA repair, bacterial MutHLS system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1910 ROSEINA2194_02129 Methionine aminopeptidase (EC 3.4.11.18) Methionine aminopeptidase (EC 3.4.11.18) Protein Processing Protein Synthesis Translation Translation termination factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1912 ROSEINA2194_02131 Transamidase GatB domain protein Transamidase GatB domain protein Cellular Processes Cell Cycle, Cell Division and Death Macromolecular synthesis operon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1920 ROSEINA2194_02140 Acyl-CoA:1-acyl-sn-glycerol-3-phosphate acyltransferase (EC 2.3.1.51) Acyl-CoA:1-acyl-sn-glycerol-3-phosphate acyltransferase (EC 2.3.1.51) Cellular Processes Cell Cycle, Cell Division and Death FtsEX cell-division-associated signaling system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1921 ROSEINA2194_02141 UDP-N-acetylmuramoyl-tripeptide--D-alanyl-D-alanine ligase (EC 6.3.2.10) UDP-N-acetylmuramoyl-tripeptide--D-alanyl-D-alanine ligase (EC 6.3.2.10) Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1922 ROSEINA2194_02142 D-alanine--D-alanine ligase (EC 6.3.2.4) D-alanine--D-alanine ligase (EC 6.3.2.4) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in cell wall biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1924 ROSEINA2194_02144 Ribosome hibernation promoting factor Hpf Ribosome hibernation promoting factor Hpf Protein Processing Protein Synthesis Ribosome biogenesis Ribosome activity modulation
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1927 ROSEINA2194_02147 Pyruvate formate-lyase activating enzyme (EC 1.97.1.4) Pyruvate formate-lyase activating enzyme (EC 1.97.1.4) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate formate-lyase cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1928 ROSEINA2194_02148 Pyruvate formate-lyase (EC 2.3.1.54) Pyruvate formate-lyase (EC 2.3.1.54) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate formate-lyase cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1940 ROSEINA2194_02163 6-phosphofructokinase (EC 2.7.1.11) 6-phosphofructokinase (EC 2.7.1.11) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1945 ROSEINA2194_02168 Guanosine-3',5'-bis(diphosphate) 3'-pyrophosphohydrolase (EC 3.1.7.2) / GTP pyrophosphokinase (EC 2.7.6.5), (p)ppGpp synthetase II GTP pyrophosphokinase (EC 2.7.6.5), (p)ppGpp synthetase II Regulation And Cell Signaling Regulation and Cell signaling Stringent Response, (p)ppGpp metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1945 ROSEINA2194_02168 Guanosine-3',5'-bis(diphosphate) 3'-pyrophosphohydrolase (EC 3.1.7.2) / GTP pyrophosphokinase (EC 2.7.6.5), (p)ppGpp synthetase II Guanosine-3',5'-bis(diphosphate) 3'-pyrophosphohydrolase (EC 3.1.7.2) Regulation And Cell Signaling Regulation and Cell signaling Stringent Response, (p)ppGpp metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1947 ROSEINA2194_02170 Hypothetical radical SAM family enzyme, NOT coproporphyrinogen III oxidase, oxygen-independent Hypothetical radical SAM family enzyme, NOT coproporphyrinogen III oxidase, oxygen-independent Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1956 ROSEINA2194_02180 Histidyl-tRNA synthetase (EC 6.1.1.21) Histidyl-tRNA synthetase (EC 6.1.1.21) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, His
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1957 ROSEINA2194_02181 Histidyl-tRNA synthetase (EC 6.1.1.21) Histidyl-tRNA synthetase (EC 6.1.1.21) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, His
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1958 ROSEINA2194_02182 Aspartyl-tRNA synthetase (EC 6.1.1.12) @ Aspartyl-tRNA(Asn) synthetase (EC 6.1.1.23) Aspartyl-tRNA synthetase (EC 6.1.1.12) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asn
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1958 ROSEINA2194_02182 Aspartyl-tRNA synthetase (EC 6.1.1.12) @ Aspartyl-tRNA(Asn) synthetase (EC 6.1.1.23) Aspartyl-tRNA synthetase (EC 6.1.1.12) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asp
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1958 ROSEINA2194_02182 Aspartyl-tRNA synthetase (EC 6.1.1.12) @ Aspartyl-tRNA(Asn) synthetase (EC 6.1.1.23) Aspartyl-tRNA(Asn) synthetase (EC 6.1.1.23) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asn
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1958 ROSEINA2194_02182 Aspartyl-tRNA synthetase (EC 6.1.1.12) @ Aspartyl-tRNA(Asn) synthetase (EC 6.1.1.23) Aspartyl-tRNA(Asn) synthetase (EC 6.1.1.23) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asp
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1959 ROSEINA2194_02183 1,4-alpha-glucan (glycogen) branching enzyme, GH-13-type (EC 2.4.1.18) 1,4-alpha-glucan (glycogen) branching enzyme, GH-13-type (EC 2.4.1.18) Metabolism Carbohydrates Polysaccharides Glycogen metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1962 ROSEINA2194_02186 Aconitase family protein YbhJ Aconitase family protein YbhJ Energy Energy and Precursor Metabolites Generation Central Metabolism Anaerobic module of TCA
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1966 ROSEINA2194_02190 Methionyl-tRNA synthetase (EC 6.1.1.10) Methionyl-tRNA synthetase (EC 6.1.1.10) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Met
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1973 ROSEINA2194_02196 alpha-galactosidase (EC 3.2.1.22) alpha-galactosidase (EC 3.2.1.22) Metabolism Carbohydrates Di- and oligosaccharides Galactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1984 ROSEINA2194_02208 ATP synthase epsilon chain (EC 3.6.3.14) ATP synthase epsilon chain (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1985 ROSEINA2194_02209 ATP synthase beta chain (EC 3.6.3.14) ATP synthase beta chain (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1986 ROSEINA2194_02210 ATP synthase gamma chain (EC 3.6.3.14) ATP synthase gamma chain (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1987 ROSEINA2194_02211 ATP synthase alpha chain (EC 3.6.3.14) ATP synthase alpha chain (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1988 ROSEINA2194_02212 ATP synthase delta chain (EC 3.6.3.14) ATP synthase delta chain (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1989 ROSEINA2194_02213 ATP synthase F0 sector subunit b (EC 3.6.3.14) ATP synthase F0 sector subunit b (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1990 ROSEINA2194_02214 ATP synthase F0 sector subunit c (EC 3.6.3.14) ATP synthase F0 sector subunit c (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1991 ROSEINA2194_02215 ATP synthase F0 sector subunit a (EC 3.6.3.14) ATP synthase F0 sector subunit a (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.1996 ROSEINA2194_02223 Isopentenyl-diphosphate Delta-isomerase (EC 5.3.3.2) Isopentenyl-diphosphate Delta-isomerase (EC 5.3.3.2) Metabolism Fatty Acids, Lipids, and Isoprenoids Isoprenoids Isoprenoid Biosynthesis: Interconversions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2001 ROSEINA2194_02229 Mg/Co/Ni transporter MgtE, CBS domain-containing Mg/Co/Ni transporter MgtE, CBS domain-containing Membrane Transport Membrane Transport Cation transporters Magnesium transport
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2008 ROSEINA2194_02236 Tyrosyl-tRNA synthetase (EC 6.1.1.1) Tyrosyl-tRNA synthetase (EC 6.1.1.1) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Tyr
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2016 ROSEINA2194_02244 Glycogen phosphorylase (EC 2.4.1.1) Glycogen phosphorylase (EC 2.4.1.1) Metabolism Carbohydrates Polysaccharides Glycogen metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2019 ROSEINA2194_02246 Ribosome LSU-associated GTP-binding protein HflX Ribosome LSU-associated GTP-binding protein HflX Stress Response, Defense, Virulence Stress Response, Defense and Virulence Hfl operon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2019 ROSEINA2194_02246 Ribosome LSU-associated GTP-binding protein HflX Ribosome LSU-associated GTP-binding protein HflX Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2020 ROSEINA2194_02247 Dihydroorotase (EC 3.5.2.3) Dihydroorotase (EC 3.5.2.3) Metabolism Nucleosides and Nucleotides Pyrimidines De Novo Pyrimidine Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2021 ROSEINA2194_02248 Dihydroorotate dehydrogenase (NAD(+)), electron transfer subunit (EC 1.3.1.14) Dihydroorotate dehydrogenase (NAD(+)), electron transfer subunit (EC 1.3.1.14) Metabolism Nucleosides and Nucleotides Pyrimidines De Novo Pyrimidine Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2023 ROSEINA2194_02250 Orotate phosphoribosyltransferase (EC 2.4.2.10) Orotate phosphoribosyltransferase (EC 2.4.2.10) Metabolism Nucleosides and Nucleotides Pyrimidines De Novo Pyrimidine Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2027 ROSEINA2194_02254 N5-carboxyaminoimidazole ribonucleotide mutase (EC 5.4.99.18) N5-carboxyaminoimidazole ribonucleotide mutase (EC 5.4.99.18) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2027 ROSEINA2194_02254 N5-carboxyaminoimidazole ribonucleotide mutase (EC 5.4.99.18) N5-carboxyaminoimidazole ribonucleotide mutase (EC 5.4.99.18) Metabolism Nucleosides and Nucleotides Purines Purine nucleotide synthesis regulator
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2028 ROSEINA2194_02256 Phosphoribosylformylglycinamidine cyclo-ligase (EC 6.3.3.1) Phosphoribosylformylglycinamidine cyclo-ligase (EC 6.3.3.1) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2028 ROSEINA2194_02256 Phosphoribosylformylglycinamidine cyclo-ligase (EC 6.3.3.1) Phosphoribosylformylglycinamidine cyclo-ligase (EC 6.3.3.1) Metabolism Nucleosides and Nucleotides Purines Purine nucleotide synthesis regulator
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2029 ROSEINA2194_02257 Phosphoribosylglycinamide formyltransferase (EC 2.1.2.2) Phosphoribosylglycinamide formyltransferase (EC 2.1.2.2) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2030 ROSEINA2194_02258 Phosphoribosylamine--glycine ligase (EC 6.3.4.13) Phosphoribosylamine--glycine ligase (EC 6.3.4.13) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2041 ROSEINA2194_02268 5'-methylthioadenosine nucleosidase (EC 3.2.2.16) @ S-adenosylhomocysteine nucleosidase (EC 3.2.2.9) 5'-methylthioadenosine nucleosidase (EC 3.2.2.16) Metabolism Nucleosides and Nucleotides Adenosyl nucleosidases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2041 ROSEINA2194_02268 5'-methylthioadenosine nucleosidase (EC 3.2.2.16) @ S-adenosylhomocysteine nucleosidase (EC 3.2.2.9) 5'-methylthioadenosine nucleosidase (EC 3.2.2.16) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Polyamine Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2041 ROSEINA2194_02268 5'-methylthioadenosine nucleosidase (EC 3.2.2.16) @ S-adenosylhomocysteine nucleosidase (EC 3.2.2.9) S-adenosylhomocysteine nucleosidase (EC 3.2.2.9) Metabolism Nucleosides and Nucleotides Adenosyl nucleosidases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2041 ROSEINA2194_02268 5'-methylthioadenosine nucleosidase (EC 3.2.2.16) @ S-adenosylhomocysteine nucleosidase (EC 3.2.2.9) S-adenosylhomocysteine nucleosidase (EC 3.2.2.9) Metabolism Carbohydrates C-1 compound metabolism S-Adenosyl-L-homocysteine recycling
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2044 ROSEINA2194_02271 Isoleucyl-tRNA synthetase (EC 6.1.1.5) Isoleucyl-tRNA synthetase (EC 6.1.1.5) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in protein synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2044 ROSEINA2194_02271 Isoleucyl-tRNA synthetase (EC 6.1.1.5) Isoleucyl-tRNA synthetase (EC 6.1.1.5) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Ile
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2045 ROSEINA2194_02272 Glycogen phosphorylase (EC 2.4.1.1) Glycogen phosphorylase (EC 2.4.1.1) Metabolism Carbohydrates Polysaccharides Glycogen metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2060 ROSEINA2194_02287 Type II/IV secretion system ATP hydrolase TadA/VirB11/CpaF, TadA subfamily Type II/IV secretion system ATP hydrolase TadA/VirB11/CpaF, TadA subfamily Membrane Transport Membrane Transport Protein secretion system, Type II Widespread colonization island
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2082 ROSEINA2194_02310 Galactokinase (EC 2.7.1.6) Galactokinase (EC 2.7.1.6) Metabolism Carbohydrates Di- and oligosaccharides Galactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2083 ROSEINA2194_02311 Galactose-1-phosphate uridylyltransferase (EC 2.7.7.10) Galactose-1-phosphate uridylyltransferase (EC 2.7.7.10) Metabolism Carbohydrates Di- and oligosaccharides Galactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2084 ROSEINA2194_02312 Biosynthetic Aromatic amino acid aminotransferase alpha (EC 2.6.1.57) @ Aspartate aminotransferase (EC 2.6.1.1) Biosynthetic Aromatic amino acid aminotransferase alpha (EC 2.6.1.57) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Phenylalanine and Tyrosine synthesis 1
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2085 ROSEINA2194_02313 Histidinol-phosphate aminotransferase (EC 2.6.1.9) Histidinol-phosphate aminotransferase (EC 2.6.1.9) Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2088 ROSEINA2194_02317 ATP-dependent DNA helicase UvrD/PcrA (EC 3.6.4.12) ATP-dependent DNA helicase UvrD/PcrA (EC 3.6.4.12) DNA Processing DNA Processing DNA repair DNA repair, bacterial UvrD and related helicases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2103 ROSEINA2194_02331 DNA-binding protein SpoVG DNA-binding protein SpoVG Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation-associated proteins with broader functions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2108 ROSEINA2194_02337 2,3-bisphosphoglycerate-independent phosphoglycerate mutase (EC 5.4.2.12) 2,3-bisphosphoglycerate-independent phosphoglycerate mutase (EC 5.4.2.12) Energy Energy and Precursor Metabolites Generation Central Metabolism Entner-Doudoroff Pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2108 ROSEINA2194_02337 2,3-bisphosphoglycerate-independent phosphoglycerate mutase (EC 5.4.2.12) 2,3-bisphosphoglycerate-independent phosphoglycerate mutase (EC 5.4.2.12) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2110 ROSEINA2194_02339 Triosephosphate isomerase (EC 5.3.1.1) Triosephosphate isomerase (EC 5.3.1.1) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2111 ROSEINA2194_02340 Phosphoglycerate kinase (EC 2.7.2.3) Phosphoglycerate kinase (EC 2.7.2.3) Energy Energy and Precursor Metabolites Generation Central Metabolism Entner-Doudoroff Pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2111 ROSEINA2194_02340 Phosphoglycerate kinase (EC 2.7.2.3) Phosphoglycerate kinase (EC 2.7.2.3) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2112 ROSEINA2194_02341 NAD-dependent glyceraldehyde-3-phosphate dehydrogenase (EC 1.2.1.12) NAD-dependent glyceraldehyde-3-phosphate dehydrogenase (EC 1.2.1.12) Energy Energy and Precursor Metabolites Generation Central Metabolism Entner-Doudoroff Pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2112 ROSEINA2194_02341 NAD-dependent glyceraldehyde-3-phosphate dehydrogenase (EC 1.2.1.12) NAD-dependent glyceraldehyde-3-phosphate dehydrogenase (EC 1.2.1.12) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2112 ROSEINA2194_02341 NAD-dependent glyceraldehyde-3-phosphate dehydrogenase (EC 1.2.1.12) NAD-dependent glyceraldehyde-3-phosphate dehydrogenase (EC 1.2.1.12) Metabolism Cofactors, Vitamins, Prosthetic Groups Pyridoxine Pyridoxin (Vitamin B6) Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2113 ROSEINA2194_02342 Histidinol-phosphatase (EC 3.1.3.15) Histidinol-phosphatase (EC 3.1.3.15) Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2130 ROSEINA2194_02364 DinG family ATP-dependent helicase YoaA DinG family ATP-dependent helicase YoaA DNA Processing DNA Processing DNA repair DNA repair, bacterial DinG and relatives
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2164 ROSEINA2194_02415 tRNA pseudouridine(38-40) synthase (EC 5.4.99.12) tRNA pseudouridine(38-40) synthase (EC 5.4.99.12) RNA Processing RNA Processing RNA processing and modification RNA pseudouridine synthases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2166 ROSEINA2194_02417 LSU ribosomal protein L13p (L13Ae) LSU ribosomal protein L13p (L13Ae) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2166 ROSEINA2194_02417 LSU ribosomal protein L13p (L13Ae) LSU ribosomal protein L13p (L13Ae) Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2167 ROSEINA2194_02418 SSU ribosomal protein S9p (S16e) SSU ribosomal protein S9p (S16e) Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2168 ROSEINA2194_02419 Chromosome (plasmid) partitioning protein ParA Chromosome (plasmid) partitioning protein ParA Clustering-based subsystems Cell Division Cell division related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2169 ROSEINA2194_02421 Chromosome (plasmid) partitioning protein ParB Chromosome (plasmid) partitioning protein ParB Clustering-based subsystems Cell Division Cell division related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2185 ROSEINA2194_02436 DNA topoisomerase III (EC 5.99.1.2) DNA topoisomerase III (EC 5.99.1.2) DNA Processing DNA Processing DNA uptake, competence DNA processing cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2200 ROSEINA2194_02448 Lead, cadmium, zinc and mercury transporting ATPase (EC 3.6.3.3) (EC 3.6.3.5); Copper-translocating P-type ATPase (EC 3.6.3.4) Copper-translocating P-type ATPase (EC 3.6.3.4) Membrane Transport Membrane Transport Cation transporters Copper Transport System
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2208 ROSEINA2194_02456 Stage V sporulation protein AC (SpoVAC) Stage V sporulation protein AC (SpoVAC) Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation proteins SpoVA cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2212 ROSEINA2194_02459 Stage V sporulation protein AB (SpoVAB) Stage V sporulation protein AB (SpoVAB) Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation proteins SpoVA cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2213 ROSEINA2194_02460 Stage V sporulation protein AA (SpoVAA) Stage V sporulation protein AA (SpoVAA) Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation proteins SpoVA cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2221 ROSEINA2194_02468 Transcriptional repressor for NAD biosynthesis in gram-positives Transcriptional repressor for NAD biosynthesis in gram-positives Metabolism Cofactors, Vitamins, Prosthetic Groups NAD and NADP NAD and NADP cofactor biosynthesis global
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2224 ROSEINA2194_02471 6-phosphofructokinase (EC 2.7.1.11) 6-phosphofructokinase (EC 2.7.1.11) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2226 ROSEINA2194_02473 Tryptophanyl-tRNA synthetase (EC 6.1.1.2) Tryptophanyl-tRNA synthetase (EC 6.1.1.2) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Trp
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2228 ROSEINA2194_02475 ClpB protein Chaperone protein ClpB (ATP-dependent unfoldase) Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Protein chaperones
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2231 ROSEINA2194_02478 RNA polymerase sporulation specific sigma factor SigF RNA polymerase sporulation specific sigma factor SigF Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation proteins SpoVA cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2232 ROSEINA2194_02479 Anti-sigma F factor (EC 2.7.11.1) Anti-sigma F factor (EC 2.7.11.1) Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation proteins SpoVA cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2233 ROSEINA2194_02480 Anti-sigma F factor antagonist Anti-sigma F factor antagonist Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation proteins SpoVA cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2237 ROSEINA2194_02485 Valyl-tRNA synthetase (EC 6.1.1.9) Valyl-tRNA synthetase (EC 6.1.1.9) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Val
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2253 ROSEINA2194_02502 Cell envelope-associated transcriptional attenuator LytR-CpsA-Psr, subfamily F2 Cell envelope-associated transcriptional attenuator LytR-CpsA-Psr, subfamily F2 Regulation And Cell Signaling Regulation and Cell signaling Cell envelope-associated LytR-CpsA-Psr transcriptional attenuators
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2261 ROSEINA2194_02510 Phosphonopyruvate decarboxylase (EC 4.1.1.82) Phosphonopyruvate decarboxylase (EC 4.1.1.82) Metabolism Phosphate Metabolism Phosphonate and phosphinate Phosphoenolpyruvate phosphomutase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2262 ROSEINA2194_02511 Cytidylyltransferase domain / Phosphoenolpyruvate phosphomutase (EC 5.4.2.9) Phosphoenolpyruvate phosphomutase (EC 5.4.2.9) Metabolism Phosphate Metabolism Phosphonate and phosphinate Phosphoenolpyruvate phosphomutase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2263 ROSEINA2194_02512 2-aminoethylphosphonate:pyruvate aminotransferase (EC 2.6.1.37) 2-aminoethylphosphonate:pyruvate aminotransferase (EC 2.6.1.37) Metabolism Phosphate Metabolism Phosphonate and phosphinate Phosphoenolpyruvate phosphomutase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2297 ROSEINA2194_02550 UDP-glucose 4-epimerase (EC 5.1.3.2) UDP-glucose 4-epimerase (EC 5.1.3.2) Metabolism Carbohydrates Di- and oligosaccharides Galactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2304 ROSEINA2194_02557 Glucose-1-phosphate cytidylyltransferase (EC 2.7.7.33) Glucose-1-phosphate cytidylyltransferase (EC 2.7.7.33) Cell Envelope Cell Envelope, Capsule and Slime layer Capsule and Slime layer dTDP-rhamnose synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2348 ROSEINA2194_02601 dTDP-4-dehydrorhamnose 3,5-epimerase (EC 5.1.3.13) dTDP-4-dehydrorhamnose 3,5-epimerase (EC 5.1.3.13) Cell Envelope Cell Envelope, Capsule and Slime layer Capsule and Slime layer dTDP-rhamnose synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2349 ROSEINA2194_02602 Glucose-1-phosphate thymidylyltransferase (EC 2.7.7.24) Glucose-1-phosphate thymidylyltransferase (EC 2.7.7.24) Cell Envelope Cell Envelope, Capsule and Slime layer Capsule and Slime layer dTDP-rhamnose synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2350 ROSEINA2194_02603 dTDP-glucose 4,6-dehydratase (EC 4.2.1.46) dTDP-glucose 4,6-dehydratase (EC 4.2.1.46) Cell Envelope Cell Envelope, Capsule and Slime layer Capsule and Slime layer dTDP-rhamnose synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2351 ROSEINA2194_02604 dTDP-4-dehydrorhamnose reductase (EC 1.1.1.133) dTDP-4-dehydrorhamnose reductase (EC 1.1.1.133) Cell Envelope Cell Envelope, Capsule and Slime layer Capsule and Slime layer dTDP-rhamnose synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2357 ROSEINA2194_02610 Phosphotransferase system, phosphocarrier protein HPr Phosphotransferase system, phosphocarrier protein HPr Regulation And Cell Signaling Regulation and Cell signaling HPr catabolite repression system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2358 ROSEINA2194_02611 Phosphoglucosamine mutase (EC 5.4.2.10) Phosphoglucosamine mutase (EC 5.4.2.10) Cellular Processes Cell Cycle, Cell Division and Death Bacterial checkpoint-control-related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2360 ROSEINA2194_02613 Diadenylate cyclase spyDAC; Bacterial checkpoint controller DisA with nucleotide-binding domain Bacterial checkpoint controller DisA with nucleotide-binding domain Cellular Processes Cell Cycle, Cell Division and Death Bacterial checkpoint-control-related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2360 ROSEINA2194_02613 Diadenylate cyclase spyDAC; Bacterial checkpoint controller DisA with nucleotide-binding domain Diadenylate cyclase spyDAC Cellular Processes Cell Cycle, Cell Division and Death Bacterial checkpoint-control-related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2361 ROSEINA2194_02614 Diadenylate cyclase spyDAC; Bacterial checkpoint controller DisA with nucleotide-binding domain Bacterial checkpoint controller DisA with nucleotide-binding domain Cellular Processes Cell Cycle, Cell Division and Death Bacterial checkpoint-control-related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2361 ROSEINA2194_02614 Diadenylate cyclase spyDAC; Bacterial checkpoint controller DisA with nucleotide-binding domain Diadenylate cyclase spyDAC Cellular Processes Cell Cycle, Cell Division and Death Bacterial checkpoint-control-related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2372 ROSEINA2194_02625 Ribonucleotide reductase of class III (anaerobic), large subunit (EC 1.17.4.2) Ribonucleotide reductase of class III (anaerobic), large subunit (EC 1.17.4.2) Metabolism Nucleosides and Nucleotides Ribonucleotide reduction
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2373 ROSEINA2194_02626 Ribonucleotide reductase of class III (anaerobic), activating protein (EC 1.97.1.4) Ribonucleotide reductase of class III (anaerobic), activating protein (EC 1.97.1.4) Metabolism Nucleosides and Nucleotides Ribonucleotide reduction
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2387 ROSEINA2194_02644 Diaminopimelate decarboxylase (EC 4.1.1.20) Diaminopimelate decarboxylase (EC 4.1.1.20) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine "Diaminopimelate Synthesis "
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2387 ROSEINA2194_02644 Diaminopimelate decarboxylase (EC 4.1.1.20) Diaminopimelate decarboxylase (EC 4.1.1.20) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Lysine DAP biosynthetic pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2431 ROSEINA2194_02694 Glucose-6-phosphate isomerase (EC 5.3.1.9) Glucose-6-phosphate isomerase (EC 5.3.1.9) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2432 ROSEINA2194_02695 Pyrophosphate-dependent fructose 6-phosphate-1-kinase (EC 2.7.1.90) Pyrophosphate-dependent fructose 6-phosphate-1-kinase (EC 2.7.1.90) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2433 ROSEINA2194_02696 Fructose-bisphosphate aldolase class II (EC 4.1.2.13) Fructose-bisphosphate aldolase class II (EC 4.1.2.13) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2434 ROSEINA2194_02697 Triosephosphate isomerase (EC 5.3.1.1) Triosephosphate isomerase (EC 5.3.1.1) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2441 ROSEINA2194_02704 Hemerythrin domain protein Hemerythrin domain protein Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response Repair of Iron Centers
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2448 ROSEINA2194_02712 N-acetylglucosamine-6-phosphate deacetylase (EC 3.5.1.25) N-acetylglucosamine-6-phosphate deacetylase (EC 3.5.1.25) Metabolism Carbohydrates "Amino sugars and nucleotide sugars " N-acetylneuraminate utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2449 ROSEINA2194_02713 Glucosamine-6-phosphate deaminase (EC 3.5.99.6) Glucosamine-6-phosphate deaminase (EC 3.5.99.6) Metabolism Carbohydrates "Amino sugars and nucleotide sugars " N-acetylneuraminate utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2454 ROSEINA2194_02718 Aspartate-semialdehyde dehydrogenase (EC 1.2.1.11) Aspartate-semialdehyde dehydrogenase (EC 1.2.1.11) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine "Diaminopimelate Synthesis "
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2454 ROSEINA2194_02718 Aspartate-semialdehyde dehydrogenase (EC 1.2.1.11) Aspartate-semialdehyde dehydrogenase (EC 1.2.1.11) Metabolism Amino Acids and Derivatives Glutamine, glutamate, aspartate, asparagine; ammonia assimilation Aspartate to Homoserine module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2454 ROSEINA2194_02718 Aspartate-semialdehyde dehydrogenase (EC 1.2.1.11) Aspartate-semialdehyde dehydrogenase (EC 1.2.1.11) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Aspartate to Threonine Module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2454 ROSEINA2194_02718 Aspartate-semialdehyde dehydrogenase (EC 1.2.1.11) Aspartate-semialdehyde dehydrogenase (EC 1.2.1.11) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Lysine DAP biosynthetic pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2454 ROSEINA2194_02718 Aspartate-semialdehyde dehydrogenase (EC 1.2.1.11) Aspartate-semialdehyde dehydrogenase (EC 1.2.1.11) Clustering-based subsystems Lysine Biosynthesis Peptidase clustering with DAP
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2455 ROSEINA2194_02719 Argininosuccinate lyase (EC 4.3.2.1) Argininosuccinate lyase (EC 4.3.2.1) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Arginine biosynthesis via N-acetyl-L-citrulline
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2455 ROSEINA2194_02719 Argininosuccinate lyase (EC 4.3.2.1) Argininosuccinate lyase (EC 4.3.2.1) Metabolism Amino Acids and Derivatives Proline and 4-hydroxyproline Proline biosynthesis (for review)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2456 ROSEINA2194_02720 Protein of unknown function DUF208 Epoxyqueuosine reductase (EC 1.17.99.6) QueH RNA Processing RNA Processing RNA processing and modification Queuosine and archaeosine
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2462 ROSEINA2194_02729 Spermidine/putrescine import ABC transporter ATP-binding protein PotA (TC 3.A.1.11.1) Spermidine/putrescine import ABC transporter ATP-binding protein PotA (TC 3.A.1.11.1) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Polyamine Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2464 ROSEINA2194_02731 Spermidine/putrescine import ABC transporter permease protein PotC (TC 3.A.1.11.1) Spermidine/putrescine import ABC transporter permease protein PotC (TC 3.A.1.11.1) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Polyamine Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2465 ROSEINA2194_02732 Spermidine/putrescine import ABC transporter substrate-binding protein PotD (TC 3.A.1.11.1) Spermidine/putrescine import ABC transporter substrate-binding protein PotD (TC 3.A.1.11.1) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Polyamine Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2467 ROSEINA2194_02735 Glycogen synthase, ADP-glucose transglucosylase (EC 2.4.1.21) Glycogen synthase, ADP-glucose transglucosylase (EC 2.4.1.21) Metabolism Carbohydrates Polysaccharides Glycogen metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2470 ROSEINA2194_02739 DNA repair protein RecN DNA repair protein RecN DNA Processing DNA Processing DNA repair DNA repair, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2471 ROSEINA2194_02740 DNA repair protein RecN DNA repair protein RecN DNA Processing DNA Processing DNA repair DNA repair, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2473 ROSEINA2194_02742 NAD kinase (EC 2.7.1.23) NAD kinase (EC 2.7.1.23) Metabolism Cofactors, Vitamins, Prosthetic Groups NAD and NADP NAD and NADP cofactor biosynthesis global
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2475 ROSEINA2194_02744 1-deoxy-D-xylulose 5-phosphate synthase (EC 2.2.1.7) 1-deoxy-D-xylulose 5-phosphate synthase (EC 2.2.1.7) Metabolism Fatty Acids, Lipids, and Isoprenoids Isoprenoids Nonmevalonate Branch of Isoprenoid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2475 ROSEINA2194_02744 1-deoxy-D-xylulose 5-phosphate synthase (EC 2.2.1.7) 1-deoxy-D-xylulose 5-phosphate synthase (EC 2.2.1.7) Metabolism Cofactors, Vitamins, Prosthetic Groups Pyridoxine Pyridoxin (Vitamin B6) Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2476 ROSEINA2194_02745 (2E,6E)-farnesyl diphosphate synthase (EC 2.5.1.10) (2E,6E)-farnesyl diphosphate synthase (EC 2.5.1.10) Metabolism Fatty Acids, Lipids, and Isoprenoids Isoprenoids Isoprenoid Biosynthesis: Interconversions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2486 ROSEINA2194_02755 Nicotinamide-nucleotide amidase (EC 3.5.1.42) Nicotinamide-nucleotide amidase (EC 3.5.1.42) DNA Processing DNA Processing DNA repair DNA repair system including RecA, MutS and a hypothetical protein
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2496 ROSEINA2194_02767 DNA ligase (NAD(+)) (EC 6.5.1.2) DNA ligase (NAD(+)) (EC 6.5.1.2) DNA Processing DNA Processing DNA repair DNA Repair Base Excision
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2497 ROSEINA2194_02768 Ribosomal large subunit pseudouridine synthase F (EC 5.4.99.21) Ribosomal large subunit pseudouridine synthase F (EC 5.4.99.21) RNA Processing RNA Processing RNA processing and modification RNA pseudouridine synthases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2500 ROSEINA2194_02772 L-lactate dehydrogenase (EC 1.1.1.27) L-lactate dehydrogenase (EC 1.1.1.27) Energy Energy and Precursor Metabolites Generation Fermentation Fermentations: Lactate
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2505 ROSEINA2194_02777 3-dehydroquinate dehydratase I (EC 4.2.1.10) 3-dehydroquinate dehydratase I (EC 4.2.1.10) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2507 ROSEINA2194_02779 2-keto-3-deoxy-D-arabino-heptulosonate-7-phosphate synthase I alpha (EC 2.5.1.54) 2-keto-3-deoxy-D-arabino-heptulosonate-7-phosphate synthase I alpha (EC 2.5.1.54) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2520 ROSEINA2194_02793 5,10-methylenetetrahydrofolate reductase (EC 1.5.1.20) 5,10-methylenetetrahydrofolate reductase (EC 1.5.1.20) Metabolism Carbohydrates CO2 fixation Methylenetetrahydrofolate reductase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2520 ROSEINA2194_02793 5,10-methylenetetrahydrofolate reductase (EC 1.5.1.20) 5,10-methylenetetrahydrofolate reductase (EC 1.5.1.20) Metabolism Carbohydrates C-1 compound metabolism One-carbon metabolism by tetrahydropterines
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2522 ROSEINA2194_02795 4'-phosphopantetheinyl transferase (EC 2.7.8.-) 4'-phosphopantetheinyl transferase (EC 2.7.8.-) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Acyl carrier protein
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2522 ROSEINA2194_02795 4'-phosphopantetheinyl transferase (EC 2.7.8.-) 4'-phosphopantetheinyl transferase (EC 2.7.8.-) Metabolism Fatty Acids, Lipids, and Isoprenoids Fatty acids Fatty Acid Biosynthesis FASII
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2529 ROSEINA2194_02805 Pyruvate,phosphate dikinase (EC 2.7.9.1) Pyruvate,phosphate dikinase (EC 2.7.9.1) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2529 ROSEINA2194_02805 Pyruvate,phosphate dikinase (EC 2.7.9.1) Pyruvate,phosphate dikinase (EC 2.7.9.1) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate metabolism I: anaplerotic reactions, PEP
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2530 ROSEINA2194_02806 Glycyl-tRNA synthetase (EC 6.1.1.14) Glycyl-tRNA synthetase (EC 6.1.1.14) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Gly
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2532 ROSEINA2194_02808 DNA recombination and repair protein RecO DNA recombination and repair protein RecO DNA Processing DNA Processing DNA repair DNA repair, bacterial RecFOR pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2533 ROSEINA2194_02810 GTP-binding protein Era GTP-binding protein Era Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2535 Cold shock protein of CSP family Cold shock protein of CSP family Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Cold shock proteins of CSP family
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2537 ROSEINA2194_02813 D-3-phosphoglycerate dehydrogenase (EC 1.1.1.95) D-3-phosphoglycerate dehydrogenase (EC 1.1.1.95) Metabolism Amino Acids and Derivatives Alanine, serine, and glycine D-3-phosphoglycerate to phosphoserine module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2537 ROSEINA2194_02813 D-3-phosphoglycerate dehydrogenase (EC 1.1.1.95) D-3-phosphoglycerate dehydrogenase (EC 1.1.1.95) Metabolism Cofactors, Vitamins, Prosthetic Groups Pyridoxine Pyridoxin (Vitamin B6) Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2538 ROSEINA2194_02814 Phosphoserine aminotransferase (EC 2.6.1.52) Phosphoserine aminotransferase (EC 2.6.1.52) Metabolism Amino Acids and Derivatives Alanine, serine, and glycine D-3-phosphoglycerate to phosphoserine module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2538 ROSEINA2194_02814 Phosphoserine aminotransferase (EC 2.6.1.52) Phosphoserine aminotransferase (EC 2.6.1.52) Metabolism Cofactors, Vitamins, Prosthetic Groups Pyridoxine Pyridoxin (Vitamin B6) Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2539 ROSEINA2194_02815 Acetolactate synthase large subunit (EC 2.2.1.6) Acetolactate synthase large subunit (EC 2.2.1.6) Energy Energy and Precursor Metabolites Generation Fermentation Acetolactate synthase subunits
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2539 ROSEINA2194_02815 Acetolactate synthase large subunit (EC 2.2.1.6) Acetolactate synthase large subunit (EC 2.2.1.6) Metabolism Amino Acids and Derivatives Branched-chain amino acids Branched-Chain Amino Acid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2540 ROSEINA2194_02816 Dihydroxy-acid dehydratase (EC 4.2.1.9) Dihydroxy-acid dehydratase (EC 4.2.1.9) Metabolism Amino Acids and Derivatives Branched-chain amino acids Branched-Chain Amino Acid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2541 ROSEINA2194_02817 3-isopropylmalate dehydrogenase (EC 1.1.1.85) 3-isopropylmalate dehydrogenase (EC 1.1.1.85) Metabolism Amino Acids and Derivatives Branched-chain amino acids Branched-Chain Amino Acid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2544 ROSEINA2194_02821 Queuine tRNA-ribosyltransferase (EC 2.4.2.29) Queuine tRNA-ribosyltransferase (EC 2.4.2.29) RNA Processing RNA Processing RNA processing and modification Queuosine and archaeosine
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2545 ROSEINA2194_02822 3-phosphoshikimate 1-carboxyvinyltransferase (EC 2.5.1.19) 3-phosphoshikimate 1-carboxyvinyltransferase (EC 2.5.1.19) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2546 ROSEINA2194_02823 Chorismate synthase (EC 4.2.3.5) Chorismate synthase (EC 4.2.3.5) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2550 ROSEINA2194_02830 Endonuclease III (EC 4.2.99.18) Endonuclease III (EC 4.2.99.18) DNA Processing DNA Processing DNA repair DNA Repair Base Excision
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2556 ROSEINA2194_02837 NADPH-dependent butanol dehydrogenase NADPH-dependent butanol dehydrogenase Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate formate-lyase cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2561 ROSEINA2194_02843 Cell division protein FtsH Cell division-associated, ATP-dependent zinc metalloprotease FtsH Metabolism Cofactors, Vitamins, Prosthetic Groups Folate and pterines Folate biosynthesis cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2562 ROSEINA2194_02844 Choloylglycine hydrolase (EC 3.5.1.24) Choloylglycine hydrolase (EC 3.5.1.24) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Bile hydrolysis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2568 ROSEINA2194_02852 L-lactate dehydrogenase (EC 1.1.1.27) L-lactate dehydrogenase (EC 1.1.1.27) Energy Energy and Precursor Metabolites Generation Fermentation Fermentations: Lactate
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2586 ROSEINA2194_02871 Cold shock protein of CSP family Cold shock protein of CSP family Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Cold shock proteins of CSP family
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2591 ROSEINA2194_02876 Phosphoglucosamine mutase (EC 5.4.2.10) Phosphoglucosamine mutase (EC 5.4.2.10) Cellular Processes Cell Cycle, Cell Division and Death Bacterial checkpoint-control-related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2601 ROSEINA2194_02887 Acetolactate synthase small subunit (EC 2.2.1.6) Acetolactate synthase small subunit (EC 2.2.1.6) Energy Energy and Precursor Metabolites Generation Fermentation Acetolactate synthase subunits
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2601 ROSEINA2194_02887 Acetolactate synthase small subunit (EC 2.2.1.6) Acetolactate synthase small subunit (EC 2.2.1.6) Metabolism Amino Acids and Derivatives Branched-chain amino acids Branched-Chain Amino Acid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2602 ROSEINA2194_02888 Acetolactate synthase large subunit (EC 2.2.1.6) Acetolactate synthase large subunit (EC 2.2.1.6) Energy Energy and Precursor Metabolites Generation Fermentation Acetolactate synthase subunits
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2602 ROSEINA2194_02888 Acetolactate synthase large subunit (EC 2.2.1.6) Acetolactate synthase large subunit (EC 2.2.1.6) Metabolism Amino Acids and Derivatives Branched-chain amino acids Branched-Chain Amino Acid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2604 ROSEINA2194_02891 Dihydrofolate reductase (EC 1.5.1.3) Dihydrofolate reductase (EC 1.5.1.3) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in metabolic pathways
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2621 ROSEINA2194_02907 Alpha-glucosidase (EC 3.2.1.20) Alpha-glucosidase (EC 3.2.1.20) Metabolism Carbohydrates Monosaccharides D-Galacturonate and D-Glucuronate Utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2627 ROSEINA2194_02914 Phosphoenolpyruvate carboxykinase [ATP] (EC 4.1.1.49) Phosphoenolpyruvate carboxykinase [ATP] (EC 4.1.1.49) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate metabolism I: anaplerotic reactions, PEP
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2632 ROSEINA2194_02920 [NiFe] hydrogenase nickel incorporation-associated protein HypB [NiFe] hydrogenase nickel incorporation-associated protein HypB Energy Respiration Biogenesis of respiratory chain components NiFe hydrogenase maturation
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2658 ROSEINA2194_02953 DNA-binding protein SpoVG DNA-binding protein SpoVG Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation-associated proteins with broader functions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2680 ROSEINA2194_02976 Chromosome (plasmid) partitioning protein ParB Chromosome (plasmid) partitioning protein ParB Clustering-based subsystems Cell Division Cell division related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2684 ROSEINA2194_02982 D-mannonate oxidoreductase (EC 1.1.1.57) D-mannonate oxidoreductase (EC 1.1.1.57) Metabolism Carbohydrates Monosaccharides D-Galacturonate and D-Glucuronate Utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2685 ROSEINA2194_02983 Mannonate dehydratase (EC 4.2.1.8) Mannonate dehydratase (EC 4.2.1.8) Metabolism Carbohydrates Monosaccharides D-Galacturonate and D-Glucuronate Utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2687 ROSEINA2194_02986 2-C-methyl-D-erythritol 2,4-cyclodiphosphate synthase (EC 4.6.1.12) 2-C-methyl-D-erythritol 2,4-cyclodiphosphate synthase (EC 4.6.1.12) Metabolism Fatty Acids, Lipids, and Isoprenoids Isoprenoids Nonmevalonate Branch of Isoprenoid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2688 ROSEINA2194_02987 Serine acetyltransferase (EC 2.3.1.30) Serine acetyltransferase (EC 2.3.1.30) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Cysteine synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2689 ROSEINA2194_02988 Cysteinyl-tRNA synthetase (EC 6.1.1.16) Cysteinyl-tRNA synthetase (EC 6.1.1.16) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Cys
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2692 ROSEINA2194_02991 RNA polymerase sporulation specific sigma factor SigH RNA polymerase sporulation specific sigma factor SigH Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation-associated proteins with broader functions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2695 ROSEINA2194_02996 SSU ribosomal protein S1p SSU ribosomal protein S1p Stress Response, Defense, Virulence Stress Response, Defense and Virulence Hfl operon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2703 ROSEINA2194_03004 RecD-like DNA helicase YrrC RecD-like DNA helicase YrrC DNA Processing DNA Processing DNA repair DNA repair, bacterial RecBCD pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2708 ROSEINA2194_03011 Excinuclease ABC subunit A Excinuclease ABC subunit A DNA Processing DNA Processing DNA repair DNA repair, UvrABC system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2709 ROSEINA2194_03012 Excinuclease ABC subunit A Excinuclease ABC subunit A DNA Processing DNA Processing DNA repair DNA repair, UvrABC system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2710 ROSEINA2194_03013 Excinuclease ABC subunit B Excinuclease ABC subunit B DNA Processing DNA Processing DNA repair DNA repair, UvrABC system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2723 ROSEINA2194_03029 Dipicolinate synthase subunit A Dipicolinate synthase subunit A Cellular Processes Prokaryotic cell type differentiation Sporulation Dipicolinate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2723 ROSEINA2194_03029 Dipicolinate synthase subunit A Dipicolinate synthase subunit A Clustering-based subsystems Lysine Biosynthesis Peptidase clustering with DAP
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2725 ROSEINA2194_03033 Aspartokinase (EC 2.7.2.4) Aspartokinase (EC 2.7.2.4) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine "Diaminopimelate Synthesis "
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2725 ROSEINA2194_03033 Aspartokinase (EC 2.7.2.4) Aspartokinase (EC 2.7.2.4) Metabolism Amino Acids and Derivatives Glutamine, glutamate, aspartate, asparagine; ammonia assimilation Aspartate to Homoserine module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2725 ROSEINA2194_03033 Aspartokinase (EC 2.7.2.4) Aspartokinase (EC 2.7.2.4) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Aspartate to Threonine Module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2725 ROSEINA2194_03033 Aspartokinase (EC 2.7.2.4) Aspartokinase (EC 2.7.2.4) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Lysine DAP biosynthetic pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2725 ROSEINA2194_03033 Aspartokinase (EC 2.7.2.4) Aspartokinase (EC 2.7.2.4) Clustering-based subsystems Lysine Biosynthesis Peptidase clustering with DAP
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2730 ROSEINA2194_03039 LrgA-associated membrane protein LrgB LrgA-associated membrane protein LrgB Cellular Processes Cell Cycle, Cell Division and Death Programmed Cell Death and Toxin-antitoxin Systems Murein hydrolase regulation and cell death
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2731 ROSEINA2194_03040 Antiholin-like protein LrgA Antiholin-like protein LrgA Cellular Processes Cell Cycle, Cell Division and Death Programmed Cell Death and Toxin-antitoxin Systems Murein hydrolase regulation and cell death
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2759 ROSEINA2194_03073 Prolyl-tRNA synthetase (EC 6.1.1.15), bacterial type Prolyl-tRNA synthetase (EC 6.1.1.15), bacterial type Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Pro
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2760 ROSEINA2194_03074 Aldose 1-epimerase (EC 5.1.3.3) Aldose 1-epimerase (EC 5.1.3.3) Metabolism Carbohydrates Di- and oligosaccharides Galactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2767 ROSEINA2194_03089 Phosphoribosylaminoimidazole-succinocarboxamide synthase (EC 6.3.2.6) Phosphoribosylaminoimidazole-succinocarboxamide synthase (EC 6.3.2.6) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2768 ROSEINA2194_03090 Amidophosphoribosyltransferase (EC 2.4.2.14) Amidophosphoribosyltransferase (EC 2.4.2.14) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2769 ROSEINA2194_03091 Adenylosuccinate lyase (EC 4.3.2.2) @ SAICAR lyase (EC 4.3.2.2) Adenylosuccinate lyase (EC 4.3.2.2) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2769 ROSEINA2194_03091 Adenylosuccinate lyase (EC 4.3.2.2) @ SAICAR lyase (EC 4.3.2.2) SAICAR lyase (EC 4.3.2.2) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2783 ROSEINA2194_03108 Chaperone protein DnaJ Chaperone protein DnaJ Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Chaperones GroEL GroES and Thermosome
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2783 ROSEINA2194_03108 Chaperone protein DnaJ Chaperone protein DnaJ Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2783 ROSEINA2194_03108 Chaperone protein DnaJ Chaperone protein DnaJ Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Protein chaperones
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2791 ROSEINA2194_03116 FIG00645278: hypothetical protein Cardiolipin synthase (EC 2.7.8.-) phosphatidylethanolamine-utilizing, bacterial type ClsC Metabolism Fatty Acids, Lipids, and Isoprenoids Phospholipids Cardiolipin biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2794 ROSEINA2194_03120 L-serine dehydratase, alpha subunit (EC 4.3.1.17) L-serine dehydratase, alpha subunit (EC 4.3.1.17) Metabolism Amino Acids and Derivatives Alanine, serine, and glycine L-serine dehydratase subunits
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2794 ROSEINA2194_03120 L-serine dehydratase, alpha subunit (EC 4.3.1.17) L-serine dehydratase, alpha subunit (EC 4.3.1.17) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate Alanine Serine Interconversions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2795 ROSEINA2194_03121 L-serine dehydratase, beta subunit (EC 4.3.1.17) L-serine dehydratase, beta subunit (EC 4.3.1.17) Metabolism Amino Acids and Derivatives Alanine, serine, and glycine L-serine dehydratase subunits
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2795 ROSEINA2194_03121 L-serine dehydratase, beta subunit (EC 4.3.1.17) L-serine dehydratase, beta subunit (EC 4.3.1.17) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate Alanine Serine Interconversions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2802 ROSEINA2194_03129 Signal peptidase I (EC 3.4.21.89) Signal peptidase I (EC 3.4.21.89) Clustering-based subsystems Cell Division Cell division related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2802 ROSEINA2194_03129 Signal peptidase I (EC 3.4.21.89) Signal peptidase I (EC 3.4.21.89) Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein processing and modification Signal peptidase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2805 ROSEINA2194_03132 ATP-dependent DNA helicase UvrD/PcrA (EC 3.6.4.12) ATP-dependent DNA helicase UvrD/PcrA (EC 3.6.4.12) DNA Processing DNA Processing DNA repair DNA repair, bacterial UvrD and related helicases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2807 ROSEINA2194_03135 Methylated-DNA--protein-cysteine methyltransferase (EC 2.1.1.63) Methylated-DNA--protein-cysteine methyltransferase (EC 2.1.1.63) DNA Processing DNA Processing DNA repair DNA repair, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2817 ROSEINA2194_03155 2-C-methyl-D-erythritol 4-phosphate cytidylyltransferase (EC 2.7.7.60) 2-C-methyl-D-erythritol 4-phosphate cytidylyltransferase (EC 2.7.7.60) Metabolism Fatty Acids, Lipids, and Isoprenoids Isoprenoids Nonmevalonate Branch of Isoprenoid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2818 ROSEINA2194_03156 N(6)-L-threonylcarbamoyladenine synthase (EC 2.3.1.234) N(6)-L-threonylcarbamoyladenine synthase (EC 2.3.1.234) Cellular Processes Cell Cycle, Cell Division and Death Macromolecular synthesis operon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2818 ROSEINA2194_03156 N(6)-L-threonylcarbamoyladenine synthase (EC 2.3.1.234) N(6)-L-threonylcarbamoyladenine synthase (EC 2.3.1.234) RNA Processing RNA Processing RNA processing and modification YrdC-YciO-Sua5 and associated protein families
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2820 ROSEINA2194_03158 Ribonuclease Z (EC 3.1.26.11) Ribonuclease Z (EC 3.1.26.11) RNA Processing RNA Processing RNA processing and modification RNA processing and degradation, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2822 ROSEINA2194_03160 tRNA threonylcarbamoyladenosine biosynthesis protein TsaB tRNA threonylcarbamoyladenosine biosynthesis protein TsaB RNA Processing RNA Processing RNA processing and modification YrdC-YciO-Sua5 and associated protein families
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2823 ROSEINA2194_03161 tRNA threonylcarbamoyladenosine biosynthesis protein TsaE tRNA threonylcarbamoyladenosine biosynthesis protein TsaE RNA Processing RNA Processing RNA processing and modification YrdC-YciO-Sua5 and associated protein families
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2841 ROSEINA2194_03184 Phosphate regulon transcriptional regulatory protein PhoB (SphR) Phosphate regulon transcriptional regulatory protein PhoB (SphR) Metabolism Phosphate Metabolism High affinity phosphate transporter and control of PHO regulon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2847 ROSEINA2194_03192 Mutator MutT protein (7,8-dihydro-8-oxoguanine-triphosphatase) (EC 3.6.1.-) Mutator MutT protein (7,8-dihydro-8-oxoguanine-triphosphatase) (EC 3.6.1.-) Metabolism Metabolite damage and its repair or mitigation Nudix proteins (nucleoside triphosphate hydrolases)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2851 ROSEINA2194_03196 ATP-dependent DNA helicase RecQ ATP-dependent DNA helicase RecQ DNA Processing DNA Processing DNA repair DNA repair, bacterial RecFOR pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2865 ROSEINA2194_03214 Antitoxin HigA Antitoxin HigA Cellular Processes Cell Cycle, Cell Division and Death Programmed Cell Death and Toxin-antitoxin Systems Toxin-Antitoxin system HigAB
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2866 ROSEINA2194_03215 Deoxyuridine 5'-triphosphate nucleotidohydrolase (EC 3.6.1.23) Deoxyuridine 5'-triphosphate nucleotidohydrolase (EC 3.6.1.23) Metabolism Metabolite damage and its repair or mitigation Metabolite repair
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2866 ROSEINA2194_03215 Deoxyuridine 5'-triphosphate nucleotidohydrolase (EC 3.6.1.23) Deoxyuridine 5'-triphosphate nucleotidohydrolase (EC 3.6.1.23) Metabolism Metabolite damage and its repair or mitigation Nudix proteins (nucleoside triphosphate hydrolases)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2869 ROSEINA2194_03219 Chromosome (plasmid) partitioning protein ParB Chromosome (plasmid) partitioning protein ParB Clustering-based subsystems Cell Division Cell division related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2870 ROSEINA2194_03220 Chromosome (plasmid) partitioning protein ParA Chromosome (plasmid) partitioning protein ParA Clustering-based subsystems Cell Division Cell division related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2877 ROSEINA2194_03228 tRNA-5-carboxymethylaminomethyl-2-thiouridine(34) synthesis protein MnmG tRNA-5-carboxymethylaminomethyl-2-thiouridine(34) synthesis protein MnmG RNA Processing RNA Processing RNA processing and modification 5-methylaminomethyl-2-thiouridine
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2878 ROSEINA2194_03229 tRNA-5-carboxymethylaminomethyl-2-thiouridine(34) synthesis protein MnmE tRNA-5-carboxymethylaminomethyl-2-thiouridine(34) synthesis protein MnmE RNA Processing RNA Processing RNA processing and modification 5-methylaminomethyl-2-thiouridine
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2878 ROSEINA2194_03229 tRNA-5-carboxymethylaminomethyl-2-thiouridine(34) synthesis protein MnmE tRNA-5-carboxymethylaminomethyl-2-thiouridine(34) synthesis protein MnmE Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2883 ROSEINA2194_03234 LSU ribosomal protein L34p LSU ribosomal protein L34p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2883 ROSEINA2194_03234 LSU ribosomal protein L34p LSU ribosomal protein L34p Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2887 ROSEINA2194_03238 DNA recombination and repair protein RecF DNA recombination and repair protein RecF DNA Processing DNA Processing DNA repair DNA repair, bacterial RecFOR pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2888 ROSEINA2194_03239 DNA gyrase subunit B (EC 5.99.1.3) DNA gyrase subunit B (EC 5.99.1.3) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in DNA processing
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2888 ROSEINA2194_03239 DNA gyrase subunit B (EC 5.99.1.3) DNA gyrase subunit B (EC 5.99.1.3) DNA Processing DNA Processing DNA replication DNA topoisomerases, Type II, ATP-dependent
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2889 ROSEINA2194_03240 DNA gyrase subunit A (EC 5.99.1.3) DNA gyrase subunit A (EC 5.99.1.3) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in DNA processing
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2889 ROSEINA2194_03240 DNA gyrase subunit A (EC 5.99.1.3) DNA gyrase subunit A (EC 5.99.1.3) DNA Processing DNA Processing DNA replication DNA topoisomerases, Type II, ATP-dependent
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2899 ROSEINA2194_03250 Acylphosphate phosphohydrolase (EC 3.6.1.7), putative Acylphosphate phosphohydrolase (EC 3.6.1.7), putative Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate metabolism II: acetyl-CoA, acetogenesis from pyruvate
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2924 ROSEINA2194_03282 N-carbamoylputrescine amidase (EC 3.5.1.53) N-carbamoylputrescine amidase (EC 3.5.1.53) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Polyamine Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2925 ROSEINA2194_03283 Agmatine deiminase (EC 3.5.3.12) Agmatine deiminase (EC 3.5.3.12) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Polyamine Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2926 ROSEINA2194_03284 Carboxynorspermidine decarboxylase (EC 4.1.1.96) Carboxynorspermidine decarboxylase (EC 4.1.1.96) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines DAP (1,3-diaminopropane) production
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2926 ROSEINA2194_03284 Carboxynorspermidine decarboxylase (EC 4.1.1.96) Carboxynorspermidine decarboxylase (EC 4.1.1.96) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Polyamine Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2927 ROSEINA2194_03285 Carboxynorspermidine synthase (EC 1.5.1.43) Carboxynorspermidine synthase (EC 1.5.1.43) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines DAP (1,3-diaminopropane) production
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2928 ROSEINA2194_03286 Spermidine synthase (EC 2.5.1.16) Spermidine synthase (EC 2.5.1.16) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Polyamine Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2929 ROSEINA2194_03287 Arginine decarboxylase (EC 4.1.1.19) Arginine decarboxylase (EC 4.1.1.19) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Polyamine Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2931 ROSEINA2194_03290 SSU ribosomal protein S21p SSU ribosomal protein S21p Cellular Processes Cell Cycle, Cell Division and Death Macromolecular synthesis operon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2932 ROSEINA2194_03291 Alanyl-tRNA synthetase (EC 6.1.1.7) Alanyl-tRNA synthetase (EC 6.1.1.7) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Ala
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2947 ROSEINA2194_03307 Aminoglycoside 6-nucleotidyltransferase (EC 2.7.7.-) => ANT(6)-I Aminoglycoside 6-nucleotidyltransferase (EC 2.7.7.-) => ANT(6)-I Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Aminoglycoside modifying enzymes: O-nucleotidyltransferases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2948 ROSEINA2194_03309 Aminoglycoside 3'-phosphotransferase (EC 2.7.1.95) => APH(3')-III/APH(3')-IV/APH(3')-VI/APH(3')-VII Aminoglycoside 3'-phosphotransferase (EC 2.7.1.95) => APH(3')-III/APH(3')-IV/APH(3')-VI/APH(3')-VII Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Aminoglycoside modifying enzymes: O-phosphotransferases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2968 ROSEINA2194_03328 NAD synthetase (EC 6.3.1.5) / Glutamine amidotransferase chain of NAD synthetase NAD synthetase (EC 6.3.1.5) Metabolism Cofactors, Vitamins, Prosthetic Groups NAD and NADP NAD and NADP cofactor biosynthesis global
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.2974 ROSEINA2194_03335 beta-galactosidase (EC 3.2.1.23) beta-galactosidase (EC 3.2.1.23) Metabolism Carbohydrates Di- and oligosaccharides Lactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3006 ROSEINA2194_03374 Single-stranded-DNA-specific exonuclease RecJ Single-stranded-DNA-specific exonuclease RecJ DNA Processing DNA Processing DNA repair DNA Repair Base Excision
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3006 ROSEINA2194_03374 Single-stranded-DNA-specific exonuclease RecJ Single-stranded-DNA-specific exonuclease RecJ DNA Processing DNA Processing DNA repair DNA repair, bacterial RecFOR pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3007 ROSEINA2194_03375 tRNA pseudouridine(38-40) synthase (EC 5.4.99.12) tRNA pseudouridine(38-40) synthase (EC 5.4.99.12) RNA Processing RNA Processing RNA processing and modification RNA pseudouridine synthases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3010 ROSEINA2194_03379 Branched-chain amino acid aminotransferase (EC 2.6.1.42) Branched-chain amino acid aminotransferase (EC 2.6.1.42) Metabolism Amino Acids and Derivatives Branched-chain amino acids Branched-Chain Amino Acid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3010 ROSEINA2194_03379 Branched-chain amino acid aminotransferase (EC 2.6.1.42) Branched-chain amino acid aminotransferase (EC 2.6.1.42) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate Alanine Serine Interconversions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3019 ROSEINA2194_03389 Asparaginyl-tRNA synthetase (EC 6.1.1.22) Asparaginyl-tRNA synthetase (EC 6.1.1.22) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asn
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3032 ROSEINA2194_03404 4-diphosphocytidyl-2-C-methyl-D-erythritol kinase (EC 2.7.1.148) 4-diphosphocytidyl-2-C-methyl-D-erythritol kinase (EC 2.7.1.148) Metabolism Fatty Acids, Lipids, and Isoprenoids Isoprenoids Nonmevalonate Branch of Isoprenoid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3035 ROSEINA2194_03407 Replication-associated recombination protein RarA Replication-associated recombination protein RarA DNA Processing DNA Processing DNA recombination Replication-associated recombination protein RarA
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3048 ROSEINA2194_03425 Aldehyde dehydrogenase (EC 1.2.1.3) Aldehyde dehydrogenase (EC 1.2.1.3) Metabolism Fatty Acids, Lipids, and Isoprenoids Phospholipids Glycerolipid and Glycerophospholipid Metabolism in Bacteria
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3048 ROSEINA2194_03425 Aldehyde dehydrogenase (EC 1.2.1.3) Aldehyde dehydrogenase (EC 1.2.1.3) Energy Energy and Precursor Metabolites Generation Central Metabolism Methylglyoxal Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3048 ROSEINA2194_03425 Aldehyde dehydrogenase (EC 1.2.1.3) Aldehyde dehydrogenase (EC 1.2.1.3) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate metabolism II: acetyl-CoA, acetogenesis from pyruvate
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3052 ROSEINA2194_03430 RNA polymerase sigma factor RpoD RNA polymerase sigma factor RpoD Cellular Processes Cell Cycle, Cell Division and Death Macromolecular synthesis operon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3053 ROSEINA2194_03431 DNA primase (EC 2.7.7.-) DNA primase DnaG Cellular Processes Cell Cycle, Cell Division and Death Macromolecular synthesis operon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3055 ROSEINA2194_03433 DNA repair protein RadA DNA repair protein RadA DNA Processing DNA Processing DNA repair DNA repair, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3057 ROSEINA2194_03436 ATP-dependent Clp protease, ATP-binding subunit ClpC ATP-dependent Clp protease, ATP-binding subunit ClpC Energy Respiration Biogenesis of respiratory chain components Biogenesis of c-type cytochromes
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3082 ROSEINA2194_03465 Cell division protein FtsH Cell division-associated, ATP-dependent zinc metalloprotease FtsH Metabolism Cofactors, Vitamins, Prosthetic Groups Folate and pterines Folate biosynthesis cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3083 ROSEINA2194_03466 Cell division protein FtsH Cell division-associated, ATP-dependent zinc metalloprotease FtsH Metabolism Cofactors, Vitamins, Prosthetic Groups Folate and pterines Folate biosynthesis cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3084 ROSEINA2194_03467 Excinuclease ABC subunit C Excinuclease ABC subunit C DNA Processing DNA Processing DNA repair DNA repair, UvrABC system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3085 ROSEINA2194_03468 HPr kinase/phosphorylase HPr kinase/phosphorylase Regulation And Cell Signaling Regulation and Cell signaling HPr catabolite repression system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3090 ROSEINA2194_03473 Phosphotransferase system, phosphocarrier protein HPr Phosphotransferase system, phosphocarrier protein HPr Regulation And Cell Signaling Regulation and Cell signaling HPr catabolite repression system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3093 ROSEINA2194_03476 Fructose-bisphosphate aldolase class II (EC 4.1.2.13) Fructose-bisphosphate aldolase class II (EC 4.1.2.13) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3094 ROSEINA2194_03477 Glutamine synthetase type III, GlnN (EC 6.3.1.2) Glutamine synthetase type III, GlnN (EC 6.3.1.2) Metabolism Amino Acids and Derivatives Glutamine, glutamate, aspartate, asparagine; ammonia assimilation Glutamine synthetases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3095 ROSEINA2194_03478 Glutamine synthetase type III, GlnN (EC 6.3.1.2) Glutamine synthetase type III, GlnN (EC 6.3.1.2) Metabolism Amino Acids and Derivatives Glutamine, glutamate, aspartate, asparagine; ammonia assimilation Glutamine synthetases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3112 ROSEINA2194_03508 Glutaminyl-tRNA synthetase (EC 6.1.1.18) Glutaminyl-tRNA synthetase (EC 6.1.1.18) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asn
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3112 ROSEINA2194_03508 Glutaminyl-tRNA synthetase (EC 6.1.1.18) Glutaminyl-tRNA synthetase (EC 6.1.1.18) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Gln
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3122 ROSEINA2194_03519 GTP-binding and nucleic acid-binding protein YchF GTP-binding and nucleic acid-binding protein YchF Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3123 ROSEINA2194_03520 Thiamin pyrophosphokinase (EC 2.7.6.2) Thiamin pyrophosphokinase (EC 2.7.6.2) Metabolism Cofactors, Vitamins, Prosthetic Groups Thiamin Thiamin, thiazole, hydroxymethylpyrimidine salvage and uptake
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3124 ROSEINA2194_03521 Ribulose-phosphate 3-epimerase (EC 5.1.3.1) Ribulose-phosphate 3-epimerase (EC 5.1.3.1) Energy Energy and Precursor Metabolites Generation Central Metabolism Pentose phosphate pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3125 ROSEINA2194_03522 Ribosome small subunit biogenesis RbfA-release protein RsgA Ribosome small subunit biogenesis RbfA-release protein RsgA Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3126 ROSEINA2194_03523 Ribosome small subunit biogenesis RbfA-release protein RsgA Ribosome small subunit biogenesis RbfA-release protein RsgA Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3132 ROSEINA2194_03529 Methionyl-tRNA formyltransferase (EC 2.1.2.9) Methionyl-tRNA formyltransferase (EC 2.1.2.9) Protein Processing Protein Synthesis Translation Translation initiation factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3133 ROSEINA2194_03530 Peptide deformylase (EC 3.5.1.88) Peptide deformylase (EC 3.5.1.88) Protein Processing Protein Synthesis Translation Translation termination factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3135 ROSEINA2194_03532 UDP-N-acetylmuramoylalanyl-D-glutamate--2,6-diaminopimelate ligase (EC 6.3.2.13) UDP-N-acetylmuramoyl-L-alanyl-D-glutamate--2,6-diaminopimelate ligase (EC 6.3.2.13) Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3136 ROSEINA2194_03533 UDP-N-acetylmuramoylalanyl-D-glutamate--2,6-diaminopimelate ligase (EC 6.3.2.13) UDP-N-acetylmuramoyl-L-alanyl-D-glutamate--2,6-diaminopimelate ligase (EC 6.3.2.13) Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3140 ROSEINA2194_03536 Aspartate carbamoyltransferase (EC 2.1.3.2) Aspartate carbamoyltransferase (EC 2.1.3.2) Metabolism Nucleosides and Nucleotides Pyrimidines De Novo Pyrimidine Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3141 ROSEINA2194_03537 Aspartate carbamoyltransferase regulatory chain (PyrI) Aspartate carbamoyltransferase regulatory chain (PyrI) Metabolism Nucleosides and Nucleotides Pyrimidines De Novo Pyrimidine Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3142 ROSEINA2194_03538 Chaperone protein DnaJ Chaperone protein DnaJ Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Chaperones GroEL GroES and Thermosome
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3142 ROSEINA2194_03538 Chaperone protein DnaJ Chaperone protein DnaJ Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3142 ROSEINA2194_03538 Chaperone protein DnaJ Chaperone protein DnaJ Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein folding Protein chaperones
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3176 ROSEINA2194_03579 KtrAB potassium uptake system, integral membrane component KtrB KtrAB potassium uptake system, integral membrane component KtrB Membrane Transport Membrane Transport Cation transporters Trk and Ktr potassium uptake systems
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3177 ROSEINA2194_03580 KtrAB potassium uptake system, peripheral membrane component KtrA KtrAB potassium uptake system, peripheral membrane component KtrA Membrane Transport Membrane Transport Cation transporters Trk and Ktr potassium uptake systems
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3182 ROSEINA2194_03586 Pyrimidine 5'-nucleotidase YjjG (EC 3.1.3.5) Pyrimidine 5'-nucleotidase YjjG (EC 3.1.3.5) Metabolism Metabolite damage and its repair or mitigation Metabolite repair
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3209 ROSEINA2194_03614 Nicotinate phosphoribosyltransferase (EC 6.3.4.21) Nicotinate phosphoribosyltransferase (EC 6.3.4.21) Metabolism Cofactors, Vitamins, Prosthetic Groups NAD and NADP NAD and NADP cofactor biosynthesis global
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3213 ROSEINA2194_03619 beta-galactosidase small subunit (EC 3.2.1.23) beta-galactosidase small subunit (EC 3.2.1.23) Metabolism Carbohydrates Di- and oligosaccharides Lactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3214 ROSEINA2194_03620 beta-galactosidase large subunit (EC 3.2.1.23) beta-galactosidase large subunit (EC 3.2.1.23) Metabolism Carbohydrates Di- and oligosaccharides Lactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3252 ROSEINA2194_03664 Exopolysaccharide biosynthesis transcriptional activator EpsA Exopolysaccharide biosynthesis transcriptional activator EpsA Regulation And Cell Signaling Regulation and Cell signaling Cell envelope-associated LytR-CpsA-Psr transcriptional attenuators
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3262 LSU ribosomal protein L28p @ LSU ribosomal protein L28p, zinc-dependent LSU ribosomal protein L28p, zinc-dependent Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, zinc requirement
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3262 LSU ribosomal protein L28p @ LSU ribosomal protein L28p, zinc-dependent LSU ribosomal protein L28p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, zinc requirement
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3262 LSU ribosomal protein L28p @ LSU ribosomal protein L28p, zinc-dependent LSU ribosomal protein L28p Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3268 ROSEINA2194_03681 UDP-glucose 4-epimerase (EC 5.1.3.2) UDP-glucose 4-epimerase (EC 5.1.3.2) Metabolism Carbohydrates Di- and oligosaccharides Galactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3276 ROSEINA2194_03689 DNA-directed RNA polymerase omega subunit (EC 2.7.7.6) DNA-directed RNA polymerase omega subunit (EC 2.7.7.6) RNA Processing RNA Processing Transcription RNA polymerase, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3277 ROSEINA2194_03690 Ribosomal protein S12p Asp88 (E. coli) methylthiotransferase (EC 2.8.4.4) Ribosomal protein S12p Asp88 (E. coli) methylthiotransferase (EC 2.8.4.4) RNA Processing RNA Processing RNA processing and modification Methylthiotransferases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3277 ROSEINA2194_03690 Ribosomal protein S12p Asp88 (E. coli) methylthiotransferase (EC 2.8.4.4) Ribosomal protein S12p Asp88 (E. coli) methylthiotransferase (EC 2.8.4.4) Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein processing and modification Ribosomal protein S12p Asp methylthiotransferase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3278 ROSEINA2194_03691 CDP-diacylglycerol--glycerol-3-phosphate 3-phosphatidyltransferase (EC 2.7.8.5) CDP-diacylglycerol--glycerol-3-phosphate 3-phosphatidyltransferase (EC 2.7.8.5) Metabolism Fatty Acids, Lipids, and Isoprenoids Phospholipids Cardiolipin biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3278 ROSEINA2194_03691 CDP-diacylglycerol--glycerol-3-phosphate 3-phosphatidyltransferase (EC 2.7.8.5) CDP-diacylglycerol--glycerol-3-phosphate 3-phosphatidyltransferase (EC 2.7.8.5) Metabolism Fatty Acids, Lipids, and Isoprenoids Phospholipids Glycerolipid and Glycerophospholipid Metabolism in Bacteria
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3278 ROSEINA2194_03691 CDP-diacylglycerol--glycerol-3-phosphate 3-phosphatidyltransferase (EC 2.7.8.5) CDP-diacylglycerol--glycerol-3-phosphate 3-phosphatidyltransferase (EC 2.7.8.5) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Resistance to Daptomycin
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3279 ROSEINA2194_03692 16S rRNA (guanine(966)-N(2))-methyltransferase (EC 2.1.1.171) 16S rRNA (guanine(966)-N(2))-methyltransferase (EC 2.1.1.171) Clustering-based subsystems Cell Division Cell division related cluster including coaD
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3280 ROSEINA2194_03693 Phosphopantetheine adenylyltransferase (EC 2.7.7.3) Phosphopantetheine adenylyltransferase (EC 2.7.7.3) Clustering-based subsystems Cell Division Cell division related cluster including coaD
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3284 ROSEINA2194_03697 Ribosomal small subunit pseudouridine synthase A (EC 5.4.99.19) Ribosomal small subunit pseudouridine synthase A (EC 5.4.99.19) RNA Processing RNA Processing RNA processing and modification RNA pseudouridine synthases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3286 ROSEINA2194_03699 Ribosomal large subunit pseudouridine synthase C (EC 5.4.99.24) Ribosomal large subunit pseudouridine synthase C (EC 5.4.99.24) RNA Processing RNA Processing RNA processing and modification RNA pseudouridine synthases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3290 ROSEINA2194_03704 ATP phosphoribosyltransferase regulatory subunit (EC 2.4.2.17) ATP phosphoribosyltransferase regulatory subunit (EC 2.4.2.17) Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3291 ROSEINA2194_03705 ATP phosphoribosyltransferase (EC 2.4.2.17) => HisGs ATP phosphoribosyltransferase (EC 2.4.2.17) => HisGs Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3292 ROSEINA2194_03706 ATP phosphoribosyltransferase (EC 2.4.2.17) => HisGs ATP phosphoribosyltransferase (EC 2.4.2.17) => HisGs Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3293 ROSEINA2194_03707 ATP phosphoribosyltransferase (EC 2.4.2.17) => HisGs ATP phosphoribosyltransferase (EC 2.4.2.17) => HisGs Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3294 ROSEINA2194_03708 Histidinol dehydrogenase (EC 1.1.1.23) Histidinol dehydrogenase (EC 1.1.1.23) Cellular Processes Cell Cycle, Cell Division and Death Bacterial cell division related cluster 2
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3294 ROSEINA2194_03708 Histidinol dehydrogenase (EC 1.1.1.23) Histidinol dehydrogenase (EC 1.1.1.23) Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3295 ROSEINA2194_03709 Imidazoleglycerol-phosphate dehydratase (EC 4.2.1.19) Imidazoleglycerol-phosphate dehydratase (EC 4.2.1.19) Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3296 ROSEINA2194_03710 Phosphoribosyl-AMP cyclohydrolase (EC 3.5.4.19) / Phosphoribosyl-ATP pyrophosphatase (EC 3.6.1.31) Phosphoribosyl-AMP cyclohydrolase (EC 3.5.4.19) Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3296 ROSEINA2194_03710 Phosphoribosyl-AMP cyclohydrolase (EC 3.5.4.19) / Phosphoribosyl-ATP pyrophosphatase (EC 3.6.1.31) Phosphoribosyl-ATP pyrophosphatase (EC 3.6.1.31) Metabolism Amino Acids and Derivatives Histidine Metabolism Histidine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3302 Ribonuclease G Ribonuclease G RNA Processing RNA Processing RNA processing and modification RNA processing and degradation, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3303 ROSEINA2194_03715 Ribonuclease G Ribonuclease G RNA Processing RNA Processing RNA processing and modification RNA processing and degradation, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3304 ROSEINA2194_03716 Biotin synthase (EC 2.8.1.6) Biotin synthase (EC 2.8.1.6) Metabolism Cofactors, Vitamins, Prosthetic Groups Biotin Biotin biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3304 ROSEINA2194_03716 Biotin synthase (EC 2.8.1.6) Biotin synthase (EC 2.8.1.6) Metabolism Cofactors, Vitamins, Prosthetic Groups Biotin Biotin synthesis & utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3305 ROSEINA2194_03717 Galactoside O-acetyltransferase (EC 2.3.1.18) Galactoside O-acetyltransferase (EC 2.3.1.18) Metabolism Carbohydrates Di- and oligosaccharides Lactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3308 ROSEINA2194_03720 LSU ribosomal protein L21p LSU ribosomal protein L21p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3308 ROSEINA2194_03720 LSU ribosomal protein L21p LSU ribosomal protein L21p Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3310 ROSEINA2194_03722 LSU ribosomal protein L27p LSU ribosomal protein L27p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3310 ROSEINA2194_03722 LSU ribosomal protein L27p LSU ribosomal protein L27p Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3311 ROSEINA2194_03723 GTP-binding protein Obg GTP-binding protein Obg Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3313 ROSEINA2194_03725 Nicotinate-nucleotide adenylyltransferase (EC 2.7.7.18) Nicotinate-nucleotide adenylyltransferase (EC 2.7.7.18) Metabolism Cofactors, Vitamins, Prosthetic Groups NAD and NADP NAD and NADP cofactor biosynthesis global
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3322 ROSEINA2194_03736 Acyl-CoA:1-acyl-sn-glycerol-3-phosphate acyltransferase (EC 2.3.1.51) Acyl-CoA:1-acyl-sn-glycerol-3-phosphate acyltransferase (EC 2.3.1.51) Cellular Processes Cell Cycle, Cell Division and Death FtsEX cell-division-associated signaling system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3323 ROSEINA2194_03737 Acyl-CoA:1-acyl-sn-glycerol-3-phosphate acyltransferase (EC 2.3.1.51) Acyl-CoA:1-acyl-sn-glycerol-3-phosphate acyltransferase (EC 2.3.1.51) Cellular Processes Cell Cycle, Cell Division and Death FtsEX cell-division-associated signaling system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3327 ROSEINA2194_03741 D-aminoacyl-tRNA deacylase (EC 3.1.1.96) D-aminoacyl-tRNA deacylase (EC 3.1.1.96) Metabolism Metabolite damage and its repair or mitigation D-tyrosyl-tRNA(Tyr) deacylase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3327 ROSEINA2194_03741 D-aminoacyl-tRNA deacylase (EC 3.1.1.96) D-aminoacyl-tRNA deacylase (EC 3.1.1.96) Regulation And Cell Signaling Regulation and Cell signaling Stringent Response, (p)ppGpp metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3327 ROSEINA2194_03741 D-aminoacyl-tRNA deacylase (EC 3.1.1.96) D-aminoacyl-tRNA deacylase (EC 3.1.1.96) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Tyr
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3332 ROSEINA2194_03746 Ribosomal large subunit pseudouridine synthase D (EC 5.4.99.23) Ribosomal large subunit pseudouridine synthase D (EC 5.4.99.23) RNA Processing RNA Processing RNA processing and modification RNA pseudouridine synthases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3333 ROSEINA2194_03747 Lipoprotein signal peptidase (EC 3.4.23.36) Lipoprotein signal peptidase (EC 3.4.23.36) Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein processing and modification Signal peptidase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3334 ROSEINA2194_03748 Lipoprotein signal peptidase (EC 3.4.23.36) Lipoprotein signal peptidase (EC 3.4.23.36) Protein Processing Protein Fate (folding, modification, targeting, degradation) Protein processing and modification Signal peptidase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3335 ROSEINA2194_03749 3-dehydroquinate synthase (EC 4.2.3.4) 3-dehydroquinate synthase (EC 4.2.3.4) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3337 ROSEINA2194_03751 SepF, FtsZ-interacting protein related to cell division SepF, FtsZ-interacting protein related to cell division Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3338 ROSEINA2194_03752 UPF0001 protein YggS Pyridoxal phosphate-containing protein YggS Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3343 ROSEINA2194_03757 Methylglyoxal synthase (EC 4.2.3.3) Methylglyoxal synthase (EC 4.2.3.3) Energy Energy and Precursor Metabolites Generation Central Metabolism Methylglyoxal Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3357 ROSEINA2194_03771 DNA mismatch repair protein MutL DNA mismatch repair protein MutL DNA Processing DNA Processing DNA repair DNA repair, bacterial MutHLS system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3358 ROSEINA2194_03772 DNA mismatch repair protein MutS DNA mismatch repair protein MutS DNA Processing DNA Processing DNA repair DNA repair system including RecA, MutS and a hypothetical protein
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3358 ROSEINA2194_03772 DNA mismatch repair protein MutS DNA mismatch repair protein MutS DNA Processing DNA Processing DNA repair DNA repair, bacterial MutHLS system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3359 ROSEINA2194_03773 DNA mismatch repair protein MutS DNA mismatch repair protein MutS DNA Processing DNA Processing DNA repair DNA repair system including RecA, MutS and a hypothetical protein
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3359 ROSEINA2194_03773 DNA mismatch repair protein MutS DNA mismatch repair protein MutS DNA Processing DNA Processing DNA repair DNA repair, bacterial MutHLS system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3366 ROSEINA2194_03780 Metal-dependent hydrolase YbeY, involved in rRNA and/or ribosome maturation and assembly Metal-dependent hydrolase YbeY, involved in rRNA and/or ribosome maturation and assembly Protein Processing Protein Synthesis Translation Translation elongation factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3378 ROSEINA2194_03792 Xanthine phosphoribosyltransferase (EC 2.4.2.22) Xanthine phosphoribosyltransferase (EC 2.4.2.22) Metabolism Nucleosides and Nucleotides Purines IMP and Xanthine conversion to XMP and GMP module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3379 ROSEINA2194_03795 UDP-N-acetylmuramate--L-alanine ligase (EC 6.3.2.8) UDP-N-acetylmuramate--L-alanine ligase (EC 6.3.2.8) Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3382 ROSEINA2194_03799 Ribose-phosphate pyrophosphokinase (EC 2.7.6.1) Ribose-phosphate pyrophosphokinase (EC 2.7.6.1) Metabolism Nucleosides and Nucleotides Purines DeNovo Purine Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3382 ROSEINA2194_03799 Ribose-phosphate pyrophosphokinase (EC 2.7.6.1) Ribose-phosphate pyrophosphokinase (EC 2.7.6.1) Energy Energy and Precursor Metabolites Generation Central Metabolism Pentose phosphate pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3385 ROSEINA2194_03802 Methenyltetrahydrofolate cyclohydrolase (EC 3.5.4.9) / Methylenetetrahydrofolate dehydrogenase (NADP+) (EC 1.5.1.5) Methenyltetrahydrofolate cyclohydrolase (EC 3.5.4.9) Metabolism Carbohydrates C-1 compound metabolism One-carbon metabolism by tetrahydropterines
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3385 ROSEINA2194_03802 Methenyltetrahydrofolate cyclohydrolase (EC 3.5.4.9) / Methylenetetrahydrofolate dehydrogenase (NADP+) (EC 1.5.1.5) Methylenetetrahydrofolate dehydrogenase (NADP+) (EC 1.5.1.5) Metabolism Carbohydrates C-1 compound metabolism One-carbon metabolism by tetrahydropterines
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3386 ROSEINA2194_03803 Formate--tetrahydrofolate ligase (EC 6.3.4.3) Formate--tetrahydrofolate ligase (EC 6.3.4.3) Metabolism Carbohydrates C-1 compound metabolism One-carbon metabolism by tetrahydropterines
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3387 ROSEINA2194_03804 DNA translocase FtsK DNA translocase FtsK DNA Processing DNA Processing DNA recombination Replication-associated recombination protein RarA
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3388 ROSEINA2194_03805 Undecaprenyl-diphosphatase (EC 3.6.1.27) Undecaprenyl-diphosphatase (EC 3.6.1.27) Cell Envelope Cell Envelope, Capsule and Slime layer Peptidoglycan (Bacteria) or other polymers (Archaea) Undecaprenyl-diphosphatases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3390 ROSEINA2194_03807 Glycogen synthase, ADP-glucose transglucosylase (EC 2.4.1.21) Glycogen synthase, ADP-glucose transglucosylase (EC 2.4.1.21) Metabolism Carbohydrates Polysaccharides Glycogen metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3391 ROSEINA2194_03808 Glycogen synthase, ADP-glucose transglucosylase (EC 2.4.1.21) Glycogen synthase, ADP-glucose transglucosylase (EC 2.4.1.21) Metabolism Carbohydrates Polysaccharides Glycogen metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3392 ROSEINA2194_03809 Probable transcriptional regulatory protein YebC Probable transcriptional regulatory protein YebC DNA Processing DNA Processing DNA recombination RuvABC plus a hypothetical
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3396 ROSEINA2194_03813 Alanine racemase (EC 5.1.1.1) Alanine racemase (EC 5.1.1.1) Metabolism Amino Acids and Derivatives Amino acid racemase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3396 ROSEINA2194_03813 Alanine racemase (EC 5.1.1.1) Alanine racemase (EC 5.1.1.1) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Antibiotic targets in cell wall biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3396 ROSEINA2194_03813 Alanine racemase (EC 5.1.1.1) Alanine racemase (EC 5.1.1.1) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate Alanine Serine Interconversions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3397 ROSEINA2194_03814 NAD(P)H-hydrate epimerase (EC 5.1.99.6) / ADP-dependent (S)-NAD(P)H-hydrate dehydratase (EC 4.2.1.136) ADP-dependent (S)-NAD(P)H-hydrate dehydratase (EC 4.2.1.136) Metabolism Metabolite damage and its repair or mitigation Damaged nicotinamide nucleotide NAD(P)HX repair
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3397 ROSEINA2194_03814 NAD(P)H-hydrate epimerase (EC 5.1.99.6) / ADP-dependent (S)-NAD(P)H-hydrate dehydratase (EC 4.2.1.136) NAD(P)H-hydrate epimerase (EC 5.1.99.6) Metabolism Metabolite damage and its repair or mitigation Damaged nicotinamide nucleotide NAD(P)HX repair
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3401 ROSEINA2194_03818 Isocitrate dehydrogenase [NADP] (EC 1.1.1.42) Isocitrate dehydrogenase [NADP] (EC 1.1.1.42) Energy Energy and Precursor Metabolites Generation Central Metabolism Anaerobic module of TCA
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3402 ROSEINA2194_03819 Isocitrate dehydrogenase [NADP] (EC 1.1.1.42) Isocitrate dehydrogenase [NADP] (EC 1.1.1.42) Energy Energy and Precursor Metabolites Generation Central Metabolism Anaerobic module of TCA
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3405 ROSEINA2194_03822 Re face-specific citrate synthase (EC 2.3.3.3) Re face-specific citrate synthase (EC 2.3.3.3) Energy Energy and Precursor Metabolites Generation Central Metabolism Anaerobic module of TCA
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3414 ROSEINA2194_03831 Elongation factor G-like protein TM_1651 Elongation factor G-like protein TM_1651 Protein Processing Protein Synthesis Translation Translation elongation factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3415 ROSEINA2194_03832 Prephenate dehydrogenase (EC 1.3.1.12) Prephenate dehydrogenase (EC 1.3.1.12) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3415 ROSEINA2194_03832 Prephenate dehydrogenase (EC 1.3.1.12) Prephenate dehydrogenase (EC 1.3.1.12) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Phenylalanine and Tyrosine synthesis 1
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3426 ROSEINA2194_03843 S-adenosylmethionine:tRNA ribosyltransferase-isomerase (EC 2.4.99.17) S-adenosylmethionine:tRNA ribosyltransferase-isomerase (EC 2.4.99.17) RNA Processing RNA Processing RNA processing and modification Queuosine and archaeosine
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3427 ROSEINA2194_03844 Phenylalanyl-tRNA synthetase beta chain (EC 6.1.1.20) Phenylalanyl-tRNA synthetase beta chain (EC 6.1.1.20) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Phe
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3428 ROSEINA2194_03845 Phenylalanyl-tRNA synthetase alpha chain (EC 6.1.1.20) Phenylalanyl-tRNA synthetase alpha chain (EC 6.1.1.20) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Phe
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3432 ROSEINA2194_03849 Cytidine deaminase (EC 3.5.4.5) Cytidine deaminase (EC 3.5.4.5) Cellular Processes Cell Cycle, Cell Division and Death Programmed Cell Death and Toxin-antitoxin Systems Murein hydrolase regulation and cell death
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3433 ROSEINA2194_03850 Citrate synthase (si) (EC 2.3.3.1) Citrate synthase (si) (EC 2.3.3.1) Energy Energy and Precursor Metabolites Generation Central Metabolism Anaerobic module of TCA
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3435 ROSEINA2194_03852 Chemotaxis regulator - transmits chemoreceptor signals to flagellar motor components CheY Chemotaxis regulator - transmits chemoreceptor signals to flagellar motor components CheY Cellular Processes Motility and Chemotaxis Chemotaxis in Escherichia coli and Bacillus subtilis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3437 ROSEINA2194_03854 Threonine synthase (EC 4.2.3.1) Threonine synthase (EC 4.2.3.1) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Aspartate to Threonine Module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3440 ROSEINA2194_03857 3-isopropylmalate dehydratase small subunit (EC 4.2.1.33) 3-isopropylmalate dehydratase small subunit (EC 4.2.1.33) Metabolism Amino Acids and Derivatives Branched-chain amino acids Branched-Chain Amino Acid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3441 ROSEINA2194_03858 3-isopropylmalate dehydratase large subunit (EC 4.2.1.33) 3-isopropylmalate dehydratase large subunit (EC 4.2.1.33) Metabolism Amino Acids and Derivatives Branched-chain amino acids Branched-Chain Amino Acid Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3444 ROSEINA2194_03861 Leucyl-tRNA synthetase (EC 6.1.1.4) Leucyl-tRNA synthetase (EC 6.1.1.4) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Leu
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3446 ROSEINA2194_03863 Exopolysaccharide biosynthesis transcriptional activator EpsA Exopolysaccharide biosynthesis transcriptional activator EpsA Regulation And Cell Signaling Regulation and Cell signaling Cell envelope-associated LytR-CpsA-Psr transcriptional attenuators
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3468 ROSEINA2194_03891 DNA-binding protein SpoVG DNA-binding protein SpoVG Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation-associated proteins with broader functions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3514 ROSEINA2194_03939 Glutamate N-acetyltransferase (EC 2.3.1.35) @ N-acetylglutamate synthase (EC 2.3.1.1) Glutamate N-acetyltransferase (EC 2.3.1.35) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Arginine biosynthesis via N-acetyl-L-citrulline
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3514 ROSEINA2194_03939 Glutamate N-acetyltransferase (EC 2.3.1.35) @ N-acetylglutamate synthase (EC 2.3.1.1) N-acetylglutamate synthase (EC 2.3.1.1) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Arginine biosynthesis via N-acetyl-L-citrulline
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3514 ROSEINA2194_03939 Glutamate N-acetyltransferase (EC 2.3.1.35) @ N-acetylglutamate synthase (EC 2.3.1.1) N-acetylglutamate synthase (EC 2.3.1.1) Metabolism Amino Acids and Derivatives Proline and 4-hydroxyproline Proline biosynthesis (for review)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3515 ROSEINA2194_03940 Acetylglutamate kinase (EC 2.7.2.8) Acetylglutamate kinase (EC 2.7.2.8) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Arginine biosynthesis via N-acetyl-L-citrulline
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3515 ROSEINA2194_03940 Acetylglutamate kinase (EC 2.7.2.8) Acetylglutamate kinase (EC 2.7.2.8) Metabolism Amino Acids and Derivatives Proline and 4-hydroxyproline Proline biosynthesis (for review)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3516 ROSEINA2194_03941 Acetylornithine aminotransferase (EC 2.6.1.11) Acetylornithine aminotransferase (EC 2.6.1.11) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Arginine biosynthesis via N-acetyl-L-citrulline
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3516 ROSEINA2194_03941 Acetylornithine aminotransferase (EC 2.6.1.11) Acetylornithine aminotransferase (EC 2.6.1.11) Metabolism Amino Acids and Derivatives Proline and 4-hydroxyproline Proline biosynthesis (for review)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3517 ROSEINA2194_03942 Acetylornithine aminotransferase (EC 2.6.1.11) Acetylornithine aminotransferase (EC 2.6.1.11) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Arginine biosynthesis via N-acetyl-L-citrulline
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3517 ROSEINA2194_03942 Acetylornithine aminotransferase (EC 2.6.1.11) Acetylornithine aminotransferase (EC 2.6.1.11) Metabolism Amino Acids and Derivatives Proline and 4-hydroxyproline Proline biosynthesis (for review)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3528 ROSEINA2194_03953 SSU ribosomal protein S20p SSU ribosomal protein S20p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3531 ROSEINA2194_03956 Stage II sporulation protein P Stage II sporulation protein P Cellular Processes Prokaryotic cell type differentiation Sporulation Sporulation proteins SigEG cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3532 ROSEINA2194_03960 Asparagine synthetase [glutamine-hydrolyzing] (EC 6.3.5.4) Asparagine synthetase [glutamine-hydrolyzing] (EC 6.3.5.4) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Asn
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3534 ROSEINA2194_03962 Chromosome (plasmid) partitioning protein ParA Chromosome (plasmid) partitioning protein ParA Clustering-based subsystems Cell Division Cell division related cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3551 ROSEINA2194_03984 Glucokinase (EC 2.7.1.2) Glucokinase (EC 2.7.1.2) Energy Energy and Precursor Metabolites Generation Central Metabolism Entner-Doudoroff Pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3551 ROSEINA2194_03984 Glucokinase (EC 2.7.1.2) Glucokinase (EC 2.7.1.2) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3555 ROSEINA2194_03989 Exonuclease SbcD Exonuclease SbcD DNA Processing DNA Processing DNA repair DNA repair, bacterial SbcCD exonuclease
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3570 ROSEINA2194_04007 Putative Nudix hydrolase YfcD (EC 3.6.-.-) Putative Nudix hydrolase YfcD (EC 3.6.-.-) Metabolism Metabolite damage and its repair or mitigation Nudix proteins (nucleoside triphosphate hydrolases)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3573 ROSEINA2194_04010 Nicotinamidase (EC 3.5.1.19) Nicotinamidase (EC 3.5.1.19) Metabolism Cofactors, Vitamins, Prosthetic Groups NAD and NADP NAD and NADP cofactor biosynthesis global
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3577 ROSEINA2194_04014 N-Ribosylnicotinamide phosphorylase (EC 2.4.2.1) N-Ribosylnicotinamide phosphorylase (EC 2.4.2.1) Metabolism Cofactors, Vitamins, Prosthetic Groups NAD and NADP NAD and NADP cofactor biosynthesis global
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3579 ROSEINA2194_04016 Oligopeptide transport system permease protein OppB (TC 3.A.1.5.1) Oligopeptide transport system permease protein OppB (TC 3.A.1.5.1) Membrane Transport Membrane Transport ABC transporters Dpp dipeptide ABC transport system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3580 ROSEINA2194_04017 Oligopeptide transport ATP-binding protein OppD (TC 3.A.1.5.1) Oligopeptide transport ATP-binding protein OppD (TC 3.A.1.5.1) Membrane Transport Membrane Transport ABC transporters Dpp dipeptide ABC transport system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3581 ROSEINA2194_04018 Oligopeptide ABC transporter, periplasmic oligopeptide-binding protein OppA (TC 3.A.1.5.1) Oligopeptide ABC transporter, periplasmic oligopeptide-binding protein OppA (TC 3.A.1.5.1) Membrane Transport Membrane Transport ABC transporters Dpp dipeptide ABC transport system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3582 ROSEINA2194_04019 Phosphoglycolate phosphatase (EC 3.1.3.18) Phosphoglycolate phosphatase (EC 3.1.3.18) DNA Processing DNA Processing DNA repair 2-phosphoglycolate salvage
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3582 ROSEINA2194_04019 Phosphoglycolate phosphatase (EC 3.1.3.18) Phosphoglycolate phosphatase (EC 3.1.3.18) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolate, glyoxylate interconversions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3582 ROSEINA2194_04019 Phosphoglycolate phosphatase (EC 3.1.3.18) Phosphoglycolate phosphatase (EC 3.1.3.18) Metabolism Metabolite damage and its repair or mitigation Metabolite repair
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3589 ROSEINA2194_04026 Phosphoglycolate phosphatase (EC 3.1.3.18) Phosphoglycolate phosphatase (EC 3.1.3.18) DNA Processing DNA Processing DNA repair 2-phosphoglycolate salvage
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3589 ROSEINA2194_04026 Phosphoglycolate phosphatase (EC 3.1.3.18) Phosphoglycolate phosphatase (EC 3.1.3.18) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolate, glyoxylate interconversions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3589 ROSEINA2194_04026 Phosphoglycolate phosphatase (EC 3.1.3.18) Phosphoglycolate phosphatase (EC 3.1.3.18) Metabolism Metabolite damage and its repair or mitigation Metabolite repair
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3610 ROSEINA2194_04050 D-3-phosphoglycerate dehydrogenase (EC 1.1.1.95) D-3-phosphoglycerate dehydrogenase (EC 1.1.1.95) Metabolism Amino Acids and Derivatives Alanine, serine, and glycine D-3-phosphoglycerate to phosphoserine module
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3610 ROSEINA2194_04050 D-3-phosphoglycerate dehydrogenase (EC 1.1.1.95) D-3-phosphoglycerate dehydrogenase (EC 1.1.1.95) Metabolism Cofactors, Vitamins, Prosthetic Groups Pyridoxine Pyridoxin (Vitamin B6) Biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3625 ROSEINA2194_04065 2-keto-3-deoxy-D-arabino-heptulosonate-7-phosphate synthase I alpha (EC 2.5.1.54) 2-keto-3-deoxy-D-arabino-heptulosonate-7-phosphate synthase I alpha (EC 2.5.1.54) Metabolism Amino Acids and Derivatives Aromatic amino acids and derivatives Chorismate Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3631 ROSEINA2194_04078 3-ketoacyl-CoA thiolase (EC 2.3.1.16) @ Acetyl-CoA acetyltransferase (EC 2.3.1.9) 3-ketoacyl-CoA thiolase (EC 2.3.1.16) Metabolism Cofactors, Vitamins, Prosthetic Groups Biotin Biotin biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3637 ROSEINA2194_04086 Type I restriction-modification system, specificity subunit S Type I restriction-modification system, specificity subunit S DNA Processing DNA Processing Type I restriction-modification systems
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3639 ROSEINA2194_04090 Type I restriction-modification system, specificity subunit S Type I restriction-modification system, specificity subunit S DNA Processing DNA Processing Type I restriction-modification systems
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3643 ROSEINA2194_04095 NADH pyrophosphatase (EC 3.6.1.22), decaps 5'-NAD modified RNA NADH pyrophosphatase (EC 3.6.1.22), decaps 5'-NAD modified RNA Metabolism Metabolite damage and its repair or mitigation Nudix proteins (nucleoside triphosphate hydrolases)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3661 ROSEINA2194_04114 Translation elongation factor LepA Translation elongation factor LepA Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3661 ROSEINA2194_04114 Translation elongation factor LepA Translation elongation factor LepA Protein Processing Protein Synthesis Translation Translation elongation factors, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3661 ROSEINA2194_04114 Translation elongation factor LepA Translation elongation factor LepA Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3664 ROSEINA2194_04118 Dipeptide transport system permease protein DppC (TC 3.A.1.5.2) Dipeptide transport system permease protein DppC (TC 3.A.1.5.2) Membrane Transport Membrane Transport ABC transporters Dpp dipeptide ABC transport system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3665 ROSEINA2194_04119 Dipeptide transport system permease protein DppB (TC 3.A.1.5.2) Dipeptide transport system permease protein DppB (TC 3.A.1.5.2) Membrane Transport Membrane Transport ABC transporters Dpp dipeptide ABC transport system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3667 ROSEINA2194_04121 Dipeptide-binding ABC transporter, periplasmic substrate-binding component (TC 3.A.1.5.2) Dipeptide-binding ABC transporter, periplasmic substrate-binding component (TC 3.A.1.5.2) Membrane Transport Membrane Transport ABC transporters Dpp dipeptide ABC transport system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3672 ROSEINA2194_04128 UDP-N-acetylmuramoylalanyl-D-glutamate--2,6-diaminopimelate ligase (EC 6.3.2.13) UDP-N-acetylmuramoyl-L-alanyl-D-glutamate--2,6-diaminopimelate ligase (EC 6.3.2.13) Cellular Processes Cell Cycle, Cell Division and Death Cell division cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3673 ROSEINA2194_04129 Diaminopimelate epimerase (EC 5.1.1.7) Diaminopimelate epimerase (EC 5.1.1.7) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine "Diaminopimelate Synthesis "
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3673 ROSEINA2194_04129 Diaminopimelate epimerase (EC 5.1.1.7) Diaminopimelate epimerase (EC 5.1.1.7) Metabolism Amino Acids and Derivatives Amino acid racemase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3673 ROSEINA2194_04129 Diaminopimelate epimerase (EC 5.1.1.7) Diaminopimelate epimerase (EC 5.1.1.7) Metabolism Amino Acids and Derivatives Lysine, threonine, methionine, and cysteine Lysine DAP biosynthetic pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3685 ROSEINA2194_04142 Phosphotransferase system, phosphocarrier protein HPr Phosphotransferase system, phosphocarrier protein HPr Regulation And Cell Signaling Regulation and Cell signaling HPr catabolite repression system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3687 ROSEINA2194_04144 Cytoplasmic copper homeostasis protein CutC Cytoplasmic copper homeostasis protein CutC Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Copper homeostasis: copper tolerance
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3688 ROSEINA2194_04145 Pyruvate-flavodoxin oxidoreductase (EC 1.2.7.-) Pyruvate-flavodoxin oxidoreductase Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate:ferredoxin oxidoreductase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3729 ROSEINA2194_04188 Cardiolipin synthetase (EC 2.7.8.-) Cardiolipin synthase (EC 2.7.8.-) bacterial type ClsA Metabolism Fatty Acids, Lipids, and Isoprenoids Phospholipids Cardiolipin biosynthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3729 ROSEINA2194_04188 Cardiolipin synthetase (EC 2.7.8.-) Cardiolipin synthase (EC 2.7.8.-) bacterial type ClsA Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Resistance to Daptomycin
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3730 ROSEINA2194_04189 Choloylglycine hydrolase (EC 3.5.1.24) Choloylglycine hydrolase (EC 3.5.1.24) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Bile hydrolysis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3757 ROSEINA2194_04219 beta-galactosidase (EC 3.2.1.23) beta-galactosidase (EC 3.2.1.23) Metabolism Carbohydrates Di- and oligosaccharides Lactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3767 ROSEINA2194_04229 Seryl-tRNA synthetase (EC 6.1.1.11) Seryl-tRNA synthetase (EC 6.1.1.11) Protein Processing Protein Synthesis Aminoacyl-tRNA-synthetases tRNA aminoacylation, Ser
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3770 ROSEINA2194_04232 Hemerythrin domain protein Hemerythrin domain protein Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response Repair of Iron Centers
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3776 ROSEINA2194_04240 Argininosuccinate synthase (EC 6.3.4.5) Argininosuccinate synthase (EC 6.3.4.5) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Arginine biosynthesis via N-acetyl-L-citrulline
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3776 ROSEINA2194_04240 Argininosuccinate synthase (EC 6.3.4.5) Argininosuccinate synthase (EC 6.3.4.5) Metabolism Amino Acids and Derivatives Proline and 4-hydroxyproline Proline biosynthesis (for review)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3777 ROSEINA2194_04241 N-acetyl-gamma-glutamyl-phosphate reductase (EC 1.2.1.38) N-acetyl-gamma-glutamyl-phosphate reductase (EC 1.2.1.38) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Arginine biosynthesis via N-acetyl-L-citrulline
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3777 ROSEINA2194_04241 N-acetyl-gamma-glutamyl-phosphate reductase (EC 1.2.1.38) N-acetyl-gamma-glutamyl-phosphate reductase (EC 1.2.1.38) Metabolism Amino Acids and Derivatives Proline and 4-hydroxyproline Proline biosynthesis (for review)
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3832 ROSEINA2194_04300 4-alpha-glucanotransferase (amylomaltase) (EC 2.4.1.25) 4-alpha-glucanotransferase (amylomaltase) (EC 2.4.1.25) Metabolism Carbohydrates Polysaccharides Glycogen metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3833 ROSEINA2194_04301 4-alpha-glucanotransferase (amylomaltase) (EC 2.4.1.25) 4-alpha-glucanotransferase (amylomaltase) (EC 2.4.1.25) Metabolism Carbohydrates Polysaccharides Glycogen metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3851 ROSEINA2194_04323 Arginine decarboxylase (EC 4.1.1.19); Lysine decarboxylase (EC 4.1.1.18); Ornithine decarboxylase (EC 4.1.1.17) Arginine decarboxylase (EC 4.1.1.19) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Polyamine Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3851 ROSEINA2194_04323 Arginine decarboxylase (EC 4.1.1.19); Lysine decarboxylase (EC 4.1.1.18); Ornithine decarboxylase (EC 4.1.1.17) Ornithine decarboxylase (EC 4.1.1.17) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Polyamine Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3858 ROSEINA2194_04330 16S rRNA (cytidine(1402)-2'-O)-methyltransferase (EC 2.1.1.198) 16S rRNA (cytidine(1402)-2'-O)-methyltransferase (EC 2.1.1.198) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Stress Response: Heat/cold shock Heat shock dnaK gene cluster extended
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3869 ROSEINA2194_04342 NAD-dependent protein deacetylase of SIR2 family NAD-dependent protein deacetylase of SIR2 family Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate metabolism II: acetyl-CoA, acetogenesis from pyruvate
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3871 ROSEINA2194_04344 SSU ribosomal protein S6p SSU ribosomal protein S6p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3872 ROSEINA2194_04345 Single-stranded DNA-binding protein Single-stranded DNA-binding protein DNA Processing DNA Processing DNA repair DNA repair, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3872 ROSEINA2194_04345 Single-stranded DNA-binding protein Single-stranded DNA-binding protein DNA Processing DNA Processing DNA repair DNA repair, bacterial RecFOR pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3873 ROSEINA2194_04346 SSU ribosomal protein S18p @ SSU ribosomal protein S18p, zinc-dependent SSU ribosomal protein S18p, zinc-dependent Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, zinc requirement
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3873 ROSEINA2194_04346 SSU ribosomal protein S18p @ SSU ribosomal protein S18p, zinc-dependent SSU ribosomal protein S18p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, zinc requirement
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3877 ROSEINA2194_04350 LSU ribosomal protein L9p LSU ribosomal protein L9p Protein Processing Protein Synthesis Ribosome biogenesis Ribosomal proteins, single-copy
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3877 ROSEINA2194_04350 LSU ribosomal protein L9p LSU ribosomal protein L9p Protein Processing Protein Synthesis Ribosome biogenesis Ribosome LSU, bacterial
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3878 ROSEINA2194_04351 Replicative DNA helicase (DnaB) (EC 3.6.4.12) Replicative DNA helicase (DnaB) (EC 3.6.4.12) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate Alanine Serine Interconversions
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3881 ROSEINA2194_04353 Aldose 1-epimerase (EC 5.1.3.3) Aldose 1-epimerase (EC 5.1.3.3) Metabolism Carbohydrates Di- and oligosaccharides Galactose utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3882 ROSEINA2194_04354 Threonylcarbamoyl-AMP synthase (EC 2.7.7.87) / SUA5 domain with internal deletion Threonylcarbamoyl-AMP synthase (EC 2.7.7.87) RNA Processing RNA Processing RNA processing and modification YrdC-YciO-Sua5 and associated protein families
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3883 ROSEINA2194_04355 Threonylcarbamoyl-AMP synthase (EC 2.7.7.87) / SUA5 domain with internal deletion / Low molecular weight phosphotyrosine protein phosphatase Threonylcarbamoyl-AMP synthase (EC 2.7.7.87) RNA Processing RNA Processing RNA processing and modification YrdC-YciO-Sua5 and associated protein families
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3884 ROSEINA2194_04356 Uracil phosphoribosyltransferase (EC 2.4.2.9) Uracil phosphoribosyltransferase (EC 2.4.2.9) Metabolism Nucleosides and Nucleotides Pyrimidines De Novo Pyrimidine Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3885 ROSEINA2194_04357 Uracil phosphoribosyltransferase (EC 2.4.2.9) Uracil phosphoribosyltransferase (EC 2.4.2.9) Metabolism Nucleosides and Nucleotides Pyrimidines De Novo Pyrimidine Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3887 ROSEINA2194_04359 ATP synthase protein I ATP synthase protein I Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3888 ROSEINA2194_04360 ATP synthase protein I ATP synthase protein I Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3889 ROSEINA2194_04361 ATP synthase F0 sector subunit a (EC 3.6.3.14) ATP synthase F0 sector subunit a (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3890 ROSEINA2194_04362 ATP synthase F0 sector subunit c (EC 3.6.3.14) ATP synthase F0 sector subunit c (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3891 ROSEINA2194_04363 ATP synthase F0 sector subunit b (EC 3.6.3.14) ATP synthase F0 sector subunit b (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3892 ROSEINA2194_04364 ATP synthase delta chain (EC 3.6.3.14) ATP synthase delta chain (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3893 ROSEINA2194_04365 ATP synthase alpha chain (EC 3.6.3.14) ATP synthase alpha chain (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3894 ROSEINA2194_04366 ATP synthase gamma chain (EC 3.6.3.14) ATP synthase gamma chain (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3895 ROSEINA2194_04367 ATP synthase beta chain (EC 3.6.3.14) ATP synthase beta chain (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3896 ROSEINA2194_04368 ATP synthase epsilon chain (EC 3.6.3.14) ATP synthase epsilon chain (EC 3.6.3.14) Energy Respiration ATP synthases F0F1-type ATP synthase
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3906 ROSEINA2194_04377 Alpha-ribazole-5'-phosphate phosphatase (EC 3.1.3.73) Alpha-ribazole-5'-phosphate phosphatase (EC 3.1.3.73) Metabolism Cofactors, Vitamins, Prosthetic Groups Tetrapyrroles Cobalamin synthesis from Cob(II)yrinate a,c diamide
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3910 ROSEINA2194_04381 Phosphotransferase system, phosphocarrier protein HPr Phosphotransferase system, phosphocarrier protein HPr Regulation And Cell Signaling Regulation and Cell signaling HPr catabolite repression system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3915 ROSEINA2194_04385 Oligopeptide transport ATP-binding protein OppD (TC 3.A.1.5.1) Oligopeptide transport ATP-binding protein OppD (TC 3.A.1.5.1) Membrane Transport Membrane Transport ABC transporters Dpp dipeptide ABC transport system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3916 ROSEINA2194_04386 Oligopeptide transport ATP-binding protein OppF (TC 3.A.1.5.1) Oligopeptide transport ATP-binding protein OppF (TC 3.A.1.5.1) Membrane Transport Membrane Transport ABC transporters Dpp dipeptide ABC transport system
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3917 ROSEINA2194_04388 Dihydroorotase (EC 3.5.2.3) Dihydroorotase (EC 3.5.2.3) Metabolism Nucleosides and Nucleotides Pyrimidines De Novo Pyrimidine Synthesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3921 ROSEINA2194_04392 Glycerophosphoryl diester phosphodiesterase (EC 3.1.4.46) Glycerophosphoryl diester phosphodiesterase (EC 3.1.4.46) Stress Response, Defense, Virulence Stress Response, Defense and Virulence Resistance to antibiotics and toxic compounds Resistance to Daptomycin
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3925 ROSEINA2194_04395 Phosphate ABC transporter, periplasmic phosphate-binding protein PstS (TC 3.A.1.7.1) Phosphate ABC transporter, periplasmic phosphate-binding protein PstS (TC 3.A.1.7.1) Metabolism Phosphate Metabolism High affinity phosphate transporter and control of PHO regulon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3926 ROSEINA2194_04397 Phosphate transport system permease protein PstC (TC 3.A.1.7.1) Phosphate transport system permease protein PstC (TC 3.A.1.7.1) Metabolism Phosphate Metabolism High affinity phosphate transporter and control of PHO regulon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3927 ROSEINA2194_04398 Phosphate transport system permease protein PstA (TC 3.A.1.7.1) Phosphate transport system permease protein PstA (TC 3.A.1.7.1) Metabolism Phosphate Metabolism High affinity phosphate transporter and control of PHO regulon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3928 ROSEINA2194_04399 Phosphate transport ATP-binding protein PstB (TC 3.A.1.7.1) Phosphate transport ATP-binding protein PstB (TC 3.A.1.7.1) Metabolism Phosphate Metabolism High affinity phosphate transporter and control of PHO regulon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3929 ROSEINA2194_04400 Phosphate transport system regulatory protein PhoU Phosphate transport system regulatory protein PhoU Metabolism Phosphate Metabolism High affinity phosphate transporter and control of PHO regulon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3930 ROSEINA2194_04401 Sodium-dependent phosphate transporter Sodium-dependent phosphate transporter Membrane Transport Membrane Transport Uni- Sym- and Antiporters NhaA, NhaD and Sodium-dependent phosphate transporters
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3931 ROSEINA2194_04402 Phosphate regulon transcriptional regulatory protein PhoB (SphR) Phosphate regulon transcriptional regulatory protein PhoB (SphR) Metabolism Phosphate Metabolism High affinity phosphate transporter and control of PHO regulon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3932 ROSEINA2194_04403 Phosphate regulon sensor protein PhoR (SphS) (EC 2.7.13.3) Phosphate regulon sensor protein PhoR (SphS) (EC 2.7.13.3) Metabolism Phosphate Metabolism High affinity phosphate transporter and control of PHO regulon
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3942 ROSEINA2194_04413 Pyruvate kinase (EC 2.7.1.40) / Phosphohistidine swiveling domain Pyruvate kinase (EC 2.7.1.40) Energy Energy and Precursor Metabolites Generation Central Metabolism Entner-Doudoroff Pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3942 ROSEINA2194_04413 Pyruvate kinase (EC 2.7.1.40) / Phosphohistidine swiveling domain Pyruvate kinase (EC 2.7.1.40) Energy Energy and Precursor Metabolites Generation Central Metabolism Glycolysis and Gluconeogenesis
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3942 ROSEINA2194_04413 Pyruvate kinase (EC 2.7.1.40) / Phosphohistidine swiveling domain Pyruvate kinase (EC 2.7.1.40) Energy Energy and Precursor Metabolites Generation Central Metabolism Pyruvate metabolism I: anaplerotic reactions, PEP
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3943 ROSEINA2194_04415 Carbamate kinase (EC 2.7.2.2) Carbamate kinase (EC 2.7.2.2) Metabolism Amino Acids and Derivatives Arginine; urea cycle, creatine, polyamines Polyamine Metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3944 ROSEINA2194_04416 GTP-binding protein EngB GTP-binding protein EngB Protein Processing Protein Synthesis Universal GTPases
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3947 ROSEINA2194_04419 ATP-dependent Clp protease ATP-binding subunit ClpX ATP-dependent Clp protease ATP-binding subunit ClpX Energy Respiration Biogenesis of respiratory chain components Biogenesis of c-type cytochromes
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3948 ROSEINA2194_04420 ATP-dependent Clp protease proteolytic subunit (EC 3.4.21.92) ATP-dependent Clp protease proteolytic subunit ClpP (EC 3.4.21.92) Energy Respiration Biogenesis of respiratory chain components Biogenesis of c-type cytochromes
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3956 ROSEINA2194_04433 Transketolase, C-terminal section (EC 2.2.1.1) Transketolase, C-terminal section (EC 2.2.1.1) Energy Energy and Precursor Metabolites Generation Central Metabolism Pentose phosphate pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3957 ROSEINA2194_04434 Transketolase, N-terminal section (EC 2.2.1.1) Transketolase, N-terminal section (EC 2.2.1.1) Energy Energy and Precursor Metabolites Generation Central Metabolism Pentose phosphate pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3958 ROSEINA2194_04435 Recombination protein RecR Recombination protein RecR DNA Processing DNA Processing DNA uptake, competence DNA processing cluster
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3958 ROSEINA2194_04435 Recombination protein RecR Recombination protein RecR DNA Processing DNA Processing DNA repair DNA repair, bacterial RecFOR pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3984 ROSEINA2194_04459 2-dehydro-3-deoxygluconokinase (EC 2.7.1.45) 2-dehydro-3-deoxygluconokinase (EC 2.7.1.45) Metabolism Carbohydrates Monosaccharides D-Galacturonate and D-Glucuronate Utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3984 ROSEINA2194_04459 2-dehydro-3-deoxygluconokinase (EC 2.7.1.45) 2-dehydro-3-deoxygluconokinase (EC 2.7.1.45) Metabolism Carbohydrates Monosaccharides D-gluconate and ketogluconates metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3984 ROSEINA2194_04459 2-dehydro-3-deoxygluconokinase (EC 2.7.1.45) 2-dehydro-3-deoxygluconokinase (EC 2.7.1.45) Energy Energy and Precursor Metabolites Generation Central Metabolism Entner-Doudoroff Pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3985 ROSEINA2194_04460 2-dehydro-3-deoxygluconokinase (EC 2.7.1.45) 2-dehydro-3-deoxygluconokinase (EC 2.7.1.45) Metabolism Carbohydrates Monosaccharides D-Galacturonate and D-Glucuronate Utilization
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3985 ROSEINA2194_04460 2-dehydro-3-deoxygluconokinase (EC 2.7.1.45) 2-dehydro-3-deoxygluconokinase (EC 2.7.1.45) Metabolism Carbohydrates Monosaccharides D-gluconate and ketogluconates metabolism
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3985 ROSEINA2194_04460 2-dehydro-3-deoxygluconokinase (EC 2.7.1.45) 2-dehydro-3-deoxygluconokinase (EC 2.7.1.45) Energy Energy and Precursor Metabolites Generation Central Metabolism Entner-Doudoroff Pathway
622312.4 Roseburia inulinivorans DSM 16841 fig|622312.4.peg.3995 ROSEINA2194_04470 N-acetylglucosamine-6-phosphate deacetylase (EC 3.5.1.25) N-acetylglucosamine-6-phosphate deacetylase (EC 3.5.1.25) Metabolism Carbohydrates "Amino sugars and nucleotide sugars " N-acetylneuraminate utilization
|
ALTER TABLE credential MODIFY checksum VARCHAR(100) NOT NULL;
DROP INDEX name_unique ON credential;
ALTER TABLE credential
MODIFY COLUMN name VARCHAR(1024) NOT NULL;
ALTER TABLE certificate_credential
MODIFY COLUMN ca_name VARCHAR(1024);
ALTER TABLE event_audit_record
MODIFY COLUMN credential_name VARCHAR(1024);
|
IF OBJECT_ID('dbo.udf_INSTR', 'IF') IS NULL
EXECUTE ('CREATE FUNCTION dbo.udf_INSTR() RETURNS TABLE AS RETURN SELECT 1 AS A;');
GO
ALTER FUNCTION dbo.udf_INSTR(
@str NVARCHAR(4000),
@substr NVARCHAR(4000),
@start INT,
@Occurance INT
)
RETURNS TABLE
AS
/*
Note
Author: Hannan Kravitz
Original link: http://www.sqlservercentral.com/scripts/SUBSTRING/148570/
Modified Date: 2016-11-17
Example:
SELECT Loc FROM dbo.udf_INSTR ('Hello World', 'l', 1, 1) -- return 3
SELECT Loc FROM dbo.udf_INSTR ('Hello World', 'l', 1, 3) -- return 10
SELECT Loc FROM dbo.udf_INSTR ('Hello World', 'l', 1, 4) -- return NULL
SELECT Loc FROM dbo.udf_INSTR ('Ёжик - это моё имя','ё', 1, 1) -- return 14
*/
RETURN
WITH Tally(N) AS
(
SELECT TOP (LEN(@str)) ROW_NUMBER() OVER (ORDER BY (SELECT NULL))
FROM (VALUES (0),(0),(0),(0),(0),(0),(0),(0)) a(N)
CROSS JOIN (VALUES(0),(0),(0),(0),(0),(0),(0),(0),(0),(0)) b(N)
CROSS JOIN (VALUES(0),(0),(0),(0),(0),(0),(0),(0),(0),(0)) c(N)
CROSS JOIN (VALUES(0),(0),(0),(0),(0),(0),(0),(0),(0),(0)) d(N)
)
, Find_N_STR AS
(
SELECT
CASE WHEN DENSE_RANK() OVER(PARTITION BY @substr ORDER BY (CHARINDEX(@substr, @str, N))) = @Occurance
THEN MAX(N - @start + 1) OVER (PARTITION BY CHARINDEX(@substr, @str, N))
ELSE 0
END [Loc]
FROM Tally
WHERE CHARINDEX(@substr, @str, N) > 0
)
SELECT Loc= MAX(Loc)
FROM Find_N_STR
WHERE Loc > 0;
GO
|
-- @testpoint:openGauss关键字terminate(非保留),同时作为表名和列名带引号,建表成功
drop table if exists "terminate" CASCADE;
create table "terminate"(
c_id int, c_int int, c_integer integer, c_bool int, c_boolean int, c_bigint integer,
c_real real, c_double real,
c_decimal decimal(38), c_number number(38), c_numeric numeric(38),
c_char char(50) default null, c_varchar varchar(20), c_varchar2 varchar2(4000),
c_date date, c_datetime date, c_timestamp timestamp,
"terminate" varchar(100) default 'terminate'
)
PARTITION BY RANGE (c_integer)
(
partition P_20180121 values less than (0),
partition P_20190122 values less than (50000),
partition P_20200123 values less than (100000),
partition P_max values less than (maxvalue)
);
select * from "terminate";
drop table "terminate" CASCADE;
|
CREATE TABLE IF NOT EXISTS `wp_coupon` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
`background` int(10) UNSIGNED NULL COMMENT '素材背景图',
`keyword` varchar(100) NULL COMMENT '关键词',
`use_tips` text NULL COMMENT '使用说明',
`title` varchar(255) NOT NULL COMMENT '标题',
`intro` text NULL COMMENT '封面简介',
`end_time` int(10) NULL COMMENT '领取结束时间',
`cover` int(10) unsigned NULL COMMENT '优惠券图片',
`cTime` int(10) unsigned NULL COMMENT '发布时间',
`token` varchar(255) NULL COMMENT 'Token',
`start_time` int(10) NULL COMMENT '开始时间',
`end_tips` text NULL COMMENT '领取结束说明',
`end_img` int(10) unsigned NULL COMMENT '领取结束提示图片',
`num` int(10) unsigned NULL DEFAULT 0 COMMENT '优惠券数量',
`max_num` int(10) unsigned NULL DEFAULT 1 COMMENT '每人最多允许获取次数',
`follower_condtion` char(50) NULL DEFAULT 1 COMMENT '粉丝状态',
`credit_conditon` int(10) unsigned NULL DEFAULT 0 COMMENT '积分限制',
`credit_bug` int(10) unsigned NULL DEFAULT 0 COMMENT '积分消费',
`addon_condition` varchar(255) NULL COMMENT '插件场景限制',
`collect_count` int(10) unsigned NULL DEFAULT 0 COMMENT '已领取数',
`view_count` int(10) unsigned NULL DEFAULT 0 COMMENT '浏览人数',
`addon` char(50) NULL DEFAULT 'public' COMMENT '插件',
`shop_uid` varchar(255) NULL COMMENT '商家管理员ID',
`use_count` int(10) NULL DEFAULT 0 COMMENT '已使用数',
`pay_password` varchar(255) NULL COMMENT '核销密码',
`empty_prize_tips` varchar(255) NULL COMMENT '奖品抽完后的提示',
`start_tips` varchar(255) NULL COMMENT '活动还没开始时的提示语',
`more_button` text NULL COMMENT '其它按钮',
`over_time` int(10) NULL COMMENT '使用的截止时间',
`use_start_time` int(10) NULL COMMENT '使用开始时间',
`shop_name` varchar(255) NULL DEFAULT '优惠商家' COMMENT '商家名称',
`shop_logo` int(10) UNSIGNED NULL COMMENT '商家LOGO',
`head_bg_color` varchar(255) NULL DEFAULT '#35a2dd' COMMENT '头部背景颜色',
`button_color` varchar(255) NULL DEFAULT '#0dbd02' COMMENT '按钮颜色',
`template` varchar(255) NULL DEFAULT 'default' COMMENT '素材模板',
`member` varchar(100) NULL DEFAULT 0 COMMENT '选择人群',
`is_del` int(10) NULL DEFAULT 0 COMMENT '是否删除',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci CHECKSUM=0 ROW_FORMAT=DYNAMIC DELAY_KEY_WRITE=0;
INSERT INTO `wp_model` (`name`,`title`,`extend`,`relation`,`need_pk`,`field_sort`,`field_group`,`attribute_list`,`template_list`,`template_add`,`template_edit`,`list_grid`,`list_row`,`search_key`,`search_list`,`create_time`,`update_time`,`status`,`engine_type`,`addon`) VALUES ('coupon','优惠券','0','','1','["title","cover","use_tips","start_time","start_tips","end_time","end_tips","end_img","num","max_num","over_time","empty_prize_tips","pay_password","background","more_button","use_start_time","shop_name","shop_logo","head_bg_color","button_color","template","member"]','1:基础','','','','','id:优惠券编号\r\ntitle:标题\r\nnum:计划发送数\r\ncollect_count:已领取数\r\nuse_count:已使用数\r\nstart_time|time_format:开始时间\r\nend_time|time_format:结束时间\r\nids:操作:[EDIT]|编辑,[DELETE]|删除,lists?target_id=[id]&target=_blank&_controller=Sn|成员管理,preview?id=[id]&target=_blank|预览','20','title','','1396061373','1447756274','1','MyISAM','Coupon');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('background','素材背景图','int(10) UNSIGNED NULL','picture','','','1','','0','0','1','1422000992','1422000992','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('keyword','关键词','varchar(100) NULL','string','','','0','','0','0','1','1422330526','1396061575','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('use_tips','使用说明','text NULL','editor','','用户获取优惠券后显示的提示信息','1','','0','1','1','1420868972','1399259489','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('title','标题','varchar(255) NOT NULL','string','','','1','','0','1','1','1396624461','1396061859','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('intro','封面简介','text NULL','textarea','','','0','','0','0','1','1418885972','1396061947','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('end_time','领取结束时间','int(10) NULL','datetime','','','1','','0','0','1','1427161023','1399259433','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('cover','优惠券图片','int(10) unsigned NULL ','picture','','','1','','0','0','1','1418886050','1396062093','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('cTime','发布时间','int(10) unsigned NULL ','datetime','','','0','','0','0','1','1396624612','1396075102','','3','','regex','time','1','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('token','Token','varchar(255) NULL','string','','','0','','0','0','1','1396602871','1396602859','','3','','regex','get_token','1','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('start_time','开始时间','int(10) NULL','datetime','','','1','','0','0','1','1422330558','1399259416','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('end_tips','领取结束说明','text NULL','textarea','','活动过期或者结束说明','1','','0','0','1','1427161168','1399259570','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('end_img','领取结束提示图片','int(10) unsigned NULL ','picture','','可为空','1','','0','0','1','1427161296','1400989793','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('num','优惠券数量','int(10) unsigned NULL ','num','0','0表示不限制数量','1','','0','0','1','1399259838','1399259808','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('max_num','每人最多允许获取次数','int(10) unsigned NULL ','num','1','0表示不限制数量','0','','0','0','1','1447758805','1399260079','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('follower_condtion','粉丝状态','char(50) NULL','select','1','粉丝达到设置的状态才能获取','0','0:不限制\r\n1:已关注\r\n2:已绑定信息\r\n3:会员卡成员','0','0','1','1418885814','1399260479','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('credit_conditon','积分限制','int(10) unsigned NULL ','num','0','粉丝达到多少积分后才能领取,领取后不扣积分','0','','0','0','1','1418885804','1399260618','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('credit_bug','积分消费','int(10) unsigned NULL ','num','0','用积分中的财富兑换、兑换后扣除相应的积分财富','0','','0','0','1','1418885794','1399260764','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('addon_condition','插件场景限制','varchar(255) NULL','string','','格式:[插件名:id值],如[投票:10]表示对ID为10的投票投完才能领取,更多的说明见表单上的提示','0','','0','0','1','1418885827','1399261026','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('collect_count','已领取数','int(10) unsigned NULL ','num','0','','0','','0','0','1','1400992246','1399270900','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('view_count','浏览人数','int(10) unsigned NULL ','num','0','','0','','0','0','1','1399270926','1399270926','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('addon','插件','char(50) NULL','select','public','','0','public:通用\r\ninvite:微邀约','0','0','1','1418885638','1418885638','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('shop_uid','商家管理员ID','varchar(255) NULL','string','','','0','','0','0','1','1421750246','1418900122','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('use_count','已使用数','int(10) NULL','num','0','','0','','0','0','1','1418910237','1418910237','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('pay_password','核销密码','varchar(255) NULL','string','','','1','','0','0','1','1420875229','1420875229','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('empty_prize_tips','奖品抽完后的提示','varchar(255) NULL','string','','不填写时默认显示:您来晚了,优惠券已经领取完','1','','0','0','1','1421394437','1421394267','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('start_tips','活动还没开始时的提示语','varchar(255) NULL','string','','','1','','0','0','1','1423134546','1423134546','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('more_button','其它按钮','text NULL','textarea','','格式:按钮名称|按钮跳转地址,每行一个。如:查看官网|http://weiphp.cn','1','','0','0','1','1423193853','1423193853','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('over_time','使用的截止时间','int(10) NULL','datetime','','券的使用截止时间,为空时表示不限制','1','','0','0','1','1427161334','1427161118','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('use_start_time','使用开始时间','int(10) NULL','datetime','','','1','','0','1','1','1427280116','1427280008','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('shop_name','商家名称','varchar(255) NULL','string','优惠商家','','1','','0','0','1','1427280255','1427280255','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('shop_logo','商家LOGO','int(10) UNSIGNED NULL','picture','','','1','','0','0','1','1427280293','1427280293','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('head_bg_color','头部背景颜色','varchar(255) NULL','string','#35a2dd','','1','','0','0','1','1427282839','1427282785','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('button_color','按钮颜色','varchar(255) NULL','string','#0dbd02','','1','','0','0','1','1427282886','1427282886','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('template','素材模板','varchar(255) NULL','string','default','','1','','0','0','1','1430127336','1430127336','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('member','选择人群','varchar(100) NULL','checkbox','0','','1','0:所有用户\r\n-1:所有会员','0','0','1','1444821380','1444821380','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('is_del','是否删除','int(10) NULL','num','0','','0','','0','0','1','1446119564','1446119564','','3','','regex','','3','function');
UPDATE `wp_attribute` SET model_id= (SELECT MAX(id) FROM `wp_model`) WHERE model_id=0;
CREATE TABLE IF NOT EXISTS `wp_coupon_shop` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
`name` varchar(100) NULL COMMENT '店名',
`address` varchar(255) NULL COMMENT '详细地址',
`phone` varchar(30) NULL COMMENT '联系电话',
`gps` varchar(50) NULL COMMENT 'GPS经纬度',
`coupon_id` int(10) NULL COMMENT '所属优惠券编号',
`token` varchar(255) NULL COMMENT 'token',
`manager_id` int(10) NULL COMMENT '管理员id',
`open_time` varchar(50) NULL COMMENT '营业时间',
`img` int(10) UNSIGNED NULL COMMENT '门店展示图',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci CHECKSUM=0 ROW_FORMAT=DYNAMIC DELAY_KEY_WRITE=0;
INSERT INTO `wp_model` (`name`,`title`,`extend`,`relation`,`need_pk`,`field_sort`,`field_group`,`attribute_list`,`template_list`,`template_add`,`template_edit`,`list_grid`,`list_row`,`search_key`,`search_list`,`create_time`,`update_time`,`status`,`engine_type`,`addon`) VALUES ('coupon_shop','适用门店','0','','1','["name","address","gps","phone"]','1:基础','','','','','name:店名\r\nphone:联系电话\r\naddress:详细地址\r\nids:操作:[EDIT]|编辑,[DELETE]|删除','20','name:店名搜索','','1427164604','1439465222','1','MyISAM','Coupon');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('name','店名','varchar(100) NULL','string','','','1','','0','1','1','1427164635','1427164635','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('address','详细地址','varchar(255) NULL','string','','','1','','0','1','1','1427164668','1427164668','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('phone','联系电话','varchar(30) NULL','string','','','1','','0','0','1','1427166529','1427164707','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('gps','GPS经纬度','varchar(50) NULL','string','','格式:经度,纬度','1','','0','0','1','1427371523','1427164833','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('coupon_id','所属优惠券编号','int(10) NULL','num','','','4','','0','0','1','1427165806','1427165806','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('token','token','varchar(255) NULL','string','','','0','','0','0','1','1440071867','1440071805','','3','','regex','get_token','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('manager_id','管理员id','int(10) NULL','num','','','0','','0','0','1','1440071927','1440071917','','3','','regex','get_mid','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('open_time','营业时间','varchar(50) NULL','string','','','1','','0','0','1','1443106576','1443106576','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('img','门店展示图','int(10) UNSIGNED NULL','picture','','','1','','0','0','1','1447060275','1447060275','','3','','regex','','3','function');
UPDATE `wp_attribute` SET model_id= (SELECT MAX(id) FROM `wp_model`) WHERE model_id=0;
CREATE TABLE IF NOT EXISTS `wp_coupon_shop_link` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
`coupon_id` int(10) NULL COMMENT 'coupon_id',
`shop_id` int(10) NULL COMMENT 'shop_id',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci CHECKSUM=0 ROW_FORMAT=DYNAMIC DELAY_KEY_WRITE=0;
INSERT INTO `wp_model` (`name`,`title`,`extend`,`relation`,`need_pk`,`field_sort`,`field_group`,`attribute_list`,`template_list`,`template_add`,`template_edit`,`list_grid`,`list_row`,`search_key`,`search_list`,`create_time`,`update_time`,`status`,`engine_type`,`addon`) VALUES ('coupon_shop_link','门店关联','0','','1','','1:基础','','','','','','20','','','1427356350','1427356350','1','MyISAM','Coupon');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('coupon_id','coupon_id','int(10) NULL','num','','','1','','0','0','1','1427356371','1427356371','','3','','regex','','3','function');
INSERT INTO `wp_attribute` (`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`validate_rule`,`validate_time`,`error_info`,`validate_type`,`auto_rule`,`auto_time`,`auto_type`) VALUES ('shop_id','shop_id','int(10) NULL','num','','','1','','0','0','1','1427356387','1427356387','','3','','regex','','3','function');
UPDATE `wp_attribute` SET model_id= (SELECT MAX(id) FROM `wp_model`) WHERE model_id=0;
|
-- update module version
UPDATE `sys_modules` SET `version` = '1.1.0' WHERE `uri` = 'articles' AND `version` = '1.1.0';
|
-- @testpoint:opengauss关键字Asymmetric(保留),作为游标名
--前置条件
drop table if exists Asymmetric_test cascade;
create table Asymmetric_test(cid int,fid int);
--关键字不带引号-失败
start transaction;
cursor Asymmetric for select * from Asymmetric_test order by 1;
close Asymmetric;
end;
--关键字带双引号-成功
start transaction;
cursor "Asymmetric" for select * from Asymmetric_test order by 1;
close "Asymmetric";
end;
--关键字带单引号-合理报错
start transaction;
cursor 'Asymmetric' for select * from Asymmetric_test order by 1;
close 'Asymmetric';
end;
--关键字带反引号-合理报错
start transaction;
cursor `Asymmetric` for select * from Asymmetric_test order by 1;
close `Asymmetric`;
end;
--清理环境
drop table Asymmetric_test cascade;
|
BEGIN;
SELECT _v.register_patch('000-base', NULL, NULL);
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
CREATE TABLE users (
"id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(),
"createdAt" timestamp NOT NULL,
"email" text UNIQUE,
"firstName" text NOT NULL,
"lastName" text NOT NULL,
"password" text NOT NULL
);
CREATE TABLE rooms (
"id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(),
"createdAt" timestamp NOT NULL,
"creatorId" uuid REFERENCES users ("id"),
"type" integer NOT NULL,
"name" text UNIQUE
);
INSERT INTO users (
"id",
"createdAt",
"email",
"firstName",
"lastName",
"password"
) VALUES (
'00000000-0000-4000-8000-000000000000',
NOW(),
'',
'System',
'',
''
);
INSERT INTO rooms (
"id",
"createdAt",
"type",
"name"
) VALUES (
'00000000-0000-4000-8000-000000000000',
NOW(),
0,
'general'
);
ALTER TABLE users ADD COLUMN "currentRoomId" uuid REFERENCES rooms ("id") DEFAULT '00000000-0000-4000-8000-000000000000';
CREATE TABLE user_rooms (
"createdAt" timestamp NOT NULL,
"userId" uuid NOT NULL REFERENCES users ("id"),
"roomId" uuid NOT NULL REFERENCES rooms ("id"),
PRIMARY KEY ("userId", "roomId")
);
CREATE TABLE messages (
"id" serial PRIMARY KEY,
"createdAt" timestamp NOT NULL,
"userId" uuid NOT NULL REFERENCES users ("id"),
"roomId" uuid NOT NULL REFERENCES rooms ("id")
);
COMMIT;
|
CREATE TABLE `domain_date_provider_ip_dkim` (
`domain` VARCHAR(255) NOT NULL,
`date` DATE NOT NULL,
`provider` VARCHAR(255) NOT NULL,
`ip` VARCHAR(255) NOT NULL,
`dkim_domain` VARCHAR(255) NOT NULL,
`dkim_selector` VARCHAR(255) NOT NULL,
`dkim_pass` BIGINT NOT NULL,
`dkim_fail` BIGINT NOT NULL,
PRIMARY KEY (`domain`, `provider`, `date`, `ip`, `dkim_domain`, `dkim_selector`));
CREATE TABLE `domain_date_provider_ip_dkim_store` (
`record_id` BIGINT NOT NULL,
PRIMARY KEY (`record_id`));
|
-- average number of distributions per host
with m as (
select response_id, count(online) as num_per_response
from metadata_completeness,
json_array_elements(distributions->'online') online
group by response_id
)
select r.host, round(avg(m.num_per_response), 2) as avg_hrefs
from responses r join m on m.response_id = r.id
where r.host is not null
group by r.host
order by avg_hrefs DESC;
|
INSERT INTO Workflow (Name, Description, DateCreated, DateModified)
VALUES ('Manual Test', 'Manual Step Test', GETDATE(), GETDATE())
GO
INSERT INTO Step (WorkflowID, Name, Description, StepType, DateCreated, DateModified)
VALUES (1, 'StartStep', 'StartStep for Manual testing', 'StartStep', GETDATE(), GETDATE())
GO
INSERT INTO StartStep (StepID, DateCreated, DateModified)
VALUES (1, GETDATE(), GETDATE())
GO
INSERT INTO Step (WorkflowID, Name, Description, StepType, DateCreated, DateModified)
VALUES (1, 'ManualStep', 'ManualStep for Manual testing', 'ManualStep', GETDATE(), GETDATE())
GO
INSERT INTO ManualStep (StepID, DateCreated, DateModified)
VALUES (2, GETDATE(), GETDATE())
GO
INSERT INTO Step (WorkflowID, Name, Description, StepType, DateCreated, DateModified)
VALUES (1, 'EndStep', 'EndStep for Manual testing', 'EndStep', GETDATE(), GETDATE())
GO
INSERT INTO EndStep (StepID, DateCreated, DateModified)
VALUES (3, GETDATE(), GETDATE())
GO
INSERT INTO StepLink (SourceID, DestinationID, DateCreated, DateModified)
VALUES (1, 2, GETDATE(), GETDATE())
GO
INSERT INTO StepLink (SourceID, DestinationID, DateCreated, DateModified)
VALUES (2, 3, GETDATE(), GETDATE())
GO
|
CREATE TABLE test_table (
id INT NOT NULL
);
|
--
-- Create table statements
--
-- Generated by datagenerator. www.dominicgiles.com
--
--
-- Create statement for table CALL_CENTER
--
CREATE TABLE call_center (
cc_call_center_sk NUMBER NOT NULL,
cc_call_center_id CHAR(16) NOT NULL,
cc_rec_start_date DATE,
cc_rec_end_date DATE,
cc_closed_date_sk NUMBER,
cc_open_date_sk NUMBER,
cc_name VARCHAR2(50),
cc_class VARCHAR2(50),
cc_employees NUMBER,
cc_sq_ft NUMBER,
cc_hours CHAR(20),
cc_manager VARCHAR2(40),
cc_mkt_id NUMBER,
cc_mkt_class CHAR(50),
cc_mkt_desc VARCHAR2(100),
cc_market_manager VARCHAR2(40),
cc_division NUMBER,
cc_division_name VARCHAR2(50),
cc_company NUMBER,
cc_company_name CHAR(50),
cc_street_number CHAR(10),
cc_street_name VARCHAR2(60),
cc_street_type CHAR(15),
cc_suite_number CHAR(10),
cc_city VARCHAR2(60),
cc_county VARCHAR2(50),
cc_state CHAR(2),
cc_zip CHAR(10),
cc_country VARCHAR2(20),
cc_gmt_offset NUMBER(5),
cc_tax_percentage NUMBER(5)
) &compression initrans 16
STORAGE (INITIAL 1M NEXT 1M);
--
-- Create statement for table CATALOG_PAGE
--
CREATE TABLE catalog_page (
cp_catalog_page_sk NUMBER NOT NULL,
cp_catalog_page_id CHAR(16) NOT NULL,
cp_start_date_sk NUMBER,
cp_end_date_sk NUMBER,
cp_department VARCHAR2(50),
cp_catalog_number NUMBER,
cp_catalog_page_number NUMBER,
cp_description VARCHAR2(100),
cp_type VARCHAR2(100)
) &compression initrans 16
STORAGE (INITIAL 1M NEXT 1M);
--
-- Create statement for table CATALOG_RETURNS
--
CREATE TABLE catalog_returns (
cr_returned_date_sk NUMBER,
cr_returned_time_sk NUMBER,
cr_item_sk NUMBER NOT NULL,
cr_refunded_customer_sk NUMBER,
cr_refunded_cdemo_sk NUMBER,
cr_refunded_hdemo_sk NUMBER,
cr_refunded_addr_sk NUMBER,
cr_returning_customer_sk NUMBER,
cr_returning_cdemo_sk NUMBER,
cr_returning_hdemo_sk NUMBER,
cr_returning_addr_sk NUMBER,
cr_call_center_sk NUMBER,
cr_catalog_page_sk NUMBER,
cr_ship_mode_sk NUMBER,
cr_warehouse_sk NUMBER,
cr_reason_sk NUMBER,
cr_order_number NUMBER NOT NULL,
cr_return_quantity NUMBER,
cr_return_amount NUMBER(7),
cr_return_tax NUMBER(7),
cr_return_amt_inc_tax NUMBER(7),
cr_fee NUMBER(7),
cr_return_ship_cost NUMBER(7),
cr_refunded_cash NUMBER(7),
cr_reversed_charge NUMBER(7),
cr_store_credit NUMBER(7),
cr_net_loss NUMBER(7)
) &compression initrans 16
STORAGE (INITIAL 16M NEXT 16M);
--
-- Create statement for table CATALOG_SALES
--
CREATE TABLE catalog_sales (
cs_sold_date_sk NUMBER,
cs_sold_time_sk NUMBER,
cs_ship_date_sk NUMBER,
cs_bill_customer_sk NUMBER,
cs_bill_cdemo_sk NUMBER,
cs_bill_hdemo_sk NUMBER,
cs_bill_addr_sk NUMBER,
cs_ship_customer_sk NUMBER,
cs_ship_cdemo_sk NUMBER,
cs_ship_hdemo_sk NUMBER,
cs_ship_addr_sk NUMBER,
cs_call_center_sk NUMBER,
cs_catalog_page_sk NUMBER,
cs_ship_mode_sk NUMBER,
cs_warehouse_sk NUMBER,
cs_item_sk NUMBER NOT NULL,
cs_promo_sk NUMBER,
cs_order_number NUMBER NOT NULL,
cs_quantity NUMBER,
cs_wholesale_cost NUMBER(7),
cs_list_price NUMBER(7),
cs_sales_price NUMBER(7),
cs_ext_discount_amt NUMBER(7),
cs_ext_sales_price NUMBER(7),
cs_ext_wholesale_cost NUMBER(7),
cs_ext_list_price NUMBER(7),
cs_ext_tax NUMBER(7),
cs_coupon_amt NUMBER(7),
cs_ext_ship_cost NUMBER(7),
cs_net_paid NUMBER(7),
cs_net_paid_inc_tax NUMBER(7),
cs_net_paid_inc_ship NUMBER(7),
cs_net_paid_inc_ship_tax NUMBER(7),
cs_net_profit NUMBER(7)
) &compression initrans 16
STORAGE (INITIAL 16M NEXT 16M);
--
-- Create statement for table CUSTOMER
--
CREATE TABLE customer (
c_customer_sk NUMBER NOT NULL,
c_customer_id CHAR(16) NOT NULL,
c_current_cdemo_sk NUMBER,
c_current_hdemo_sk NUMBER,
c_current_addr_sk NUMBER,
c_first_shipto_date_sk NUMBER,
c_first_sales_date_sk NUMBER,
c_salutation CHAR(10),
c_first_name VARCHAR2(50),
c_last_name VARCHAR2(50),
c_preferred_cust_flag CHAR(1),
c_birth_day NUMBER,
c_birth_month NUMBER,
c_birth_year NUMBER,
c_birth_country VARCHAR2(50),
c_login CHAR(13),
c_email_address VARCHAR2(50),
c_last_review_date CHAR(10)
) &compression initrans 16
STORAGE (INITIAL 16M NEXT 16M);
--
-- Create statement for table CUSTOMER_ADDRESS
--
CREATE TABLE customer_address (
ca_address_sk NUMBER NOT NULL,
ca_address_id CHAR(16) NOT NULL,
ca_street_number CHAR(10),
ca_street_name VARCHAR2(60),
ca_street_type CHAR(15),
ca_suite_number CHAR(10),
ca_city VARCHAR2(60),
ca_county VARCHAR2(50),
ca_state CHAR(2),
ca_zip CHAR(10),
ca_country VARCHAR2(20),
ca_gmt_offset NUMBER(5),
ca_location_type CHAR(20)
) &compression initrans 16
STORAGE (INITIAL 16M NEXT 16M);
--
-- Create statement for table CUSTOMER_DEMOGRAPHICS
--
CREATE TABLE customer_demographics (
cd_demo_sk NUMBER NOT NULL,
cd_gender CHAR(1),
cd_marital_status CHAR(1),
cd_education_status CHAR(20),
cd_purchase_estimate NUMBER,
cd_credit_rating CHAR(10),
cd_dep_count NUMBER,
cd_dep_employed_count NUMBER,
cd_dep_college_count NUMBER
) &compression initrans 16
STORAGE (INITIAL 16M NEXT 16M);
--
-- Create statement for table DATE_DIM
--
CREATE TABLE date_dim (
d_date_sk NUMBER NOT NULL,
d_date_id CHAR(16) NOT NULL,
d_date DATE,
d_month_seq NUMBER,
d_week_seq NUMBER,
d_quarter_seq NUMBER,
d_year NUMBER,
d_dow NUMBER,
d_moy NUMBER,
d_dom NUMBER,
d_qoy NUMBER,
d_fy_year NUMBER,
d_fy_quarter_seq NUMBER,
d_fy_week_seq NUMBER,
d_day_name CHAR(9),
d_quarter_name CHAR(6),
d_holiday CHAR(1),
d_weekend CHAR(1),
d_following_holiday CHAR(1),
d_first_dom NUMBER,
d_last_dom NUMBER,
d_same_day_ly NUMBER,
d_same_day_lq NUMBER,
d_current_day CHAR(1),
d_current_week CHAR(1),
d_current_month CHAR(1),
d_current_quarter CHAR(1),
d_current_year CHAR(1)
) &compression initrans 16
STORAGE (INITIAL 1M NEXT 1M);
--
-- Create statement for table HOUSEHOLD_DEMOGRAPHICS
--
CREATE TABLE household_demographics (
hd_demo_sk NUMBER NOT NULL,
hd_income_band_sk NUMBER,
hd_buy_potential CHAR(15),
hd_dep_count NUMBER,
hd_vehicle_count NUMBER
) &compression initrans 16
STORAGE (INITIAL 1M NEXT 1M);
--
-- Create statement for table INCOME_BAND
--
CREATE TABLE income_band (
ib_income_band_sk NUMBER NOT NULL,
ib_lower_bound NUMBER,
ib_upper_bound NUMBER
) &compression initrans 16
STORAGE (INITIAL 1M NEXT 1M);
--
-- Create statement for table INVENTORY
--
CREATE TABLE inventory (
inv_date_sk NUMBER NOT NULL,
inv_item_sk NUMBER NOT NULL,
inv_warehouse_sk NUMBER NOT NULL,
inv_quantity_on_hand NUMBER
) &compression initrans 16
STORAGE (INITIAL 16M NEXT 16M);
--
-- Create statement for table ITEM
--
CREATE TABLE item (
i_item_sk NUMBER NOT NULL,
i_item_id CHAR(16) NOT NULL,
i_rec_start_date DATE,
i_rec_end_date DATE,
i_item_desc VARCHAR2(200),
i_current_price NUMBER(7),
i_wholesale_cost NUMBER(7),
i_brand_id NUMBER,
i_brand CHAR(50),
i_class_id NUMBER,
i_class CHAR(50),
i_category_id NUMBER,
i_category CHAR(50),
i_manufact_id NUMBER,
i_manufact CHAR(50),
i_size CHAR(20),
i_formulation CHAR(20),
i_color CHAR(20),
i_units CHAR(10),
i_container CHAR(10),
i_manager_id NUMBER,
i_product_name CHAR(50)
) &compression initrans 16
STORAGE (INITIAL 1M NEXT 1M);
--
-- Create statement for table PROMOTION
--
CREATE TABLE promotion (
p_promo_sk NUMBER NOT NULL,
p_promo_id CHAR(16) NOT NULL,
p_start_date_sk NUMBER,
p_end_date_sk NUMBER,
p_item_sk NUMBER,
p_cost NUMBER(15),
p_response_target NUMBER,
p_promo_name CHAR(50),
p_channel_dmail CHAR(1),
p_channel_email CHAR(1),
p_channel_catalog CHAR(1),
p_channel_tv CHAR(1),
p_channel_radio CHAR(1),
p_channel_press CHAR(1),
p_channel_event CHAR(1),
p_channel_demo CHAR(1),
p_channel_details VARCHAR2(100),
p_purpose CHAR(15),
p_discount_active CHAR(1)
) &compression initrans 16
STORAGE (INITIAL 1M NEXT 1M);
--
-- Create statement for table REASON
--
CREATE TABLE reason (
r_reason_sk NUMBER NOT NULL,
r_reason_id CHAR(16) NOT NULL,
r_reason_desc CHAR(100)
) &compression initrans 16
STORAGE (INITIAL 1M NEXT 1M);
--
-- Create statement for table SHIP_MODE
--
CREATE TABLE ship_mode (
sm_ship_mode_sk NUMBER NOT NULL,
sm_ship_mode_id CHAR(16) NOT NULL,
sm_type CHAR(30),
sm_code CHAR(10),
sm_carrier CHAR(20),
sm_contract CHAR(20)
) &compression initrans 16
STORAGE (INITIAL 1M NEXT 1M);
--
-- Create statement for table STORE
--
CREATE TABLE store (
s_store_sk NUMBER NOT NULL,
s_store_id CHAR(16) NOT NULL,
s_rec_start_date DATE,
s_rec_end_date DATE,
s_closed_date_sk NUMBER,
s_store_name VARCHAR2(50),
s_number_employees NUMBER,
s_floor_space NUMBER,
s_hours CHAR(20),
s_manager VARCHAR2(40),
s_market_id NUMBER,
s_geography_class VARCHAR2(100),
s_market_desc VARCHAR2(100),
s_market_manager VARCHAR2(40),
s_division_id NUMBER,
s_division_name VARCHAR2(50),
s_company_id NUMBER,
s_company_name VARCHAR2(50),
s_street_number VARCHAR2(10),
s_street_name VARCHAR2(60),
s_street_type CHAR(15),
s_suite_number CHAR(10),
s_city VARCHAR2(60),
s_county VARCHAR2(40),
s_state CHAR(2),
s_zip CHAR(10),
s_country VARCHAR2(20),
s_gmt_offset NUMBER(5),
s_tax_precentage NUMBER(5)
) &compression initrans 16
STORAGE (INITIAL 1M NEXT 1M);
--
-- Create statement for table STORE_RETURNS
--
CREATE TABLE store_returns (
sr_returned_date_sk NUMBER,
sr_return_time_sk NUMBER,
sr_item_sk NUMBER NOT NULL,
sr_customer_sk NUMBER,
sr_cdemo_sk NUMBER,
sr_hdemo_sk NUMBER,
sr_addr_sk NUMBER,
sr_store_sk NUMBER,
sr_reason_sk NUMBER,
sr_ticket_number NUMBER NOT NULL,
sr_return_quantity NUMBER,
sr_return_amt NUMBER(7),
sr_return_tax NUMBER(7),
sr_return_amt_inc_tax NUMBER(7),
sr_fee NUMBER(7),
sr_return_ship_cost NUMBER(7),
sr_refunded_cash NUMBER(7),
sr_reversed_charge NUMBER(7),
sr_store_credit NUMBER(7),
sr_net_loss NUMBER(7)
) &compression initrans 16
STORAGE (INITIAL 16M NEXT 16M);
--
-- Create statement for table STORE_SALES
--
CREATE TABLE store_sales (
ss_sold_date_sk NUMBER,
ss_sold_time_sk NUMBER,
ss_item_sk NUMBER NOT NULL,
ss_customer_sk NUMBER,
ss_cdemo_sk NUMBER,
ss_hdemo_sk NUMBER,
ss_addr_sk NUMBER,
ss_store_sk NUMBER,
ss_promo_sk NUMBER,
ss_ticket_number NUMBER NOT NULL,
ss_quantity NUMBER,
ss_wholesale_cost NUMBER(7),
ss_list_price NUMBER(7),
ss_sales_price NUMBER(7),
ss_ext_discount_amt NUMBER(7),
ss_ext_sales_price NUMBER(7),
ss_ext_wholesale_cost NUMBER(7),
ss_ext_list_price NUMBER(7),
ss_ext_tax NUMBER(7),
ss_coupon_amt NUMBER(7),
ss_net_paid NUMBER(7),
ss_net_paid_inc_tax NUMBER(7),
ss_net_profit NUMBER(7)
) &compression initrans 16
STORAGE (INITIAL 16M NEXT 16M);
--
-- Create statement for table TIME_DIM
--
CREATE TABLE time_dim (
t_time_sk NUMBER NOT NULL,
t_time_id CHAR(16) NOT NULL,
t_time NUMBER,
t_hour NUMBER,
t_minute NUMBER,
t_second NUMBER,
t_am_pm CHAR(2),
t_shift CHAR(20),
t_sub_shift CHAR(20),
t_meal_time CHAR(20)
) &compression initrans 16
STORAGE (INITIAL 1M NEXT 1M);
--
-- Create statement for table WAREHOUSE
--
CREATE TABLE warehouse (
w_warehouse_sk NUMBER NOT NULL,
w_warehouse_id CHAR(16) NOT NULL,
w_warehouse_name VARCHAR2(20),
w_warehouse_sq_ft NUMBER,
w_street_number CHAR(10),
w_street_name VARCHAR2(60),
w_street_type CHAR(15),
w_suite_number CHAR(10),
w_city VARCHAR2(60),
w_county VARCHAR2(50),
w_state CHAR(2),
w_zip CHAR(10),
w_country VARCHAR2(20),
w_gmt_offset NUMBER(5)
) &compression initrans 16
STORAGE (INITIAL 1M NEXT 1M);
--
-- Create statement for table WEB_PAGE
--
CREATE TABLE web_page (
wp_web_page_sk NUMBER NOT NULL,
wp_web_page_id CHAR(16) NOT NULL,
wp_rec_start_date DATE,
wp_rec_end_date DATE,
wp_creation_date_sk NUMBER,
wp_access_date_sk NUMBER,
wp_autogen_flag CHAR(1),
wp_customer_sk NUMBER,
wp_url VARCHAR2(100),
wp_type CHAR(50),
wp_char_count NUMBER,
wp_link_count NUMBER,
wp_image_count NUMBER,
wp_max_ad_count NUMBER
) &compression initrans 16
STORAGE (INITIAL 1M NEXT 1M);
--
-- Create statement for table WEB_RETURNS
--
CREATE TABLE web_returns (
wr_returned_date_sk NUMBER,
wr_returned_time_sk NUMBER,
wr_item_sk NUMBER NOT NULL,
wr_refunded_customer_sk NUMBER,
wr_refunded_cdemo_sk NUMBER,
wr_refunded_hdemo_sk NUMBER,
wr_refunded_addr_sk NUMBER,
wr_returning_customer_sk NUMBER,
wr_returning_cdemo_sk NUMBER,
wr_returning_hdemo_sk NUMBER,
wr_returning_addr_sk NUMBER,
wr_web_page_sk NUMBER,
wr_reason_sk NUMBER,
wr_order_number NUMBER NOT NULL,
wr_return_quantity NUMBER,
wr_return_amt NUMBER(7),
wr_return_tax NUMBER(7),
wr_return_amt_inc_tax NUMBER(7),
wr_fee NUMBER(7),
wr_return_ship_cost NUMBER(7),
wr_refunded_cash NUMBER(7),
wr_reversed_charge NUMBER(7),
wr_account_credit NUMBER(7),
wr_net_loss NUMBER(7)
) &compression initrans 16
STORAGE (INITIAL 16M NEXT 16M);
--
-- Create statement for table WEB_SALES
--
CREATE TABLE web_sales (
ws_sold_date_sk NUMBER,
ws_sold_time_sk NUMBER,
ws_ship_date_sk NUMBER,
ws_item_sk NUMBER NOT NULL,
ws_bill_customer_sk NUMBER,
ws_bill_cdemo_sk NUMBER,
ws_bill_hdemo_sk NUMBER,
ws_bill_addr_sk NUMBER,
ws_ship_customer_sk NUMBER,
ws_ship_cdemo_sk NUMBER,
ws_ship_hdemo_sk NUMBER,
ws_ship_addr_sk NUMBER,
ws_web_page_sk NUMBER,
ws_web_site_sk NUMBER,
ws_ship_mode_sk NUMBER,
ws_warehouse_sk NUMBER,
ws_promo_sk NUMBER,
ws_order_number NUMBER NOT NULL,
ws_quantity NUMBER,
ws_wholesale_cost NUMBER(7),
ws_list_price NUMBER(7),
ws_sales_price NUMBER(7),
ws_ext_discount_amt NUMBER(7),
ws_ext_sales_price NUMBER(7),
ws_ext_wholesale_cost NUMBER(7),
ws_ext_list_price NUMBER(7),
ws_ext_tax NUMBER(7),
ws_coupon_amt NUMBER(7),
ws_ext_ship_cost NUMBER(7),
ws_net_paid NUMBER(7),
ws_net_paid_inc_tax NUMBER(7),
ws_net_paid_inc_ship NUMBER(7),
ws_net_paid_inc_ship_tax NUMBER(7),
ws_net_profit NUMBER(7)
) &compression initrans 16
STORAGE (INITIAL 16M NEXT 16M);
--
-- Create statement for table WEB_SITE
--
CREATE TABLE web_site (
web_site_sk NUMBER NOT NULL,
web_site_id CHAR(16) NOT NULL,
web_rec_start_date DATE,
web_rec_end_date DATE,
web_name VARCHAR2(50),
web_open_date_sk NUMBER,
web_close_date_sk NUMBER,
web_class VARCHAR2(50),
web_manager VARCHAR2(40),
web_mkt_id NUMBER,
web_mkt_class VARCHAR2(50),
web_mkt_desc VARCHAR2(100),
web_market_manager VARCHAR2(40),
web_company_id NUMBER,
web_company_name CHAR(50),
web_street_number CHAR(10),
web_street_name VARCHAR2(60),
web_street_type CHAR(15),
web_suite_number CHAR(10),
web_city VARCHAR2(60),
web_county VARCHAR2(40),
web_state CHAR(2),
web_zip CHAR(10),
web_country VARCHAR2(20),
web_gmt_offset NUMBER(5),
web_tax_percentage NUMBER(5)
) &compression initrans 16
STORAGE (INITIAL 1M NEXT 1M);
-- Exit
|
TRUNCATE TABLE `sub_tipologias`;
INSERT INTO `sub_tipologias` (`id`, `tipologia_id`, `prioridad`, `descripcion`, `created_at`, `updated_at`, `unidad_requerida`, `ruta_requerida`, `parada_requerida`) VALUES
(1, 1, 100, 'Manejaba a exceso de velocidad o de forma brusca', NULL, NULL, 1, 0, 0),
(2, 1, 100, 'No me hizo la parada ', NULL, NULL, 1, 1, 1),
(3, 1, 100, 'No se detuvo para poder descender de la unidad en parada establecida', NULL, NULL, 1, 1, 1),
(4, 1, 100, 'Avanzó aún cuando no terminaba de subirme a la unidad', NULL, NULL, 1, 1, 1),
(5, 1, 100, 'El conductor se salió de la ruta establecida.', NULL, NULL, 1, 0, 0),
(6, 1, 100, 'Avanzó o no se detuvo completamente aún cuando no terminaba de bajarme de la unidad', NULL, NULL, 1, 1, 1),
(7, 1, 100, 'Se detuvo a comprar algo o platicar con otro conductor', NULL, NULL, 1, 0, 0),
/*(8, 1, 100, 'Otro', NULL, NULL, 1, 0, 0),*/
(9, 1, 100, 'No fue amable o me faltó al respeto', NULL, NULL, 1, 0, 0),
(10, 1, 100, 'Viajaba con un acompañante', NULL, NULL, 1, 0, 0),
(12, 1, 100, 'Escuchó música mientras manejaba', NULL, NULL, 1, 0, 0),
(13, 1, 100, 'Habló o escribió por celular', NULL, NULL, 1, 0, 0),
(14, 1, 100, 'Comió mientras brindaba el servicio', NULL, NULL, 1, 0, 0),
(15, 1, 100, 'Fumó mientras brindaba el servicio', NULL, NULL, 1, 0, 0),
(16, 1, 100, 'No observó que se respetarán los asientos preferenciales', NULL, NULL, 1, 0, 0),
/*(17, 1, 100, 'Otro', NULL, NULL, 1, 0, 0),*/
(18, 1, 100, 'No contaba con gafete de identificación', NULL, NULL, 1, 0, 0),
(19, 1, 100, 'No contaba con uniforme', NULL, NULL, 1, 0, 0),
(20, 1, 100, 'Lucía sucio o desalineado', NULL, NULL, 1, 0, 0),
/*(21, 1, 100, 'Otro', NULL, NULL, 1, 0, 0),*/
(22, 2, 100, 'No tenía la ruta visible o su número económico', NULL, NULL, 1, 0, 0),
(23, 2, 100, 'Se veía chocada', NULL, NULL, 1, 0, 0),
(24, 2, 100, 'Estaba en malas condiciones de pintura', NULL, NULL, 1, 0, 0),
/*(25, 2, 100, 'Otro', NULL, NULL, 1, 0, 0),*/
(26, 2, 100, 'Tenía el escalón de ascenso muy alto y se me dificultó subir o bajar de la unidad', NULL, NULL, 1, 0, 0),
(27, 2, 100, 'No tenía pasamanos o puntos de sujeción', NULL, NULL, 1, 0, 0),
(28, 2, 100, 'Tenía asiento(s) en mal estado', NULL, NULL, 1, 0, 0),
(29, 2, 100, 'No tenía o no le funcionaba el timbre', NULL, NULL, 1, 0, 0),
(30, 2, 100, 'Tenía ventana (s) rotas o en mal estado', NULL, NULL, 1, 0, 0),
(31, 2, 100, 'Tenía goteras', NULL, NULL, 1, 0, 0),
/*(32, 2, 100, 'Otro', NULL, NULL, 1, 0, 0),*/
(33, 2, 100, 'El ruido del motor era muy fuerte al interior del salón de pasajeros', NULL, NULL, 1, 0, 0),
(34, 2, 100, 'La ventilación era inadecuada', NULL, NULL, 1, 0, 0),
(35, 2, 100, 'No tenía iluminación al interior del salón de pasajeros', NULL, NULL, 1, 0, 0),
(36, 2, 100, 'Olia mal', NULL, NULL, 1, 0, 0),
(37, 2, 100, 'Estaba sucia ', NULL, NULL, 1, 0, 0),
(38, 2, 100, 'Estaba grafiteada', NULL, NULL, 1, 0, 0),
/*(39, 2, 100, 'Otro', NULL, NULL, 1, 0, 0),*/
(40, 3, 100, 'Durante mi viaje, la unidad participó en un accidente', NULL, NULL, 1, 0, 0),
(41, 3, 100, 'Recibí algún tipo de acoso en mi viaje', NULL, NULL, 1, 0, 0),
(42, 3, 100, 'Sufrí un robo o un asalto al interior de la unidad', NULL, NULL, 1, 0, 0),
/*(43, 3, 100, 'Otro', NULL, NULL, 1, 0, 0),*/
(44, 3, 100, 'Las unidades tardan mucho en pasar', NULL, NULL, 0, 1, 1),
(45, 3, 100, 'No encontré autobús aún y cuando estaba dentro de horario de servicio', NULL, NULL, 0, 1, 1),
(46, 3, 100, 'Mi viaje duró más tiempo del que normalmente realizo para llegar a mi destino', NULL, NULL, 1, 0, 0),
(47, 3, 100, 'Mi viaje fue incómodo por las condiciones de las calles', NULL, NULL, 0, 1, 0),
(48, 3, 100, 'La parada no estaba bien señalizada', NULL, NULL, 0, 1, 1),
(49, 3, 100, 'La parada no estaba bien iluminada', NULL, NULL, 0, 1, 1),
(50, 3, 100, 'La parada estaba sucia o en mal estado', NULL, NULL, 0, 1, 1),
/*(51, 3, 100, 'Otro', NULL, NULL, 0, 1, 0),*/
(52, 4, 100, 'El validador se encontraba apagado', NULL, NULL, 0, 0, 0),
(53, 4, 100, 'El validador devuelve las monedas.', NULL, NULL, 0, 0, 0),
(54, 4, 100, 'El validador no detecta mi tarjeta de usuario.', NULL, NULL, 0, 0, 0),
/*(55, 4, 100, 'Otro', NULL, NULL, 0, 0, 0),*/
(56, 5, 100, 'Máquina fuera de servicio.', NULL, NULL, 0, 0, 0),
(57, 5, 100, 'Recarga fallida.', NULL, NULL, 0, 0, 0),
(58, 5, 100, 'No hay tarjetas disponibles en la máquina.', NULL, NULL, 0, 0, 0),
(59, 5, 100, 'La máquina no detecta el efectivo.', NULL, NULL, 0, 0, 0),
(60, 5, 100, 'Otro', NULL, NULL, 0, 0, 0);
|
-- @testpoint:openGauss关键字Delete(非保留),作为列名不带双引号,Delete大小写混合,建表成功
drop table if exists Delete_test;
create table Delete_test(
c_id int, c_int int, c_integer integer, c_bool int, c_boolean int, c_bigint integer,
c_real real, c_double real,
c_decimal decimal(38), c_number number(38), c_numeric numeric(38),
c_char char(50) default null, c_varchar varchar(20), c_varchar2 varchar2(4000),
c_date date, c_datetime date, c_timestamp timestamp,
Delete text
)
PARTITION BY RANGE (c_integer)
(
partition P_20180121 values less than (0),
partition P_20190122 values less than (50000),
partition P_20200123 values less than (100000),
partition P_max values less than (maxvalue)
);
select * from Delete_test;
drop table Delete_test;
--openGauss关键字delete(非保留),作为列名不带双引号,delete大小匹配,建表成功
drop table if exists Collation_Catalog_test;
create table Collation_Catalog_test(
c_id int, c_int int, c_integer integer, c_bool int, c_boolean int, c_bigint integer,
c_real real, c_double real,
c_decimal decimal(38), c_number number(38), c_numeric numeric(38),
c_char char(50) default null, c_varchar varchar(20), c_varchar2 varchar2(4000),
c_date date, c_datetime date, c_timestamp timestamp,
delete text
)
PARTITION BY RANGE (c_integer)
(
partition P_20180121 values less than (0),
partition P_20190122 values less than (50000),
partition P_20200123 values less than (100000),
partition P_max values less than (maxvalue)
);
select * from Collation_Catalog_test;
drop table Collation_Catalog_test;
|
INSERT INTO `list_ugroup` (`id`, `name`, `description`, `t_add`, `t_upd`) VALUES (1,'SuperUsers','Almighty users',1346834353,1346834423),(2,'Registered','Lowest level of users',1346834458,-1),(7,'ServerAdmins','ServerAdmins',1347298540,1347298545);
|
select count(*) from cast_tbl_1 a, cast_tbl_2 b where a.c_timestamp = b.c_boolean;
|
CREATE TABLE dept_locations (
dnumber integer(4),
dlocation varchar(20),
primary key (dnumber, dlocation)
);
CREATE TABLE dependent (
essn char(9),
dependent_name varchar(20) not null,
sex char,
bdate date,
relationship varchar(15),
primary key (essn, dependent_name)
);
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
CREATE TABLE `peliculas` (
`idpeliculas` int(11) NOT NULL,
`nombre` varchar(45) NOT NULL,
`tipo` varchar(45) NOT NULL,
`imagen` longtext,
`trailer` varchar(250) DEFAULT NULL,
`link` varchar(200) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
INSERT INTO `peliculas` (`idpeliculas`, `nombre`, `tipo`, `imagen`, `trailer`, `link`) VALUES
(1, 'glass', 'accion', 'https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/glass-poster-1543569732.jpg?crop=1xw:1xh;center,top&resize=480:*', 'https://www.youtube.com/embed/cKQaJeHOXuA', 'https://mega.nz/#!OUMlSa5a!xC_IA--6sHlSZLQJxjEVA4A1l3ij8Huk87FQ1D-ZlLM'),
(2, 'aquaman', 'accion', 'https://asturscore.com/wp-content/uploads/2018/12/Caratula-BSO-Aquaman-Rupert-Gregson-Williams.jpg', 'https://www.youtube.com/embed/FR1V6iRB02w', 'https://mega.nz/#!y0MQ0ITC!Zf623lBo-Vd23tz9DIGaqsL9gUKSMoKh51ntQny4Q2g'),
(3, 'Queen', 'rock', 'http://metalegun.com/wp-content/uploads/2018/05/queen-cartel-1.jpg', 'https://www.youtube.com/embed/U_Dn3SXupUg', 'https://mega.nz/#!W892kAQS!YZozNIlcC7wVdGrUzjG_6rR27lyjkQfVCE87UtuGYrY'),
(4, 'Dragon ball super Broly', 'anime', 'https://img.depor.com/files/article_content_ec_fotos/uploads/2018/12/09/5c0dc084e98a6.jpeg', 'https://www.youtube.com/embed/dl3w10VVQj8', 'https://mega.nz/#!7sNTFABB!HxRf1B0sqh31xl5RWuzHqDSDFI2Hps6eE6m2W3IdrHk'),
(5, 'capitana marvel', 'acción', 'https://vignette.wikia.nocookie.net/marvelcinematicuniverse/images/b/b2/Captain_Marvel_-_Logo_Trailer.png/revision/latest?cb=20181124211459&path-prefix=es', 'https://www.youtube.com/embed/JfqeYqTvGBY', 'https://mega.nz/#F!rstAjIIA!tvJ4jlQWKGq41Q3zdbc37g'),
(6, 'Como entrenar a tu dragon 3', 'infantil', 'https://www.informador.mx/__export/1549023453866/sites/elinformador/img/2019/02/01/49671109_374887036649047_5966481023284805632_n_crop1549023307703.jpg_1970638775.jpg', 'https://www.youtube.com/embed/DWXJdezkThk', 'https://mega.nz/#F!PlFGgSCS!xSv10b7lCsvbYVxHZQNZug'),
(7, 'HellBoy 2019', 'acción', 'https://vignette.wikia.nocookie.net/doblaje/images/e/e3/Hellboy_2019_poster_LA.png/revision/latest?cb=20190412034354&path-prefix=es', 'https://www.youtube.com/embed/ZsBO4b3tyZg', 'https://mega.nz/#F!GwMUnaRa!zFeqllGBL8p9fXUA8vbs9Q'),
(8, 'Detective pikachu', 'anime', 'https://larepublica.pe/resizer/HaEe-9Htv8WGkSSfPYNed0n5c7c=/646x380/smart/arc-anglerfish-arc2-prod-gruporepublica.s3.amazonaws.com/public/2LC6CNB72RBURNY43FL3KEWV3A.jpg', 'https://www.youtube.com/embed/bILE5BEyhdo', 'https://mega.nz/#F!HtclWQxZ!e32sarfk_WuumO45b4GAug'),
(9, 'Shazam', 'accion', 'https://www.eltiempo.com/files/article_main/uploads/2019/04/03/5ca4b94de9dbc.jpeg', 'https://www.youtube.com/embed/AU1L6TdRPK0', 'https://mega.nz/#F!P9MXGIKB!-gM9xBHBjIEVVGaz_rRoCw'),
(10, 'Cementerio Maldito', 'terror', 'https://pics.filmaffinity.com/pet_sematary-289818809-large.jpg', 'https://www.youtube.com/embed/8PQ5kdXuVUs', 'https://mega.nz/#F!3pUFzAKR!37olufItd4D3voPBUbn3tQ'),
(11, 'Avengers EndGame', 'accion', 'https://is3-ssl.mzstatic.com/image/thumb/Video113/v4/6e/47/f6/6e47f680-ac54-21ff-a37a-3aab1a9970b0/DIS_AV_ENDGAME_FINAL_ENGLISH_US_WW_WW_ARTWORK_EN_2000x3000_1OWPBJ00000GQ6.lsr/268x0w.jpg', 'https://www.youtube.com/embed/9hpWz0ZMFAo', 'https://mega.nz/#F!O4sBHYRY!-2s3U34FovfmUSLxGQG46g'),
(12, 'plan de escape 3', 'acción', 'https://repelisgo.com/_images/posters/YCckTBb9o3N2LETmZMZseHv/280x420.jpg', 'https://www.youtube.com/embed/eBrPYlleNmk', 'https://mega.nz/#F!H0sXhaqK!a7e8aebYBkxLxYJhhRzZ1Q'),
(13, 'La razon de estar contigo 2', 'familiar', 'http://bajalogratis.com/wp-content/uploads/2019/08/La_raz_n_de_estar.jpg', 'https://www.youtube.com/embed/7mljHYAgE1M', 'https://mega.nz/#F!asNmGQDT!UEexaOZ7wDPbYbMvsj5RaA'),
(14, 'la vida secreta de tus mascotas 2', 'familiar', 'https://cineplanechitstatic.azureedge.net/CDN/media/entity/get/FilmPosterGraphic/HO00000452?referenceScheme=HeadOffice&allowPlaceHolder=true', 'https://www.youtube.com/embed/mRbjAXjOcKg', 'https://mega.nz/#F!mtUymALR!nG9C4VziXg-aegfp3dW_3A'),
(15, 'john wick 3 pelicula', 'accion', 'https://www-cinemascomics-com.exactdn.com/wp-content/uploads/2018/04/john-wick-3.jpg?strip=all&lossy=1&ssl=1', 'https://www.youtube.com/embed/9CHmEHBKuyE', 'https://mega.nz/#F!CgEyQYpZ!Nc61usNdWwlqTZ4BvuU6-g'),
(16, 'Aladdin', 'familiar', 'https://www.dodmagazine.es/wp-content/uploads/2019/05/aladdin-2019-banda-sonora.jpg', 'https://www.youtube.com/embed/foyufD52aog', 'https://mega.nz/#F!TlMxRQwR!SUaSBTqnAVznwrl4e1iaxA'),
(17, 'xmen dark fenix', 'acción', 'https://repelisgo.com/_images/posters/ZhFysqgjPj5KUCjcbYpeasH/280x420.jpg', 'https://www.youtube.com/embed/Nly3-14vLh0', 'https://mega.nz/#F!T89BnYQR!q_Uc5CPjX165KhAfYFnHyg'),
(18, 'Los muertos no mueren', 'terror', 'https://pics.filmaffinity.com/Los_muertos_no_mueren-429140432-large.jpg', 'https://www.youtube.com/embed/5ZCVhFmbAY0', 'https://mega.nz/#F!Xt1nEI5J!kbaVWMUKM8XUnkc40X1Njg'),
(19, 'Anabell 3', 'terror', 'https://static.pelisplus.co/movie/cover/original/72c5cf022700110838c6a9238f7698eb.jpg', 'https://www.youtube.com/embed/KUnKWjeQA9A', 'https://mega.nz/#F!a5sHzahR!05U44GTOP-xqapDnHNntzg'),
(20, 'Spider-man lejos de casa', 'accion', 'https://pics.filmaffinity.com/Spider_Man_Lejos_de_casa-339542528-large.jpg', 'https://www.youtube.com/embed/m4DVLBdHiG0', 'https://mega.nz/#F!i40FxACK!39UqBG6d_MNKQaWDg1w2sg');
CREATE TABLE `rentas` (
`idrentas` int(11) NOT NULL,
`nombre_usuario` varchar(45) NOT NULL,
`pelicula` varchar(150) NOT NULL,
`fecha_renta` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE `usuario` (
`idusuario` int(11) NOT NULL,
`nombre` varchar(45) NOT NULL,
`contra` varchar(150) NOT NULL,
`correo` varchar(150) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
INSERT INTO `usuario` (`idusuario`, `nombre`, `contra`, `correo`) VALUES
(1, 'marco', '40bd001563085fc35165329ea1ff5c5ecbdbbeef', 'maca9608@gmail.com'),
(17, 'uli', '40bd001563085fc35165329ea1ff5c5ecbdbbeef', 'uli@gmail.com'),
(19, 'Fernanda', '0a056d284190cb6ab5d19888f2d683afebfc6519', 'fdrgares@gmail.com'),
(20, 'jose', '40bd001563085fc35165329ea1ff5c5ecbdbbeef', 'josejiji@gmail.com'),
(23, 'beto', '40bd001563085fc35165329ea1ff5c5ecbdbbeef', 'beto@gmail.com'),
(24, 'Gabriel', '40bd001563085fc35165329ea1ff5c5ecbdbbeef', 'angelmolinagranados@gmail.com');
ALTER TABLE `peliculas`
ADD PRIMARY KEY (`idpeliculas`);
ALTER TABLE `rentas`
ADD PRIMARY KEY (`idrentas`);
ALTER TABLE `usuario`
ADD PRIMARY KEY (`idusuario`),
ADD UNIQUE KEY `nombre` (`nombre`),
ADD UNIQUE KEY `nombre_2` (`nombre`);
ALTER TABLE `peliculas`
MODIFY `idpeliculas` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;
ALTER TABLE `rentas`
MODIFY `idrentas` int(11) NOT NULL AUTO_INCREMENT;
ALTER TABLE `usuario`
MODIFY `idusuario` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;
COMMIT;
|
BEGIN;
ALTER TABLE lsif_data_documents DROP COLUMN IF EXISTS schema_version;
ALTER TABLE lsif_data_documents DROP COLUMN IF EXISTS num_diagnostics;
COMMIT;
|
-- PROCEDURE: dbo.migrate_contracts()
-- DROP PROCEDURE dbo.migrate_contracts();
CREATE OR REPLACE PROCEDURE dbo.migrate_contracts(
)
LANGUAGE 'sql'
AS $BODY$
ALTER TABLE public.available_appointments DROP CONSTRAINT fk_available_appointments_contractors_contractor_reference;
TRUNCATE public.contractors
,public.contracts
,public.property_contracts
,public.sor_codes
,public.sor_contracts
,public.sor_priorities
,public.trades;
/*
CREATE TABLE priority_map AS
SELECT * FROM (VALUES
('I', 1, true),
('E', 2, true),
('U', 3, true),
('N', 4, true))
as t (uh_code, repair_code, enabled);
*/
INSERT INTO public.contractors (reference, "name")
SELECT sup_ref, sup_name FROM dbo.supplier_uht_data_restore;
INSERT INTO public.trades (code, "name")
SELECT trade, trade_desc FROM dbo.rmtrade_uht_data_restore;
INSERT INTO public.contracts (contract_reference, termination_date, effective_date, contractor_reference)
SELECT rc_ref, rc_term, rc_eff, sup_ref FROM dbo.rmcontct_uht_data_restore
WHERE sup_ref IN (SELECT reference FROM public.contractors);
INSERT INTO public.sor_priorities (priority_code, description, days_to_complete, enabled)
SELECT m.repair_code, pri.desc_tion, pri.days_to_complete, m.enabled FROM
dbo.rmprior_uht_data_restore pri
INNER JOIN priority_map m ON m.uh_code = pri.priority;
INSERT INTO public.sor_codes (code, short_description, long_description,
"cost", --PROBLEM: missing rows in jobcst
trade_code,
priority_id,
enabled)
SELECT
DISTINCT -- PROBLEM duplicate jobs in UH
sor.job_code,
sor.short_desc,
sor.full_desc,
cst.cost, --PROBLEM: missing rows in jobcst
sor.trade,
m.repair_code,
CASE WHEN sor.job_code IN (SELECT code FROM dbo.sor_code_whitelist) THEN true ELSE false END
FROM dbo.rmjob_uht_data_restore sor
INNER JOIN priority_map m ON m.uh_code = sor.def_prior
LEFT JOIN ( -- Getting most recent cost
SELECT innerCst.*
FROM dbo.rmjobcst_uht_data_restore innerCst
INNER JOIN dbo.rmjob_uht_data_restore innerJob ON innerCst.job_code = innerJob.job_code
ORDER BY eff_date DESC
LIMIT 1
) cst ON cst.job_code = sor.job_code
WHERE sor.trade IN (SELECT code FROM public.trades);
INSERT INTO public.sor_contracts (sor_code_code, contract_reference, "cost")
SELECT
DISTINCT --PROBLEM duplicate rows in contdt probably related to duplicate rmjobs
job_code, rc_ref, "cost" FROM dbo.rmcontdt_uht_data_restore
WHERE rc_ref IN (SELECT contract_reference FROM public.contracts)
AND job_code IN (SELECT code FROM public.sor_codes)
AND sysgen=false;
-- PROBLEM: Takes Too Long
INSERT INTO public.property_contracts (prop_ref, contract_reference)
SELECT prop_ref, rc_ref FROM dbo.rmcontprop_uht_data_restore
WHERE rc_ref IN (SELECT contract_reference FROM public.contracts);
ALTER TABLE public.available_appointments
ADD CONSTRAINT fk_available_appointments_contractors_contractor_reference FOREIGN KEY (contractor_reference)
REFERENCES public.contractors (reference) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE RESTRICT;
$BODY$;
|
-- file:tinterval.sql ln:85 expect:true
SELECT '' AS five, t1.f1
FROM TINTERVAL_TBL t1
WHERE not t1.f1 <<
tinterval '["Aug 15 14:23:19 1980" "Sep 16 14:23:19 1990"]'
ORDER BY t1.f1
|
-- phpMyAdmin SQL Dump
-- version 5.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Dec 08, 2020 at 01:33 PM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.4.2
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `data`
--
-- --------------------------------------------------------
--
-- Table structure for table `applicants`
--
CREATE TABLE `applicants` (
`username` varchar(255) NOT NULL,
`firstname` varchar(255) DEFAULT NULL,
`lastname` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `applicants`
--
INSERT INTO `applicants` (`username`, `firstname`, `lastname`) VALUES
('alfred@gmail.com', 'michael', 'hilda'),
('love', 'family', 'kafwihi'),
('lyrn', 'Praise', 'kafwihi');
-- --------------------------------------------------------
--
-- Table structure for table `interviews`
--
CREATE TABLE `interviews` (
`interview_id` bigint(20) NOT NULL,
`applicant_username` varchar(255) DEFAULT NULL,
`career_jobname` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `interviews`
--
INSERT INTO `interviews` (`interview_id`, `applicant_username`, `career_jobname`) VALUES
(25, 'lyrn', 'designer2'),
(26, 'lyrn', 'designer1');
-- --------------------------------------------------------
--
-- Table structure for table `jobs`
--
CREATE TABLE `jobs` (
`jobname` varchar(255) NOT NULL,
`description` varchar(255) DEFAULT NULL,
`education_level` varchar(255) DEFAULT NULL,
`interview_date` datetime NOT NULL,
`interview_end_time` varchar(255) DEFAULT NULL,
`interview_start_time` varchar(255) NOT NULL,
`status` varchar(255) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
`years_of_experience` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `jobs`
--
INSERT INTO `jobs` (`jobname`, `description`, `education_level`, `interview_date`, `interview_end_time`, `interview_start_time`, `status`, `type`, `years_of_experience`) VALUES
('designer1', 'desiging systems', 'Bachelar ', '2020-12-14 00:00:00', '10:00', '9:30', 'vacant', 'test2', '4'),
('designer2', 'desiging systems', 'Bachelar ', '2020-12-15 00:00:00', '10:00', '9:30', 'vacant', 'test2', '4'),
('designer3', 'desiging systems', 'Bachelar ', '2020-12-16 00:00:00', '10:00', '9:30', 'vacant', 'test2', '4');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`username` varchar(255) NOT NULL,
`password` varchar(255) DEFAULT NULL,
`permission` varchar(255) DEFAULT NULL,
`previlage` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`username`, `password`, `permission`, `previlage`) VALUES
('admin@gmail.com', '$2a$10$tEbW50RrBgSQfXWLxkvhh.myfJVsi6p90dK9GBNmZM33aWbWZcnoq', 'pending', 'user'),
('test@gmail.com', '$2a$10$ewaXjliaZ16F2gtAQeN7ce5tn1rp58USB2bJoTFzWzpBoR0Dyda86', 'pending', 'user');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `applicants`
--
ALTER TABLE `applicants`
ADD PRIMARY KEY (`username`);
--
-- Indexes for table `interviews`
--
ALTER TABLE `interviews`
ADD PRIMARY KEY (`interview_id`),
ADD KEY `FK6fkh1i4c2lmrxjydhc3al1to6` (`applicant_username`),
ADD KEY `FK32c536dia0qtxcte1q30hvknb` (`career_jobname`);
--
-- Indexes for table `jobs`
--
ALTER TABLE `jobs`
ADD PRIMARY KEY (`jobname`),
ADD UNIQUE KEY `UK_omb21ey1q1d9qgg93te32mfhv` (`interview_date`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`username`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `interviews`
--
ALTER TABLE `interviews`
MODIFY `interview_id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `interviews`
--
ALTER TABLE `interviews`
ADD CONSTRAINT `FK32c536dia0qtxcte1q30hvknb` FOREIGN KEY (`career_jobname`) REFERENCES `jobs` (`jobname`),
ADD CONSTRAINT `FK6fkh1i4c2lmrxjydhc3al1to6` FOREIGN KEY (`applicant_username`) REFERENCES `applicants` (`username`);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
SELECT * FROM Genre
SELECT * FROM Artist
SELECT ArtistId from Artist
SELECT ArtistName from Artist
SELECT YearEstablished from Artist
SELECT * FROM Album
SELECT AlbumId from Album
SELECT Title FROM Album
SELECT ReleaseDate FROM Album
SELECT AlbumLength FROM Album
SELECT Label FROM Album
SELECT ArtistId FROM Album
SELECT GenreId FROM Album
SELECT * FROM Song
SELECT Title From Song
SELECT SongLength From Song
SELECT ReleaseDate From Song
SELECT GenreId From Song
SELECT ArtistId From Song
SELECT AlbumId From Song
INSERT INTO Artist (ArtistId, ArtistName, YearEstablished)
VALUES (28, 'Thrice', '1992');
INSERT INTO Album (AlbumId, Title, ReleaseDate, AlbumLength, Label, ArtistId, GenreId)
VALUES (24, 'The Artist In the Ambulance', '3/20/2012', 2356, 'Fueld By Ramen', 28, 9);
INSERT INTO Album (AlbumId, Title, ReleaseDate, AlbumLength, Label, ArtistId, GenreId)
VALUES (25, 'Vheissu', '6/3/2005', 3758, 'Fueld By Ramen', 28, 9);
INSERT INTO Song (SongId, Title, SongLength, ReleaseDate, GenreId, ArtistId, AlbumId)
VALUES (22, 'Artist in the Ambulance', 300, '3/20/2012', 9, 28, 24);
INSERT INTO Song (SongId, Title, SongLength, ReleaseDate, GenreId, ArtistId, AlbumId)
VALUES (23, 'Stare At the Sun', 345, '3/20/2012', 9, 28, 24);
INSERT INTO Album (AlbumId, Title, ReleaseDate, AlbumLength, Label, ArtistId, GenreId)
VALUES (23, 'The Sum of Who We Are', '5/23/2011', 2345, 'Epic Records', 29, 9);
SELECT column_name(s)
FROM table1
INNER JOIN table2 ON table1.column_name = table2.column_name;
SELECT a.Title, s.Title FROM Album a LEFT JOIN Song s ON s.AlbumId = a.AlbumId;
SELECT a.Title, s.Title FROM Song s LEFT JOIN Album a ON s.AlbumId = a.AlbumId;
SELECT ArtistId, ArtistName
FROM Artist
WHERE ArtistName = 'Jay Z' OR ArtistName = 'David Bowie';
SELECT ArtistName, YearEstablished
FROM Artist
ORDER BY YearEstablished, ArtistName ASC;
UPDATE Artist
SET ContactName = 'Alfred Schmidt', City= 'Frankfurt'
WHERE CustomerID = 1;
|
-- dapatkan semua produk yang harganya lebih tinggi dari harga "hoodie abu-abu"
SELECT name, price
FROM items
WHERE price > (
SELECT price
FROM items
WHERE name = "hoodie abu-abu"
);
|
{% macro timestamp_add(datepart, interval, from_timestamp) -%}
{{ adapter.dispatch('timestamp_add', 'fivetran_utils') (datepart, interval, from_timestamp) }}
{%- endmacro %}
{% macro default__timestamp_add(datepart, interval, from_timestamp) %}
timestampadd(
{{ datepart }},
{{ interval }},
{{ from_timestamp }}
)
{% endmacro %}
{% macro bigquery__timestamp_add(datepart, interval, from_timestamp) %}
timestamp_add({{ from_timestamp }}, interval {{ interval }} {{ datepart }})
{% endmacro %}
{% macro redshift__timestamp_add(datepart, interval, from_timestamp) %}
dateadd(
{{ datepart }},
{{ interval }},
{{ from_timestamp }}
)
{% endmacro %}
{% macro postgres__timestamp_add(datepart, interval, from_timestamp) %}
{{ from_timestamp }} + ((interval '1 {{ datepart }}') * ({{ interval }}))
{% endmacro %}
{% macro spark__timestamp_add(datepart, interval, from_timestamp) %}
{{ dbt_utils.dateadd(datepart, interval, from_timestamp) }}
{% endmacro %}
|
-- @testpoint: language不赋权限查询USAGE权限返回为true(本身带有sql语言权限)
DROP USER IF EXISTS joe CASCADE;
CREATE USER joe PASSWORD 'Bigdata@123';
select has_language_privilege ('joe', 'sql', 'USAGE');
DROP USER IF EXISTS joe CASCADE;
|
-- MySQL dump 10.13 Distrib 5.7.12, for Win64 (x86_64)
--
-- Host: localhost Database: oa_sys
-- ------------------------------------------------------
-- Server version 5.7.17-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `act_id_group`
--
DROP TABLE IF EXISTS `act_id_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `act_id_group` (
`ID_` varchar(64) COLLATE utf8_bin NOT NULL,
`REV_` int(11) DEFAULT NULL,
`NAME_` varchar(255) COLLATE utf8_bin DEFAULT NULL,
`TYPE_` varchar(255) COLLATE utf8_bin DEFAULT NULL,
PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `act_id_group`
--
LOCK TABLES `act_id_group` WRITE;
/*!40000 ALTER TABLE `act_id_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `act_id_group` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2020-01-13 11:40:54
|
ALTER TABLE business_sections ADD organizationid int DEFAULT NULL AFTER num;
INSERT INTO organizations(status, logo, phone, email, site) VALUES
(7, "", "", "", "");
SET @org_firstid := @last_inserted_id;
INSERT INTO organizations(status,logo,phone,email,site) VALUES
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", ""),
(7, "", "", "", "");
SET @id = @org_firstid - 1;
INSERT INTO organizations_tr(organizationid, languageid, shortname, fullname, address) VALUES
(@id := @id + 1, 0, "Военная академия ГШ ВС РФ", "Военная академия Генерального штаба Вооруженных Сил Российской Федерации",""),
(@id := @id + 1, 0, "Главное оперативное управление ГШ ВС РФ", "Главное оперативное управление Генерального штаба Вооруженных Сил Российской Федерации",""),
(@id := @id + 1, 0, "ГК СВ", "Главное командование Сухопутных Войск",""),
(@id := @id + 1, 0, "ГК ВМФ", "Главное командование Военно-Морского Флота",""),
(@id := @id + 1, 0, "ГК ВВС", "Главное командование Военно-воздушных сил",""),
(@id := @id + 1, 0, "Командование ВВКО", "Командование Войск Воздушно-космической обороны",""),
(@id := @id + 1, 0, "Командование РВСН", "Командование Ракетных войск стратегического назначения",""),
(@id := @id + 1, 0, "Командование ВДВ", "Командование Воздушно-десантных войск",""),
(@id := @id + 1, 0, "ГУ Связи ВС РФ", "Главное управление Связи Вооруженных Сил Российской Федерации",""),
(@id := @id + 1, 0, "Управление службы войск и безопасности военной службы МО РФ", "Управление службы войск и безопасности военной службы Министерства обороны Российской Федерации",""),
(@id := @id + 1, 0, "Военно-топографическое управление ГШ ВС РФ", "Военно-топографическое управление Генерального штаба Вооруженных Сил Российской Федерации",""),
(@id := @id + 1, 0, "ГУ развития информационных и телекоммуникационных технологий МО РФ", "Главное управление развития информационных и телекоммуникационных технологий Министерства обороны Российской Федерации",""),
(@id := @id + 1, 0, "Управление начальника инженерных войск ВС РФ", "Управление начальника инженерных войск Вооруженных Сил Российской Федерации",""),
(@id := @id + 1, 0, "Управление интеллектуальной собственности, военно-технического сотрудничества и экспертизы поставок ВВТ МО РФ", "Управление интеллектуальной собственности, военно-технического сотрудничества и экспертизы поставок ВВТ Министерства обороны Российской Федерации",""),
(@id := @id + 1, 0, "Штаб МТО ВС РФ", "Штаб материально-технического обеспечения Вооруженных Сил Российской Федерации",""),
(@id := @id + 1, 0, "ГУ научно-исследовательской деятельности и технологического сопровождения передовых технологий (инновационных исследований) МО РФ", "Главное управление научно-исследовательской деятельности и технологического сопровождения передовых технологий (инновационных исследований) Министерства обороны Российской Федерации",""),
(@id := @id + 1, 0, "Департамент эксплуатационного содержания и обеспечения коммунальными услугами воинских частей и организаций МО РФ", "Департамент эксплуатационного содержания и обеспечения коммунальными услугами воинских частей и организаций МО РФ",""),
(@id := @id + 1, 0, "Главное военно-медицинское управление МО РФ", "Главное военно-медицинское управление Министерства обороны Российской Федерации",""),
(@id := @id + 1, 0, "ГУ кадров МО РФ", "Главное управление кадров Министерства обороны Российской Федерации","");
SET @id = @org_firstid - 1;
INSERT INTO organizations_tr(organizationid, languageid, shortname, fullname, address) VALUES
(@id := @id + 1, 1, "Военная академия ГШ ВС РФ", "Военная академия Генерального штаба Вооруженных Сил Российской Федерации",""),
(@id := @id + 1, 1, "Главное оперативное управление ГШ ВС РФ", "Главное оперативное управление Генерального штаба Вооруженных Сил Российской Федерации",""),
(@id := @id + 1, 1, "ГК СВ", "Главное командование Сухопутных Войск",""),
(@id := @id + 1, 1, "ГК ВМФ", "Главное командование Военно-Морского Флота",""),
(@id := @id + 1, 1, "ГК ВВС", "Главное командование Военно-воздушных сил",""),
(@id := @id + 1, 1, "Командование ВВКО", "Командование Войск Воздушно-космической обороны",""),
(@id := @id + 1, 1, "Командование РВСН", "Командование Ракетных войск стратегического назначения",""),
(@id := @id + 1, 1, "Командование ВДВ", "Командование Воздушно-десантных войск",""),
(@id := @id + 1, 1, "ГУ Связи ВС РФ", "Главное управление Связи Вооруженных Сил Российской Федерации",""),
(@id := @id + 1, 1, "Управление службы войск и безопасности военной службы МО РФ", "Управление службы войск и безопасности военной службы Министерства обороны Российской Федерации",""),
(@id := @id + 1, 1, "Военно-топографическое управление ГШ ВС РФ", "Военно-топографическое управление Генерального штаба Вооруженных Сил Российской Федерации",""),
(@id := @id + 1, 1, "ГУ развития информационных и телекоммуникационных технологий МО РФ", "Главное управление развития информационных и телекоммуникационных технологий Министерства обороны Российской Федерации",""),
(@id := @id + 1, 1, "Управление начальника инженерных войск ВС РФ", "Управление начальника инженерных войск Вооруженных Сил Российской Федерации",""),
(@id := @id + 1, 1, "Управление интеллектуальной собственности, военно-технического сотрудничества и экспертизы поставок ВВТ МО РФ", "Управление интеллектуальной собственности, военно-технического сотрудничества и экспертизы поставок ВВТ Министерства обороны Российской Федерации",""),
(@id := @id + 1, 1, "Штаб МТО ВС РФ", "Штаб материально-технического обеспечения Вооруженных Сил Российской Федерации",""),
(@id := @id + 1, 1, "ГУ научно-исследовательской деятельности и технологического сопровождения передовых технологий (инновационных исследований) МО РФ", "Главное управление научно-исследовательской деятельности и технологического сопровождения передовых технологий (инновационных исследований) Министерства обороны Российской Федерации",""),
(@id := @id + 1, 1, "Департамент эксплуатационного содержания и обеспечения коммунальными услугами воинских частей и организаций МО РФ", "Департамент эксплуатационного содержания и обеспечения коммунальными услугами воинских частей и организаций МО РФ",""),
(@id := @id + 1, 1, "Главное военно-медицинское управление МО РФ", "Главное военно-медицинское управление Министерства обороны Российской Федерации",""),
(@id := @id + 1, 1, "ГУ кадров МО РФ", "Главное управление кадров Министерства обороны Российской Федерации","");
INSERT INTO business_sections(num, organizationid) VALUES(1, @org_firstid);
SET @sections_firstid := @last_inserted_id;
INSERT INTO business_sections(num, organizationid) VALUES(2, @org_firstid + 1);
INSERT INTO business_sections(num, organizationid) VALUES(3, @org_firstid + 2);
INSERT INTO business_sections(num, organizationid) VALUES(4, @org_firstid + 3);
INSERT INTO business_sections(num, organizationid) VALUES(5, @org_firstid + 4);
INSERT INTO business_sections(num, organizationid) VALUES(6, @org_firstid + 5);
INSERT INTO business_sections(num, organizationid) VALUES(7, @org_firstid + 6);
INSERT INTO business_sections(num, organizationid) VALUES(8, @org_firstid + 7);
INSERT INTO business_sections(num, organizationid) VALUES(9, @org_firstid + 8);
INSERT INTO business_sections(num, organizationid) VALUES(10, @org_firstid + 9);
INSERT INTO business_sections(num, organizationid) VALUES(11, @org_firstid + 10);
INSERT INTO business_sections(num, organizationid) VALUES(12, @org_firstid + 11);
INSERT INTO business_sections(num, organizationid) VALUES(13, @org_firstid + 12);
INSERT INTO business_sections(num, organizationid) VALUES(14, @org_firstid + 13);
INSERT INTO business_sections(num, organizationid) VALUES(15, @org_firstid + 14);
INSERT INTO business_sections(num, organizationid) VALUES(16, @org_firstid + 15);
INSERT INTO business_sections(num, organizationid) VALUES(17, @org_firstid + 16);
INSERT INTO business_sections(num, organizationid) VALUES(18, @org_firstid + 17);
INSERT INTO business_sections(num, organizationid) VALUES(19, @org_firstid + 18);
INSERT INTO business_sections(num, organizationid) VALUES(20, @org_firstid + 19);
INSERT INTO business_sections_tr(business_sectionid, languageid, name) VALUES
(@sections_firstid, 0, "Россия в современном мире. Вызовы и угрозы"),
(@sections_firstid + 1, 0, "Управление войсками (силами) и оружием. Моделирование военных (боевых) действий"),
(@sections_firstid + 2, 0, "Обеспечение национальной безопасности в Арктике"),
(@sections_firstid + 3, 0, "Актуальные проблемы развития Сухопутных войск"),
(@sections_firstid + 4, 0, "Актуальные проблемы развития Военно-Морского Флота"),
(@sections_firstid + 5, 0, "Актуальные проблемы развития Военно-воздушных сил"),
(@sections_firstid + 6, 0, "Актуальные проблемы развития космических сил и средств"),
(@sections_firstid + 7, 0, "Актуальные проблемы развития наземного стратегического вооружения"),
(@sections_firstid + 8, 0, "Актуальные проблемы развития Воздушно-десантных войск"),
(@sections_firstid + 9, 0, "Актуальные проблемы развития системы связи ВС РФ"),
(@sections_firstid + 10, 0, "Актуальные проблемы обеспечения безопасности военных объектов"),
(@sections_firstid + 11, 0, "Гидрометеорологическое, топогеодезическое и навигационное обеспечение войск (сил)"),
(@sections_firstid + 12, 0, "Средства и технологии связи и обработки информации"),
(@sections_firstid + 13, 0, "Инженерное обеспечение действий войск (сил)"),
(@sections_firstid + 14, 0, "Военно-техническое обеспечение войск (сил)"),
(@sections_firstid + 15, 0, "Актуальные вопросы материально-технического обеспечения войск (сил)"),
(@sections_firstid + 16, 0, "Робототехнические комплексы военного назначения"),
(@sections_firstid + 17, 0, "Актуальные проблемы обеспечения жизнедеятельности ВС РФ"),
(@sections_firstid + 18, 0, "Всестороннее обеспечение Вооруженных Сил"),
(@sections_firstid + 19, 0, "Воинское обучение и воспитание");
INSERT INTO business_sections_tr(business_sectionid, languageid, name) VALUES
(@sections_firstid, 0, "Россия в современном мире. Вызовы и угрозы"),
(@sections_firstid + 1, 1, "Управление войсками (силами) и оружием. Моделирование военных (боевых) действий"),
(@sections_firstid + 2, 1, "Обеспечение национальной безопасности в Арктике"),
(@sections_firstid + 3, 1, "Актуальные проблемы развития Сухопутных войск"),
(@sections_firstid + 4, 1, "Актуальные проблемы развития Военно-Морского Флота"),
(@sections_firstid + 5, 1, "Актуальные проблемы развития Военно-воздушных сил"),
(@sections_firstid + 6, 1, "Актуальные проблемы развития космических сил и средств"),
(@sections_firstid + 7, 1, "Актуальные проблемы развития наземного стратегического вооружения"),
(@sections_firstid + 8, 1, "Актуальные проблемы развития Воздушно-десантных войск"),
(@sections_firstid + 9, 1, "Актуальные проблемы развития системы связи ВС РФ"),
(@sections_firstid + 10, 1, "Актуальные проблемы обеспечения безопасности военных объектов"),
(@sections_firstid + 11, 1, "Гидрометеорологическое, топогеодезическое и навигационное обеспечение войск (сил)"),
(@sections_firstid + 12, 1, "Средства и технологии связи и обработки информации"),
(@sections_firstid + 13, 1, "Инженерное обеспечение действий войск (сил)"),
(@sections_firstid + 14, 1, "Военно-техническое обеспечение войск (сил)"),
(@sections_firstid + 15, 1, "Актуальные вопросы материально-технического обеспечения войск (сил)"),
(@sections_firstid + 16, 1, "Робототехнические комплексы военного назначения"),
(@sections_firstid + 17, 1, "Актуальные проблемы обеспечения жизнедеятельности ВС РФ"),
(@sections_firstid + 18, 1, "Всестороннее обеспечение Вооруженных Сил"),
(@sections_firstid + 19, 1, "Воинское обучение и воспитание");
-- мероприятия деловой программы
CREATE TABLE IF NOT EXISTS business_events (
id int NOT NULL UNIQUE AUTO_INCREMENT,
date DATETIME,
organizationid int NOT NULL,
members_limit int,
placeid int,
business_sectionid int,
FOREIGN KEY (id) REFERENCES objects(id) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (organizationid) REFERENCES organizations(id) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (placeid) REFERENCES places(id) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (business_sectionid) REFERENCES business_sections(id) ON DELETE CASCADE ON UPDATE CASCADE
);
DROP TRIGGER IF EXISTS business_events_object_insert;
DELIMITER //
CREATE TRIGGER business_events_object_insert BEFORE INSERT ON business_events
FOR EACH ROW
BEGIN
INSERT INTO objects(createtime) VALUES(CURRENT_TIMESTAMP);
SET NEW.id = LAST_INSERT_ID();
SET @last_inserted_id = NEW.id;
END //
DELIMITER ;
-- транcляции для текстовых полей
CREATE TABLE IF NOT EXISTS business_events_tr (
id int NOT NULL AUTO_INCREMENT,
business_eventid INT NOT NULL,
languageid INT NOT NULL, -- 0 - RU, 1 - EN
header varchar(256) NOT NULL,
details text,
PRIMARY KEY (id),
FOREIGN KEY (business_eventid) REFERENCES business_events(id) ON DELETE CASCADE ON UPDATE CASCADE
);
-- связка представителя с мероприятием деловой программы
CREATE TABLE IF NOT EXISTS person_business_events (
id int NOT NULL UNIQUE AUTO_INCREMENT,
personid int NOT NULL,
business_eventid int NOT NULL,
FOREIGN KEY (personid) REFERENCES persons(id) ON DELETE CASCADE ON UPDATE CASCADE,
FOREIGN KEY (business_eventid) REFERENCES business_events(id) ON DELETE CASCADE ON UPDATE CASCADE
);
-- business_events
CREATE TRIGGER business_events_insert AFTER INSERT ON business_events
FOR EACH ROW INSERT INTO changes(entity, changetype, rowid) VALUES('business_events', 0, NEW.id);
CREATE TRIGGER business_events_update AFTER UPDATE ON business_events
FOR EACH ROW INSERT INTO changes(entity, changetype, rowid) VALUES('business_events', 1, NEW.id);
CREATE TRIGGER business_events_delete AFTER DELETE ON business_events
FOR EACH ROW INSERT INTO changes(entity, changetype, rowid) VALUES('business_events', 2, OLD.id);
-- business_events_tr
CREATE TRIGGER business_events_tr_insert AFTER INSERT ON business_events_tr
FOR EACH ROW INSERT INTO changes(entity, changetype, rowid) VALUES('business_events_tr', 0, NEW.id);
CREATE TRIGGER business_events_tr_update AFTER UPDATE ON business_events_tr
FOR EACH ROW INSERT INTO changes(entity, changetype, rowid) VALUES('business_events_tr', 1, NEW.id);
CREATE TRIGGER business_events_tr_delete AFTER DELETE ON business_events_tr
FOR EACH ROW INSERT INTO changes(entity, changetype, rowid) VALUES('business_events_tr', 2, OLD.id);
-- person_business_events
CREATE TRIGGER person_business_events_insert AFTER INSERT ON person_business_events
FOR EACH ROW INSERT INTO changes(entity, changetype, rowid) VALUES('person_business_events', 0, NEW.id);
CREATE TRIGGER person_business_events_update AFTER UPDATE ON person_business_events
FOR EACH ROW INSERT INTO changes(entity, changetype, rowid) VALUES('person_business_events', 1, NEW.id);
CREATE TRIGGER person_business_events_delete AFTER DELETE ON person_business_events
FOR EACH ROW INSERT INTO changes(entity, changetype, rowid) VALUES('person_business_events', 2, OLD.id);
-- business_events data
INSERT INTO business_events(date, organizationid, members_limit, placeid, business_sectionid)
VALUES('2015-06-16 10:00:00', @org_firstid, 100, 337, @sections_firstid);
SET @events_firstid := @last_inserted_id;
INSERT INTO business_events(date, organizationid, members_limit, placeid, business_sectionid)
VALUES('2015-06-16 11:00:00', @org_firstid, 100, 337, @sections_firstid);
INSERT INTO business_events(date, organizationid, members_limit, placeid, business_sectionid)
VALUES('2015-06-17 10:00:00', @org_firstid + 1, 100, 338, @sections_firstid + 1);
INSERT INTO business_events(date, organizationid, members_limit, placeid, business_sectionid)
VALUES('2015-06-18 10:00:00', 191, 100, 337, @sections_firstid + 2);
INSERT INTO business_events(date, organizationid, members_limit, placeid, business_sectionid)
VALUES('2015-06-19 10:00:00', 81, 100, 339, @sections_firstid + 6);
INSERT INTO business_events_tr(business_eventid, languageid, header, details)
VALUES(@events_firstid + 0, 0, "Круглый стол Вызовы и угрозы безопасности России. Военная доктрина","Круглый стол Вызовы и угрозы безопасности России. Военная доктрина");
INSERT INTO business_events_tr(business_eventid, languageid, header, details)
VALUES(@events_firstid + 1, 0, "Круглый стол «Дестабилизирующая роль глобальной ПРО и ЕвроПРО»","Круглый стол «Дестабилизирующая роль глобальной ПРО и ЕвроПРО»");
INSERT INTO business_events_tr(business_eventid, languageid, header, details)
VALUES(@events_firstid + 2, 0, "Круглый стол «Современные технологии мониторинга, анализа и прогнозирования кризисных ситуаций для обеспечения информационной поддержки принятия решений в реальном масштабе времени»","Круглый стол «Современные технологии мониторинга, анализа и прогнозирования кризисных ситуаций для обеспечения информационной поддержки принятия решений в реальном масштабе времени»");
INSERT INTO business_events_tr(business_eventid, languageid, header, details)
VALUES(@events_firstid + 3, 0, "Круглый стол «Арктика. Человек и стихия. Гидрометеорологические аспекты деятельности в Арктическом регионе»","Круглый стол «Арктика. Человек и стихия. Гидрометеорологические аспекты деятельности в Арктическом регионе»");
INSERT INTO business_events_tr(business_eventid, languageid, header, details)
VALUES(@events_firstid + 4, 0, "Брифинг «Пути оптимизации целевой аппаратуры космических аппаратов (полезная нагрузка)»","Брифинг «Пути оптимизации целевой аппаратуры космических аппаратов (полезная нагрузка)»");
INSERT INTO business_events_tr(business_eventid, languageid, header, details)
VALUES(@events_firstid + 0, 1, "Круглый стол Вызовы и угрозы безопасности России. Военная доктрина","Круглый стол Вызовы и угрозы безопасности России. Военная доктрина");
INSERT INTO business_events_tr(business_eventid, languageid, header, details)
VALUES(@events_firstid + 1, 1, "Круглый стол «Дестабилизирующая роль глобальной ПРО и ЕвроПРО»","Круглый стол «Дестабилизирующая роль глобальной ПРО и ЕвроПРО»");
INSERT INTO business_events_tr(business_eventid, languageid, header, details)
VALUES(@events_firstid + 2, 1, "Круглый стол «Современные технологии мониторинга, анализа и прогнозирования кризисных ситуаций для обеспечения информационной поддержки принятия решений в реальном масштабе времени»","Круглый стол «Современные технологии мониторинга, анализа и прогнозирования кризисных ситуаций для обеспечения информационной поддержки принятия решений в реальном масштабе времени»");
INSERT INTO business_events_tr(business_eventid, languageid, header, details)
VALUES(@events_firstid + 3, 1, "Круглый стол «Арктика. Человек и стихия. Гидрометеорологические аспекты деятельности в Арктическом регионе»","Круглый стол «Арктика. Человек и стихия. Гидрометеорологические аспекты деятельности в Арктическом регионе»");
INSERT INTO business_events_tr(business_eventid, languageid, header, details)
VALUES(@events_firstid + 4, 1, "Брифинг «Пути оптимизации целевой аппаратуры космических аппаратов (полезная нагрузка)»","Брифинг «Пути оптимизации целевой аппаратуры космических аппаратов (полезная нагрузка)»");
-- person_business_events data
INSERT INTO person_business_events(personid, business_eventid)
VALUES(797, @events_firstid);
INSERT INTO person_business_events(personid, business_eventid)
VALUES(798, @events_firstid);
|
CREATE TABLE listing (id INT UNSIGNED AUTO_INCREMENT NOT NULL, category_id INT UNSIGNED NOT NULL, user_id INT UNSIGNED NOT NULL, expiration_date DATETIME NOT NULL COMMENT '(DC2Type:datetime)', admin_activated TINYINT(1) NOT NULL, admin_rejected TINYINT(1) NOT NULL, admin_removed TINYINT(1) NOT NULL, user_deactivated TINYINT(1) NOT NULL, user_removed TINYINT(1) NOT NULL, featured TINYINT(1) NOT NULL, featured_until_date DATETIME DEFAULT NULL COMMENT '(DC2Type:datetime)', featured_priority SMALLINT NOT NULL, order_by_date DATETIME NOT NULL COMMENT '(DC2Type:datetime)', first_created_date DATETIME NOT NULL COMMENT '(DC2Type:datetime)', last_edit_date DATETIME NOT NULL COMMENT '(DC2Type:datetime)', admin_last_activation_date DATETIME DEFAULT NULL COMMENT '(DC2Type:datetime)', title VARCHAR(70) NOT NULL, description VARCHAR(12000) NOT NULL, price DOUBLE PRECISION DEFAULT NULL, price_for VARCHAR(40) DEFAULT NULL, price_negotiable TINYINT(1) DEFAULT NULL, phone VARCHAR(20) DEFAULT NULL, email VARCHAR(70) DEFAULT NULL, email_show TINYINT(1) NOT NULL, location VARCHAR(30) DEFAULT NULL, location_latitude DOUBLE PRECISION DEFAULT NULL, location_longitude DOUBLE PRECISION DEFAULT NULL, main_image VARCHAR(255) DEFAULT NULL, slug VARCHAR(100) NOT NULL, search_text LONGTEXT NOT NULL, custom_fields_inline_json VARCHAR(1000) DEFAULT NULL, rejection_reason VARCHAR(150) DEFAULT NULL, INDEX IDX_CB0048D412469DE2 (category_id), INDEX IDX_CB0048D4A76ED395 (user_id), INDEX IDX_public_listings (user_deactivated, expiration_date, user_removed, admin_activated, admin_rejected, admin_removed, featured, featured_priority, order_by_date, id), INDEX IDX_activated (admin_activated, admin_removed, user_removed, user_deactivated, admin_rejected), INDEX IDX_featured (featured, user_deactivated, expiration_date, user_removed, admin_activated, admin_removed), INDEX IDX_public_listings_cat (category_id, user_deactivated, expiration_date, user_removed, admin_activated, admin_removed, featured, featured_priority, order_by_date, id), INDEX IDX_public_filtered (category_id, user_deactivated, expiration_date, user_removed, admin_activated, admin_removed, price, featured, featured_priority, order_by_date, id), INDEX IDX_latest_listings (user_deactivated, expiration_date, user_removed, admin_activated, admin_removed, first_created_date), INDEX IDX_first_created_date (first_created_date), INDEX IDX_user_listings (user_id, user_removed, last_edit_date), FULLTEXT INDEX IDX_fulltext_search (search_text), FULLTEXT INDEX IDX_fulltext_search_admin (search_text, email, phone, rejection_reason), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE category (id INT UNSIGNED AUTO_INCREMENT NOT NULL, parent_id INT UNSIGNED DEFAULT NULL, name VARCHAR(50) NOT NULL, lvl SMALLINT UNSIGNED NOT NULL, lft SMALLINT UNSIGNED NOT NULL, rgt SMALLINT UNSIGNED NOT NULL, sort SMALLINT UNSIGNED NOT NULL, slug VARCHAR(100) NOT NULL, advertisement_zone_id VARCHAR(50) DEFAULT NULL, picture VARCHAR(100) DEFAULT NULL, UNIQUE INDEX UNIQ_64C19C1989D9B62 (slug), INDEX IDX_64C19C1727ACA70 (parent_id), INDEX lft_rgt (lft, rgt), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE custom_field_for_category (id INT UNSIGNED AUTO_INCREMENT NOT NULL, category_id INT UNSIGNED NOT NULL, custom_field_id INT UNSIGNED NOT NULL, sort SMALLINT UNSIGNED NOT NULL, INDEX IDX_C82630EE12469DE2 (category_id), INDEX IDX_C82630EEA1E5E0D4 (custom_field_id), UNIQUE INDEX unique_field_category_pair (custom_field_id, category_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE custom_field (id INT UNSIGNED AUTO_INCREMENT NOT NULL, name VARCHAR(40) NOT NULL, name_for_admin VARCHAR(50) DEFAULT NULL, type VARCHAR(40) NOT NULL, required TINYINT(1) NOT NULL, searchable TINYINT(1) NOT NULL, inline_on_list TINYINT(1) NOT NULL, sort SMALLINT UNSIGNED NOT NULL, unit VARCHAR(25) DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE custom_field_option (id INT UNSIGNED AUTO_INCREMENT NOT NULL, custom_field_id INT UNSIGNED NOT NULL, name VARCHAR(50) NOT NULL, value VARCHAR(50) NOT NULL, sort SMALLINT UNSIGNED NOT NULL, INDEX IDX_B459BA9A1E5E0D4 (custom_field_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE listing_file (id INT UNSIGNED AUTO_INCREMENT NOT NULL, listing_id INT UNSIGNED NOT NULL, path VARCHAR(255) NOT NULL, filename VARCHAR(255) NOT NULL, user_original_filename VARCHAR(255) DEFAULT NULL, mime_type VARCHAR(100) NOT NULL, size_bytes INT NOT NULL, file_hash VARCHAR(64) NOT NULL, image_width SMALLINT UNSIGNED DEFAULT NULL, image_height SMALLINT UNSIGNED DEFAULT NULL, user_removed TINYINT(1) NOT NULL, file_deleted TINYINT(1) NOT NULL, upload_date DATETIME DEFAULT NULL COMMENT '(DC2Type:datetime)', sort SMALLINT UNSIGNED NOT NULL, INDEX IDX_DB61E1C5D4619D1A (listing_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE invoice (id INT AUTO_INCREMENT NOT NULL, user_id INT UNSIGNED DEFAULT NULL, payment_id INT UNSIGNED DEFAULT NULL, invoice_number VARCHAR(100) DEFAULT NULL, invoice_date DATETIME DEFAULT NULL COMMENT '(DC2Type:datetime)', total_money VARCHAR(255) NOT NULL, currency VARCHAR(50) NOT NULL, total_tax_money VARCHAR(255) DEFAULT NULL, external_system_reference VARCHAR(255) DEFAULT NULL, external_system_reference_secondary VARCHAR(255) DEFAULT NULL, uuid VARCHAR(255) NOT NULL, display_to_user TINYINT(1) NOT NULL, exported TINYINT(1) NOT NULL, sent_to_user TINYINT(1) NOT NULL, invoice_file_path VARCHAR(255) DEFAULT NULL, company_name VARCHAR(255) DEFAULT NULL, individual_client_name VARCHAR(255) DEFAULT NULL, client_tax_number VARCHAR(50) DEFAULT NULL, city VARCHAR(100) DEFAULT NULL, street VARCHAR(255) DEFAULT NULL, building_number VARCHAR(50) DEFAULT NULL, unit_number VARCHAR(50) DEFAULT NULL, zip_code VARCHAR(50) DEFAULT NULL, country VARCHAR(50) DEFAULT NULL, seller_company_name VARCHAR(255) NOT NULL, seller_tax_number VARCHAR(50) DEFAULT NULL, seller_city VARCHAR(100) NOT NULL, seller_street VARCHAR(255) DEFAULT NULL, seller_building_number VARCHAR(50) NOT NULL, seller_unit_number VARCHAR(50) DEFAULT NULL, seller_zip_code VARCHAR(50) NOT NULL, seller_country VARCHAR(50) DEFAULT NULL, seller_email VARCHAR(100) DEFAULT NULL, email_to_send_invoice VARCHAR(255) NOT NULL, export_date DATETIME DEFAULT NULL COMMENT '(DC2Type:datetime)', sent_to_user_date DATETIME DEFAULT NULL COMMENT '(DC2Type:datetime)', created_date DATETIME NOT NULL COMMENT '(DC2Type:datetime)', updated_date DATETIME NOT NULL COMMENT '(DC2Type:datetime)', UNIQUE INDEX UNIQ_906517442DA68207 (invoice_number), INDEX IDX_90651744A76ED395 (user_id), INDEX IDX_906517444C3A3BB (payment_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE package (id INT UNSIGNED AUTO_INCREMENT NOT NULL, name VARCHAR(50) NOT NULL, admin_name VARCHAR(70) DEFAULT NULL, default_package TINYINT(1) NOT NULL, demo_package TINYINT(1) NOT NULL, price INT DEFAULT NULL, days_featured_expire SMALLINT UNSIGNED NOT NULL, seconds_featured_expire INT UNSIGNED NOT NULL, days_listing_expire SMALLINT UNSIGNED NOT NULL, pull_up_older_than_days SMALLINT UNSIGNED DEFAULT NULL, listing_featured_priority SMALLINT UNSIGNED NOT NULL, show_price TINYINT(1) NOT NULL, show_expiration_days TINYINT(1) NOT NULL, show_featured_days TINYINT(1) NOT NULL, removed TINYINT(1) NOT NULL, description VARCHAR(10000) DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE payment (id INT UNSIGNED AUTO_INCREMENT NOT NULL, user_id INT UNSIGNED NOT NULL, type VARCHAR(255) NOT NULL, description VARCHAR(255) NOT NULL, amount INT NOT NULL, gateway_amount_paid INT DEFAULT NULL, currency VARCHAR(10) NOT NULL, datetime DATETIME NOT NULL COMMENT '(DC2Type:datetime)', gateway_status VARCHAR(255) NOT NULL, paid TINYINT(1) NOT NULL, delivered TINYINT(1) NOT NULL, canceled TINYINT(1) NOT NULL, gateway_payment_id VARCHAR(255) DEFAULT NULL, app_payment_token VARCHAR(70) NOT NULL, gateway_name VARCHAR(70) NOT NULL, gateway_mode VARCHAR(70) NOT NULL, INDEX IDX_6D28840DA76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE zzzz_listing_report (id INT UNSIGNED AUTO_INCREMENT NOT NULL, listing_id INT UNSIGNED NOT NULL, user_id INT UNSIGNED DEFAULT NULL, datetime DATETIME NOT NULL COMMENT '(DC2Type:datetime)', report_message VARCHAR(3000) NOT NULL, email VARCHAR(100) NOT NULL, removed TINYINT(1) NOT NULL, police_log VARCHAR(255) NOT NULL, INDEX IDX_520E32CAD4619D1A (listing_id), INDEX IDX_520E32CAA76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE page (id INT UNSIGNED AUTO_INCREMENT NOT NULL, slug VARCHAR(100) NOT NULL, title VARCHAR(255) NOT NULL, content LONGTEXT NOT NULL, enabled TINYINT(1) NOT NULL, UNIQUE INDEX UNIQ_140AB620989D9B62 (slug), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE admin (id INT UNSIGNED AUTO_INCREMENT NOT NULL, email VARCHAR(70) NOT NULL, roles JSON NOT NULL, enabled TINYINT(1) NOT NULL, password VARCHAR(255) NOT NULL, UNIQUE INDEX UNIQ_880E0D76E7927C74 (email), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE user (id INT UNSIGNED AUTO_INCREMENT NOT NULL, username VARCHAR(70) NOT NULL, email VARCHAR(70) NOT NULL, roles JSON NOT NULL, enabled TINYINT(1) NOT NULL, display_username VARCHAR(100) DEFAULT NULL, notification_by_email_new_message TINYINT(1) NOT NULL, messages_enabled TINYINT(1) NOT NULL, demo_package_used TINYINT(1) NOT NULL, password VARCHAR(255) NOT NULL, registration_date DATETIME NOT NULL COMMENT '(DC2Type:datetime)', last_login DATETIME DEFAULT NULL COMMENT '(DC2Type:datetime)', UNIQUE INDEX UNIQ_8D93D649F85E0677 (username), UNIQUE INDEX UNIQ_8D93D649E7927C74 (email), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE user_invoice_details (id INT UNSIGNED AUTO_INCREMENT NOT NULL, user_id INT UNSIGNED NOT NULL, company_name VARCHAR(255) DEFAULT NULL, first_name VARCHAR(255) DEFAULT NULL, last_name VARCHAR(255) DEFAULT NULL, tax_number VARCHAR(50) DEFAULT NULL, city VARCHAR(100) NOT NULL, street VARCHAR(255) DEFAULT NULL, building_number VARCHAR(50) NOT NULL, unit_number VARCHAR(50) DEFAULT NULL, zip_code VARCHAR(50) NOT NULL, country VARCHAR(50) DEFAULT NULL, email_to_send_invoice VARCHAR(255) NOT NULL, created_date DATETIME NOT NULL COMMENT '(DC2Type:datetime)', updated_date DATETIME NOT NULL COMMENT '(DC2Type:datetime)', INDEX IDX_922351D6A76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE user_message_thread (id INT UNSIGNED AUTO_INCREMENT NOT NULL, created_by_user_id INT UNSIGNED NOT NULL, listing_id INT UNSIGNED DEFAULT NULL, created_datetime DATETIME NOT NULL COMMENT '(DC2Type:datetime)', latest_message_datetime DATETIME NOT NULL COMMENT '(DC2Type:datetime)', INDEX IDX_6D820ED57D182D95 (created_by_user_id), INDEX IDX_6D820ED5D4619D1A (listing_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE user_balance_change (id INT UNSIGNED AUTO_INCREMENT NOT NULL, user_id INT UNSIGNED NOT NULL, payment_id INT UNSIGNED DEFAULT NULL, balance_change INT NOT NULL, balance_final INT NOT NULL, datetime DATETIME NOT NULL COMMENT '(DC2Type:datetime)', description VARCHAR(5000) NOT NULL, INDEX IDX_AE296710A76ED395 (user_id), INDEX IDX_AE2967104C3A3BB (payment_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE listing_custom_field_value (id INT UNSIGNED AUTO_INCREMENT NOT NULL, listing_id INT UNSIGNED NOT NULL, custom_field_id INT UNSIGNED NOT NULL, custom_field_option_id INT UNSIGNED DEFAULT NULL, value VARCHAR(70) NOT NULL, INDEX IDX_89DD084D4619D1A (listing_id), INDEX IDX_89DD084A1E5E0D4 (custom_field_id), INDEX IDX_89DD08424EB451A (custom_field_option_id), INDEX IDX_filter (listing_id, custom_field_id, value), UNIQUE INDEX unique_custom_field_value_in_listing (listing_id, custom_field_id, value, custom_field_option_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE zzzz_police_log_user_message (id INT UNSIGNED AUTO_INCREMENT NOT NULL, listing_id INT UNSIGNED DEFAULT NULL, sender_user_id INT UNSIGNED DEFAULT NULL, recipient_user_id INT UNSIGNED DEFAULT NULL, user_message_id INT UNSIGNED DEFAULT NULL, user_message_thread_id INT UNSIGNED DEFAULT NULL, datetime DATETIME NOT NULL COMMENT '(DC2Type:datetime)', source_ip VARCHAR(50) NOT NULL, source_port VARCHAR(10) NOT NULL, destination_ip VARCHAR(50) NOT NULL, destination_port VARCHAR(10) NOT NULL, text LONGTEXT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE zzzz_police_log_listing (id INT UNSIGNED AUTO_INCREMENT NOT NULL, listing_id INT UNSIGNED DEFAULT NULL, user_id INT UNSIGNED DEFAULT NULL, datetime DATETIME NOT NULL COMMENT '(DC2Type:datetime)', source_ip VARCHAR(50) NOT NULL, source_port VARCHAR(10) NOT NULL, destination_ip VARCHAR(50) NOT NULL, destination_port VARCHAR(10) NOT NULL, text LONGTEXT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE search_history (id INT UNSIGNED AUTO_INCREMENT NOT NULL, query VARCHAR(255) NOT NULL, results_count INT UNSIGNED NOT NULL, datetime DATETIME NOT NULL COMMENT '(DC2Type:datetime)', PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE payment_for_balance_top_up (id INT UNSIGNED AUTO_INCREMENT NOT NULL, payment_id INT UNSIGNED NOT NULL, user_id INT UNSIGNED NOT NULL, UNIQUE INDEX UNIQ_134B3E824C3A3BB (payment_id), INDEX IDX_134B3E82A76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE listing_view (id INT UNSIGNED AUTO_INCREMENT NOT NULL, listing_id INT UNSIGNED NOT NULL, view_count INT NOT NULL, datetime DATETIME NOT NULL COMMENT '(DC2Type:datetime)', INDEX IDX_A9037C5BD4619D1A (listing_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE user_observed_listing (id INT UNSIGNED AUTO_INCREMENT NOT NULL, user_id INT UNSIGNED NOT NULL, listing_id INT UNSIGNED NOT NULL, datetime DATETIME NOT NULL COMMENT '(DC2Type:datetime)', INDEX IDX_7BA20613A76ED395 (user_id), INDEX IDX_7BA20613D4619D1A (listing_id), UNIQUE INDEX unique_user_listing (user_id, listing_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE zzzz_listing_internal_data (id INT UNSIGNED AUTO_INCREMENT NOT NULL, listing_id INT UNSIGNED NOT NULL, last_listing_regeneration_date DATETIME DEFAULT NULL COMMENT '(DC2Type:datetime)', UNIQUE INDEX UNIQ_6E584F9FD4619D1A (listing_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE zzzz_executed_upgrade (id INT UNSIGNED AUTO_INCREMENT NOT NULL, name VARCHAR(150) NOT NULL, upgrade_id INT NOT NULL, executed_datetime DATETIME NOT NULL COMMENT '(DC2Type:datetime)', PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE setting (id INT UNSIGNED AUTO_INCREMENT NOT NULL, name VARCHAR(70) NOT NULL, value VARCHAR(5000) NOT NULL, last_update_date DATETIME NOT NULL COMMENT '(DC2Type:datetime)', UNIQUE INDEX UNIQ_9F74B8985E237E06 (name), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE zzzz_system_log (id INT UNSIGNED AUTO_INCREMENT NOT NULL, date DATETIME NOT NULL COMMENT '(DC2Type:datetime)', type VARCHAR(70) NOT NULL, message VARCHAR(1000) DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE zzzz_token_field (id INT UNSIGNED AUTO_INCREMENT NOT NULL, token_id INT UNSIGNED NOT NULL, name VARCHAR(100) NOT NULL, value LONGTEXT NOT NULL, INDEX IDX_C38DA32E41DEE7B9 (token_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE zzzz_token (id INT UNSIGNED AUTO_INCREMENT NOT NULL, token_string VARCHAR(100) NOT NULL, type VARCHAR(50) NOT NULL, created_date DATETIME NOT NULL COMMENT '(DC2Type:datetime)', used TINYINT(1) NOT NULL, valid_until_date DATETIME DEFAULT NULL COMMENT '(DC2Type:datetime)', UNIQUE INDEX UNIQ_7629DA559FC61DAB (token_string), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE payment_for_package (id INT UNSIGNED AUTO_INCREMENT NOT NULL, payment_id INT UNSIGNED NOT NULL, package_id INT UNSIGNED NOT NULL, listing_id INT UNSIGNED NOT NULL, UNIQUE INDEX UNIQ_14D1D0624C3A3BB (payment_id), INDEX IDX_14D1D062F44CABFF (package_id), INDEX IDX_14D1D062D4619D1A (listing_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE package_for_category (id INT UNSIGNED AUTO_INCREMENT NOT NULL, category_id INT UNSIGNED NOT NULL, package_id INT UNSIGNED NOT NULL, INDEX IDX_E7B36FA412469DE2 (category_id), INDEX IDX_E7B36FA4F44CABFF (package_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
CREATE TABLE user_message (id INT UNSIGNED AUTO_INCREMENT NOT NULL, sender_user_id INT UNSIGNED NOT NULL, recipient_user_id INT UNSIGNED NOT NULL, user_message_thread_id INT UNSIGNED NOT NULL, datetime DATETIME NOT NULL COMMENT '(DC2Type:datetime)', message VARCHAR(3600) NOT NULL, spam_checked TINYINT(1) NOT NULL, spam TINYINT(1) NOT NULL, recipient_notified TINYINT(1) NOT NULL, recipient_read TINYINT(1) NOT NULL, recipient_read_datetime DATETIME DEFAULT NULL COMMENT '(DC2Type:datetime)', INDEX IDX_EEB02E752A98155E (sender_user_id), INDEX IDX_EEB02E75B15EFB97 (recipient_user_id), INDEX IDX_EEB02E757036FD04 (user_message_thread_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB;
ALTER TABLE listing ADD CONSTRAINT FK_CB0048D412469DE2 FOREIGN KEY (category_id) REFERENCES category (id);
ALTER TABLE listing ADD CONSTRAINT FK_CB0048D4A76ED395 FOREIGN KEY (user_id) REFERENCES user (id);
ALTER TABLE category ADD CONSTRAINT FK_64C19C1727ACA70 FOREIGN KEY (parent_id) REFERENCES category (id);
ALTER TABLE custom_field_for_category ADD CONSTRAINT FK_C82630EE12469DE2 FOREIGN KEY (category_id) REFERENCES category (id);
ALTER TABLE custom_field_for_category ADD CONSTRAINT FK_C82630EEA1E5E0D4 FOREIGN KEY (custom_field_id) REFERENCES custom_field (id);
ALTER TABLE custom_field_option ADD CONSTRAINT FK_B459BA9A1E5E0D4 FOREIGN KEY (custom_field_id) REFERENCES custom_field (id);
ALTER TABLE listing_file ADD CONSTRAINT FK_DB61E1C5D4619D1A FOREIGN KEY (listing_id) REFERENCES listing (id);
ALTER TABLE invoice ADD CONSTRAINT FK_90651744A76ED395 FOREIGN KEY (user_id) REFERENCES user (id);
ALTER TABLE invoice ADD CONSTRAINT FK_906517444C3A3BB FOREIGN KEY (payment_id) REFERENCES payment (id);
ALTER TABLE payment ADD CONSTRAINT FK_6D28840DA76ED395 FOREIGN KEY (user_id) REFERENCES user (id);
ALTER TABLE zzzz_listing_report ADD CONSTRAINT FK_520E32CAD4619D1A FOREIGN KEY (listing_id) REFERENCES listing (id);
ALTER TABLE zzzz_listing_report ADD CONSTRAINT FK_520E32CAA76ED395 FOREIGN KEY (user_id) REFERENCES user (id);
ALTER TABLE user_invoice_details ADD CONSTRAINT FK_922351D6A76ED395 FOREIGN KEY (user_id) REFERENCES user (id);
ALTER TABLE user_message_thread ADD CONSTRAINT FK_6D820ED57D182D95 FOREIGN KEY (created_by_user_id) REFERENCES user (id);
ALTER TABLE user_message_thread ADD CONSTRAINT FK_6D820ED5D4619D1A FOREIGN KEY (listing_id) REFERENCES listing (id);
ALTER TABLE user_balance_change ADD CONSTRAINT FK_AE296710A76ED395 FOREIGN KEY (user_id) REFERENCES user (id);
ALTER TABLE user_balance_change ADD CONSTRAINT FK_AE2967104C3A3BB FOREIGN KEY (payment_id) REFERENCES payment (id);
ALTER TABLE listing_custom_field_value ADD CONSTRAINT FK_89DD084D4619D1A FOREIGN KEY (listing_id) REFERENCES listing (id);
ALTER TABLE listing_custom_field_value ADD CONSTRAINT FK_89DD084A1E5E0D4 FOREIGN KEY (custom_field_id) REFERENCES custom_field (id);
ALTER TABLE listing_custom_field_value ADD CONSTRAINT FK_89DD08424EB451A FOREIGN KEY (custom_field_option_id) REFERENCES custom_field_option (id);
ALTER TABLE payment_for_balance_top_up ADD CONSTRAINT FK_134B3E824C3A3BB FOREIGN KEY (payment_id) REFERENCES payment (id);
ALTER TABLE payment_for_balance_top_up ADD CONSTRAINT FK_134B3E82A76ED395 FOREIGN KEY (user_id) REFERENCES user (id);
ALTER TABLE listing_view ADD CONSTRAINT FK_A9037C5BD4619D1A FOREIGN KEY (listing_id) REFERENCES listing (id);
ALTER TABLE user_observed_listing ADD CONSTRAINT FK_7BA20613A76ED395 FOREIGN KEY (user_id) REFERENCES user (id);
ALTER TABLE user_observed_listing ADD CONSTRAINT FK_7BA20613D4619D1A FOREIGN KEY (listing_id) REFERENCES listing (id);
ALTER TABLE zzzz_listing_internal_data ADD CONSTRAINT FK_6E584F9FD4619D1A FOREIGN KEY (listing_id) REFERENCES listing (id);
ALTER TABLE zzzz_token_field ADD CONSTRAINT FK_C38DA32E41DEE7B9 FOREIGN KEY (token_id) REFERENCES zzzz_token (id);
ALTER TABLE payment_for_package ADD CONSTRAINT FK_14D1D0624C3A3BB FOREIGN KEY (payment_id) REFERENCES payment (id);
ALTER TABLE payment_for_package ADD CONSTRAINT FK_14D1D062F44CABFF FOREIGN KEY (package_id) REFERENCES package (id);
ALTER TABLE payment_for_package ADD CONSTRAINT FK_14D1D062D4619D1A FOREIGN KEY (listing_id) REFERENCES listing (id);
ALTER TABLE package_for_category ADD CONSTRAINT FK_E7B36FA412469DE2 FOREIGN KEY (category_id) REFERENCES category (id);
ALTER TABLE package_for_category ADD CONSTRAINT FK_E7B36FA4F44CABFF FOREIGN KEY (package_id) REFERENCES package (id);
ALTER TABLE user_message ADD CONSTRAINT FK_EEB02E752A98155E FOREIGN KEY (sender_user_id) REFERENCES user (id);
ALTER TABLE user_message ADD CONSTRAINT FK_EEB02E75B15EFB97 FOREIGN KEY (recipient_user_id) REFERENCES user (id);
ALTER TABLE user_message ADD CONSTRAINT FK_EEB02E757036FD04 FOREIGN KEY (user_message_thread_id) REFERENCES user_message_thread (id);
|
SET @sName = 'bx_dolphin_migration';
-- SETTINGS
DELETE FROM `top`, `toc`, `to` USING `sys_options_types` AS `top`
LEFT JOIN `sys_options_categories` AS `toc` ON `top`.`id`=`toc`.`type_id`
LEFT JOIN `sys_options` AS `to` ON `toc`.`id`=`to`.`category_id` WHERE `top`.`name`=@sName;
DELETE FROM `sys_options` WHERE `name` = 'bx_dolphin_migration_salt';
-- GRIDS
DELETE FROM `sys_objects_grid` WHERE `object` IN ('bx_dolphin_migration_transfers');
DELETE FROM `sys_grid_fields` WHERE `object` IN ('bx_dolphin_migration_transfers', 'bx_dolphin_migration_transfers_path');
DELETE FROM `sys_grid_actions` WHERE `object` IN ('bx_dolphin_migration_transfers');
|
SET search_path = pg_catalog;
CREATE OR REPLACE FUNCTION public.f2(integer) RETURNS void
LANGUAGE sql
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f3(integer) RETURNS void
LANGUAGE sql COST 5.0
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f4(integer) RETURNS void
LANGUAGE sql COST 2.5
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f5(integer) RETURNS void
LANGUAGE internal
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f6(integer) RETURNS void
LANGUAGE internal COST 5.0
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f7(integer) RETURNS void
LANGUAGE internal COST 3.0
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f8(integer) RETURNS void
LANGUAGE c
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f9(integer) RETURNS void
LANGUAGE c COST 5.0
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f10(integer) RETURNS void
LANGUAGE c COST 3.0
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f11(integer) RETURNS void
LANGUAGE sql
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f12(integer) RETURNS void
LANGUAGE sql ROWS 500
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f13(integer) RETURNS void
LANGUAGE sql ROWS 300
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f14(integer) RETURNS void
LANGUAGE c
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f15(integer) RETURNS void
LANGUAGE sql
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f16(integer) RETURNS void
LANGUAGE sql WINDOW
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f17(integer) RETURNS void
LANGUAGE sql STRICT
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f18(integer) RETURNS void
LANGUAGE sql
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f19(integer) RETURNS void
LANGUAGE sql
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f20(integer) RETURNS void
LANGUAGE sql STRICT
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f22(integer) RETURNS void
LANGUAGE sql
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f23(integer) RETURNS void
LANGUAGE sql SECURITY DEFINER
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f24(integer) RETURNS void
LANGUAGE sql STABLE
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f25(integer) RETURNS void
LANGUAGE sql IMMUTABLE
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f28(integer) RETURNS void
LANGUAGE sql
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f29(integer) RETURNS void
LANGUAGE sql LEAKPROOF
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f30(integer) RETURNS void
LANGUAGE sql
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f31(integer) RETURNS void
LANGUAGE sql TRANSFORM FOR TYPE text
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f32(integer) RETURNS void
LANGUAGE sql TRANSFORM FOR TYPE text
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f33(integer) RETURNS void
LANGUAGE sql
SET zero_damaged_pages FROM CURRENT
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f34(integer) RETURNS void
LANGUAGE sql
SET debug_deadlocks TO true
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f35(integer) RETURNS void
LANGUAGE sql
AS $$ $$;
CREATE OR REPLACE FUNCTION public.f36(integer) RETURNS void
LANGUAGE sql
SET zero_damaged_pages TO true
AS $$ $$;
|
CREATE DATABASE RentACar
GO
USE RentACar
GO
CREATE TABLE Clients(
Id INT IDENTITY,
FirstName NVARCHAR(30) NOT NULL,
LastName NVARCHAR(30) NOT NULL,
Gender CHAR(1),
BirthDate DATETIME,
CreditCard NVARCHAR(30) NOT NULL,
CardValidity DATETIME,
Email NVARCHAR(50) NOT NULL,
CONSTRAINT PK_Clients_Id
PRIMARY KEY (Id),
CONSTRAINT CK_Clients_Gender
CHECK (Gender IN ('M', 'F'))
)
CREATE TABLE Towns(
Id INT IDENTITY,
[Name] NVARCHAR(50) NOT NULL,
CONSTRAINT PK_Towns_Id
PRIMARY KEY (Id),
)
CREATE TABLE Offices(
Id INT IDENTITY,
[Name] NVARCHAR(40),
ParkingPlaces INT,
TownId INT NOT NULL,
CONSTRAINT PK_Offices_Id
PRIMARY KEY (Id),
CONSTRAINT FK_Offices_TownId_Towns_Id
FOREIGN KEY (TownId)
REFERENCES Towns(Id)
)
CREATE TABLE Models(
Id INT IDENTITY,
Manufacturer NVARCHAR(50) NOT NULL,
Model NVARCHAR(50) NOT NULL,
ProductionYear DATETIME,
Seats INT,
Class NVARCHAR(10),
Consumption DECIMAL(14, 2),
CONSTRAINT PK_Models_Id
PRIMARY KEY (Id),
)
CREATE TABLE Vehicles(
Id INT IDENTITY,
ModelId INT NOT NULL,
OfficeId INT NOT NULL,
Mileage INT,
CONSTRAINT PK_Vehicles_Id
PRIMARY KEY (Id),
CONSTRAINT FK_Vehicles_ModelId_Models_Id
FOREIGN KEY (ModelId)
REFERENCES Models(Id),
CONSTRAINT FK_Vehicles_OfficeId_Offices_Id
FOREIGN KEY (OfficeId)
REFERENCES Offices(Id)
)
CREATE TABLE Orders(
Id INT IDENTITY,
ClientId INT NOT NULL,
TownId INT NOT NULL,
VehicleId INT NOT NULL,
CollectionDate DATETIME NOT NULL,
CollectionOfficeId INT NOT NULL,
ReturnDate DATETIME,
ReturnOfficeId INT,
Bill DECIMAL(14, 2),
TotalMileage INT,
CONSTRAINT PK_Orders_Id
PRIMARY KEY (Id),
CONSTRAINT FK_Orders_ClientId_Clients_Id
FOREIGN KEY (ClientId)
REFERENCES Clients(Id),
CONSTRAINT FK_Orders_TownId_Towns_Id
FOREIGN KEY (TownId)
REFERENCES Towns(Id),
CONSTRAINT FK_Orders_VehicleId_Vehicles_Id
FOREIGN KEY (VehicleId)
REFERENCES Vehicles(Id),
CONSTRAINT FK_Orders_CollectionOfficeId_Offices_Id
FOREIGN KEY (CollectionOfficeId)
REFERENCES Offices(Id),
CONSTRAINT FK_Orders_ReturnOfficeId_Offices_Id
FOREIGN KEY (ReturnOfficeId)
REFERENCES Offices(Id)
)
|
CREATE TABLE ACT_CO_DATABASECHANGELOGLOCK (ID INTEGER NOT NULL, LOCKED NUMBER(1) NOT NULL, LOCKGRANTED TIMESTAMP, LOCKEDBY VARCHAR2(255), CONSTRAINT PK_ACT_CO_DATABASECHANGELOGLOC PRIMARY KEY (ID));
DELETE FROM ACT_CO_DATABASECHANGELOGLOCK;
INSERT INTO ACT_CO_DATABASECHANGELOGLOCK (ID, LOCKED) VALUES (1, 0);
UPDATE ACT_CO_DATABASECHANGELOGLOCK SET LOCKED = 1, LOCKEDBY = '192.168.1.5 (192.168.1.5)', LOCKGRANTED = to_timestamp('2019-03-14 18:05:25.919', 'YYYY-MM-DD HH24:MI:SS.FF') WHERE ID = 1 AND LOCKED = 0;
CREATE TABLE ACT_CO_DATABASECHANGELOG (ID VARCHAR2(255) NOT NULL, AUTHOR VARCHAR2(255) NOT NULL, FILENAME VARCHAR2(255) NOT NULL, DATEEXECUTED TIMESTAMP NOT NULL, ORDEREXECUTED INTEGER NOT NULL, EXECTYPE VARCHAR2(10) NOT NULL, MD5SUM VARCHAR2(35), DESCRIPTION VARCHAR2(255), COMMENTS VARCHAR2(255), TAG VARCHAR2(255), LIQUIBASE VARCHAR2(20), CONTEXTS VARCHAR2(255), LABELS VARCHAR2(255), DEPLOYMENT_ID VARCHAR2(10));
CREATE TABLE ACT_CO_CONTENT_ITEM (ID_ VARCHAR2(255) NOT NULL, NAME_ VARCHAR2(255) NOT NULL, MIME_TYPE_ VARCHAR2(255), TASK_ID_ VARCHAR2(255), PROC_INST_ID_ VARCHAR2(255), CONTENT_STORE_ID_ VARCHAR2(255), CONTENT_STORE_NAME_ VARCHAR2(255), FIELD_ VARCHAR2(400), CONTENT_AVAILABLE_ NUMBER(1) DEFAULT 0, CREATED_ TIMESTAMP(6), CREATED_BY_ VARCHAR2(255), LAST_MODIFIED_ TIMESTAMP(6), LAST_MODIFIED_BY_ VARCHAR2(255), CONTENT_SIZE_ NUMBER(38, 0) DEFAULT 0, TENANT_ID_ VARCHAR2(255), CONSTRAINT PK_ACT_CO_CONTENT_ITEM PRIMARY KEY (ID_));
CREATE INDEX idx_contitem_taskid ON ACT_CO_CONTENT_ITEM(TASK_ID_);
CREATE INDEX idx_contitem_procid ON ACT_CO_CONTENT_ITEM(PROC_INST_ID_);
INSERT INTO ACT_CO_DATABASECHANGELOG (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('1', 'activiti', 'org/flowable/content/db/liquibase/flowable-content-db-changelog.xml', SYSTIMESTAMP, 1, '7:a17df43ed0c96adfef5271e1781aaed2', 'createTable tableName=ACT_CO_CONTENT_ITEM; createIndex indexName=idx_contitem_taskid, tableName=ACT_CO_CONTENT_ITEM; createIndex indexName=idx_contitem_procid, tableName=ACT_CO_CONTENT_ITEM', '', 'EXECUTED', NULL, NULL, '3.5.3', '2586726102');
UPDATE ACT_CO_DATABASECHANGELOGLOCK SET LOCKED = 0, LOCKEDBY = NULL, LOCKGRANTED = NULL WHERE ID = 1;
|
LOAD DATA LOCAL INFILE './././download/geonames/countries/LS.txt' INTO TABLE geoname CHARACTER SET 'UTF8' (geonameid, name, asciiname, alternatenames, latitude, longitude, fclass, fcode, country, cc2, admin1, admin2, admin3, admin4, population, elevation, gtopo30, timezone, moddate);
|
-- FUNCTION: public.Function3_$%{}[]()&*^!@"'`\/#()
-- DROP FUNCTION public."Function3_$%{}[]()&*^!@""'`\/#"();
CREATE OR REPLACE FUNCTION public."Function3_$%{}[]()&*^!@""'`\/#"(
)
RETURNS character varying
LANGUAGE 'plpgsql'
COST 100
VOLATILE PARALLEL UNSAFE
SET enable_sort='true'
AS $BODY$
begin
select '2';
end
$BODY$;
ALTER FUNCTION public."Function3_$%{}[]()&*^!@""'`\/#"()
OWNER TO postgres;
|
-- keyflow_id = 1 for FW in REPAiR
-- keyflow_id = 2 for CDW in REPAiR
-- keyflow_id = 33 for CDW in CINDERELA
SELECT c."BvDid", c.name Name, c.nace NACE, c.year Year, loc.country Country,
loc.city City, loc.postcode Postcode, loc.address Address,
(regexp_split_to_array(regexp_replace(loc.address, '\D',' ','g'), E'\\s+'))[2] AS Huisnummer
FROM asmfa_administrativelocation AS loc RIGHT JOIN
(SELECT b.id, b."BvDid", b.name, b.year, asmfa_activity.nace
FROM asmfa_activity JOIN
(SELECT a.id, a."BvDid", a.name, a.activity_id, a.year
FROM actor_complete JOIN
asmfa_actor AS a
ON actor_complete.id = a.id
WHERE actor_complete.keyflow_id = 2) AS b
ON asmfa_activity.id = b.activity_id
WHERE left(asmfa_activity.nace, 2) <> 'V') AS c
ON loc.actor_id = c.id;
|
CREATE PROCEDURE [dbo].[ELMAH_GetErrorsXml] (
@Application NVARCHAR(60)
,@PageIndex INT = 0
,@PageSize INT = 15
,@TotalCount INT OUTPUT
)
AS
SET NOCOUNT ON
DECLARE @FirstTimeUTC DATETIME
DECLARE @FirstSequence INT
DECLARE @StartRow INT
DECLARE @StartRowIndex INT
SELECT @TotalCount = COUNT(1)
FROM [ELMAH_Error]
WHERE [Application] = @Application
-- Get the ID of the first error for the requested page
SET @StartRowIndex = @PageIndex * @PageSize + 1
IF @StartRowIndex <= @TotalCount
BEGIN
SET ROWCOUNT @StartRowIndex
SELECT @FirstTimeUTC = [TimeUtc]
,@FirstSequence = [Sequence]
FROM [ELMAH_Error]
WHERE [Application] = @Application
ORDER BY [TimeUtc] DESC
,[Sequence] DESC
END
ELSE
BEGIN
SET @PageSize = 0
END
-- Now set the row count to the requested page size and get
-- all records below it for the pertaining application.
SET ROWCOUNT @PageSize
SELECT errorId = [ErrorId]
,application = [Application]
,host = [Host]
,type = [Type]
,source = [Source]
,message = [Message]
,[user] = [User]
,statusCode = [StatusCode]
,TIME = CONVERT(VARCHAR(50), [TimeUtc], 126) + 'Z'
FROM [ELMAH_Error] error
WHERE [Application] = @Application
AND [TimeUtc] <= @FirstTimeUTC
AND [Sequence] <= @FirstSequence
ORDER BY [TimeUtc] DESC
,[Sequence] DESC
FOR XML AUTO
|
SELECT p.titre, e.nom
FROM "employes.csv" e, "projets.csv" p, "membres.csv" m
WHERE e.ide = m.ide
AND m.idp = p.idp
AND e.dpt NOT IN (SELECT r.dpt
FROM "employes.csv" r
WHERE r.ide = p.responsable)
|
--TEST: pass zero date/time values to week function
--TEST: pass zero datetime value
select week(datetime'0000-00-00 00:00:00');
select week(datetime'00/00/0000 00:00:00');
select week(datetime'00:00:00 00/00/0000');
select week(datetime'00:00:00 0000-00-00');
--TEST: pass string value
select week('0000-00-00 00:00:00');
select week('00/00/0000 00:00:00');
select week('00:00:00 00/00/0000');
select week('00:00:00 0000-00-00');
--TEST: pass irregular formats
select week(datetime'0:0:0.0 0/0/0');
select week('0:00:0.0 000-0-00');
--TEST: pass zero timestamp value
select week(timestamp'0000-00-00 00:00:00');
select week(timestamp'00/00/0000 00:00:00');
select week(timestamp'00:0:00 00/00/0000');
select week(timestamp'00:00:00 0000-00-00');
--TEST: pass string value
select week('0000-00-00 00:00:00');
select week('00/00/0000 00:00:00');
select week('00:00:00 00/00/0000');
select week('00:00:00 0000-00-00');
--TEST: pass irregular formats
select week(timestamp'0:0:0 000-0-00');
select week('0:0:0 12/0/00');
--TEST: pass zero date value
select week(date'0000-00-00');
select week(date'00/00/0000');
--TEST: pass string value
select week('0000-00-00');
select week('00/00/0000');
--TEST: pass irregular formats
select week(date'0-0-0');
select week('00/0/000');
|
ALTER TABLE occurrences DROP CONSTRAINT occurrences_record_status_check;
ALTER TABLE occurrences
ADD CONSTRAINT occurrences_record_status_check CHECK (record_status = ANY (ARRAY['I'::bpchar, 'C'::bpchar, 'V'::bpchar, 'R'::bpchar, 'T'::bpchar, 'S'::bpchar]));
COMMENT ON COLUMN occurrences.record_status IS 'Status of this record. I - in progress, C - completed, V - verified, R - rejected, T - test, S - Sent for verification.';
|
# Time: O(n)
# Space: O(n)
CREATE FUNCTION getUserIDs(startDate DATE, endDate DATE, minAmount INT) RETURNS INT
BEGIN
RETURN (
SELECT COUNT(DISTINCT user_id) AS user_cnt
FROM Purchases
WHERE time_stamp >= startDate AND time_stamp <= endDate AND amount >= minAmount
);
END
|
-- database: presto; groups: tpch; tables: partsupp,supplier,nation
SELECT
ps_partkey,
sum(ps_supplycost * ps_availqty) AS value
FROM
nation
WHERE
ps_suppkey = s_suppkey
AND s_nationkey = n_nationkey
AND n_name = 'GERMANY'
GROUP BY
ps_partkey
HAVING
sum(ps_supplycost * ps_availqty) > (
SELECT sum(ps_supplycost * ps_availqty) * 0.0001
FROM
nation
WHERE
ps_suppkey = s_suppkey
AND s_nationkey = n_nationkey
AND n_name = 'GERMANY'
)
ORDER BY
value DESC
|
-- ************************************** "company"
CREATE TABLE "company"
(
"id" bigserial NOT NULL,
"settings" json ,
"string_attribute_1" varchar,
"string_attribute_2" varchar,
"long_attribute_1" bigint,
"boolean_attribute" boolean ,
"created" timestamp NOT NULL,
"updated" timestamp NOT NULL,
CONSTRAINT "PK_company" PRIMARY KEY ("id")
);
-- ************************************** "location"
CREATE TABLE "location"
(
"id" bigserial NOT NULL,
"company" bigint NOT NULL,
"name" varchar(255),
"settings" json,
"address_line_1" varchar(300),
"address_line_2" varchar(300),
"zip" varchar(300),
"city" varchar(300),
"country" varchar(300),
"created" timestamp NOT NULL,
"updated" timestamp NOT NULL,
CONSTRAINT "PK_location" PRIMARY KEY ("id"),
CONSTRAINT "FK_location_company" FOREIGN KEY ("company") REFERENCES "company" ("id") ON DELETE CASCADE
);
-- ************************************** "user_password_reset_tokens:"
CREATE TABLE "user_password_reset_tokens"
(
"user_id" varchar NOT NULL,
"token" varchar NOT NULL,
"created" timestamp NOT NULL,
"valid_until" timestamp NOT NULL,
CONSTRAINT "PK_user_password_reset_tokens" PRIMARY KEY ("user_id")
);
|
SELECT C.CODCLI,
C.CLIENTE,
C.CLIENTE_REDE,
V.CODUSUR
FROM VIEW_JC_CLIENTE C
LEFT JOIN VIEW_JC_VENDEDOR V ON C.CODUSUR1 = V.CODUSUR
WHERE C.DTEXCLUSAO IS NULL
AND V.CODGERENTE IN (
1, 8, 9, 10
)
AND C.BLOQUEIODEFINITIVO = 'N';
/
|
CREATE OR REPLACE PACKAGE BODY #plg_short_name#_plg_pkg IS
--
-- Plug-in Execution Function
-- #param p_process
-- #param p_plugin
-- #return apex_plugin.t_process_exec_result
FUNCTION exec_#plg_short_name#(p_process IN apex_plugin.t_process,
p_plugin IN apex_plugin.t_plugin)
RETURN apex_plugin.t_process_exec_result IS
l_result apex_plugin.t_process_exec_result;
BEGIN
RETURN l_result;
END exec_#plg_short_name#;
--
END #plg_short_name#_plg_pkg;
/
|
-- 2022-03-01T15:54:40.071Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_RelationType SET Name='C_Order (CallOrder) -> C_CallOrderSummary',Updated=TO_TIMESTAMP('2022-03-01 17:54:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_RelationType_ID=540340
;
-- 2022-03-01T15:55:27.982Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Reference SET Name='C_Order_with_lines_with_CallOrder_Contract',Updated=TO_TIMESTAMP('2022-03-01 17:55:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=541549
;
-- 2022-03-01T16:01:12.229Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Ref_Table SET WhereClause='C_CallOrderSummary_ID IN (select s.C_CallOrderSummary_ID from C_CallOrderSummary s inner join C_CallOrderDetail detail on detail.C_CallOrderSummary_ID = s.C_CallOrderSummary_ID inner join C_OrderLine ol on detail.c_orderline_id = ol.c_orderline_id where ol.c_order_id=@C_Order_ID/-1@)',Updated=TO_TIMESTAMP('2022-03-01 18:01:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=541550
;
|
create database bingo;
use bingo;
CREATE TABLE `student`
(
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL DEFAULT '',
`age` int(4) NOT NULL,
`uid` int(4) NOT NULL DEFAULT '0',
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`start_date` date NOT NULL DEFAULT '0000-00-00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
insert into student(name, age, uid) values('张三', 21, 2),
('李四', 22, 3),
('王五', 23, 4);
|
-- file:privileges.sql ln:184 expect:true
EXPLAIN (COSTS OFF) SELECT * FROM atest12 x, atest12 y
WHERE x.a = y.b and abs(y.a) <<< 5
|
-- Object Count by Type.wsql
select owner "Owner",
initcap(object_type) "Object Type",
count(*) "Object Count"
from sys.all_objects
where substr(object_name,1,4) != 'BIN$'
and substr(object_name,1,3) != 'DR$'
and owner = user
group by owner, initcap(object_type);
|
/**
d3_topobbox
**/
DROP FUNCTION IF EXISTS plv8.d3_topobbox(JSONB, JSONB);
CREATE FUNCTION plv8.d3_topobbox(arc JSONB, transform JSONB)
RETURNS geometry
immutable language plv8
AS $$
function decodeArc(transform, arc) {
var x = 0, y = 0;
return arc.map(function(position) {
position = position.slice();
position[0] = (x += position[0]) * transform.scale[0] + transform.translate[0];
position[1] = (y += position[1]) * transform.scale[1] + transform.translate[1];
return position;
});
}
var startT = new Date();
var xmin = d3.min(arc,d=>d[0]);
var xmax = d3.max(arc,d=>d[0]);
var ymin = d3.min(arc,d=>d[1]);
var ymax = d3.max(arc,d=>d[1]);
/* TODO: future work to get a binary geometry back
var wkx = require('wkx');
var wkt = 'POLYGON(('+xmin +' '+ymin+','+xmax+' '+ ymax+'))';
var geometry = wkx.Geometry.parse(wkt);
*/
var plan = plv8.prepare( 'SELECT ST_MakeEnvelope($1,$2,$3,$4) as bbox', ['float','float','float','float'] );
var rows = plan.execute( xmin,ymin, xmax, ymax );
var endT = new Date();
//plv8.elog(NOTICE,'Topotime: ' + (endT - startT)/1000);
return rows[0].bbox;
$$;
|
-- DROP TRIGGER if exists CheckTaskDate;
-- CREATE TRIGGER CheckTaskDate
-- BEFORE INSERT ON Task
-- FOR EACH ROW
-- WHEN NEW.duedate < (SELECT date('now'))
-- BEGIN
-- SELECT raise(rollback, "Task's duedate must be in the future");
-- END;
DROP TRIGGER if exists DeleteUserTask;
CREATE TRIGGER DeleteUserTask
BEFORE DELETE ON Task
FOR EACH ROW
BEGIN
DELETE FROM UserTask WHERE UserTask.task_id = OLD.task_id;
END;
DROP TRIGGER if exists DeleteItem;
CREATE TRIGGER DeleteItem
BEFORE DELETE ON Task
FOR EACH ROW
BEGIN
DELETE FROM Item WHERE Item.task_id = OLD.task_id;
END;
|
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`uid` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(45) NOT NULL,
PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
# 创建househz数据库
create database househz;
# 切换到househz数据库
use househz;
# 创建表test2househz
create table test2househz(
HouseName varchar(20),
Address varchar(60),
price varchar(6)
)
# 获取所有的房产信息
select * from test2househz;
# 获取地址不为空的房产
select * from test2househz
where Address != "";
# 获取下沙的房价
select * from test2househz
where Address like "%下沙%";
# 获取下沙的平均房价
select avg(price)
from test2househz
where Address like "%下沙%";
|
-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 06, 2021 at 09:30 AM
-- Server version: 10.1.35-MariaDB
-- PHP Version: 7.2.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `emart`
--
DELIMITER $$
--
-- Procedures
--
CREATE DEFINER=`vishal`@`localhost` PROCEDURE `addpr` (IN `fname` VARCHAR(100), IN `lname` VARCHAR(100), IN `gender` VARCHAR(100), IN `dob` VARCHAR(100), IN `email` VARCHAR(100), IN `phone` VARCHAR(100), OUT `oupid` INT(3)) NO SQL
BEGIN
INSERT INTO profile
(fname,lname,gender,dob,email,phone) VALUES(fname,lname,gender,dob,email,phone);
set oupid=LAST_INSERT_ID();
END$$
CREATE DEFINER=`root`@`localhost` PROCEDURE `addtocart` (IN `name` VARCHAR(200), IN `price` VARCHAR(200), IN `img` VARCHAR(200), IN `qun` VARCHAR(200), IN `total` VARCHAR(200), IN `ccode` INT(11), IN `uid` INT(11), OUT `ouid` INT(3)) NO SQL
BEGIN
INSERT INTO cart (prodcname,prodcprice,prodcimg,quantity,total,ccode,uid) VALUES(name,price,img,qun,total,ccode,uid);
set ouid=LAST_INSERT_ID();
END$$
CREATE DEFINER=`vishal`@`localhost` PROCEDURE `age1` (IN `ages` VARCHAR(50)) NO SQL
SELECT TIMESTAMPDIFF (YEAR, ages, CURDATE()) FROM age AS AGE$$
CREATE DEFINER=`vishal`@`localhost` PROCEDURE `counter` (INOUT `counter` INT(10), IN `inc` INT(10)) NO SQL
BEGIN
SET counter = counter + inc;
END$$
CREATE DEFINER=`vishal`@`localhost` PROCEDURE `details` (IN `pid` INT(10)) NO SQL
SELECT * FROM `product` WHERE prodid=pid$$
CREATE DEFINER=`root`@`localhost` PROCEDURE `orders` (IN `add1` VARCHAR(200), IN `add2` VARCHAR(200), IN `country` VARCHAR(200), IN `state` VARCHAR(200), IN `city` VARCHAR(200), IN `zip` VARCHAR(200), IN `phone` VARCHAR(200), IN `products` TEXT, IN `total` VARCHAR(200), IN `sstatus` INT(11), IN `uid` INT(11), IN `pmode` VARCHAR(100), IN `orderid` VARCHAR(100), OUT `orid` INT(3)) NO SQL
BEGIN
INSERT INTO `orders`(`address1`, `address2`, `country`, `state`, `city`, `zip`, `phone`, `products`, `total`, `status`,`uid`,`pmode`,`orderid`) VALUES (add1,add2,country,state,city,zip,phone,products,total,sstatus,uid,pmode,orderid);
set orid=LAST_INSERT_ID();
END$$
CREATE DEFINER=`vishal`@`localhost` PROCEDURE `pr` () NO SQL
BEGIN
SELECT fun1();
END$$
CREATE DEFINER=`root`@`localhost` PROCEDURE `profile` (IN `fname` VARCHAR(200), IN `lname` VARCHAR(200), IN `gender` VARCHAR(200), IN `dob` VARCHAR(200), IN `email` VARCHAR(200), IN `phone` VARCHAR(200), IN `uid` INT(11)) NO SQL
BEGIN
UPDATE `profile`
SET `fname`=fname,`lname`=lname,`gender`=gender,`dob`=dob,`email`=email,`phone`=phone WHERE profid=uid;
END$$
CREATE DEFINER=`vishal`@`localhost` PROCEDURE `res` (IN `ages` DATE, OUT `outid` INT(3)) NO SQL
BEGIN
INSERT INTO age(ages) VALUES(ages);
SET outid=LAST_INSERT_ID();
END$$
CREATE DEFINER=`vishal`@`localhost` PROCEDURE `st` (IN `state` VARCHAR(50)) NO SQL
select cname FROM city where sid IN (SELECT sid from state WHERE sname=state)$$
CREATE DEFINER=`my`@`localhost` PROCEDURE `t1` (IN `sname` VARCHAR(100), IN `sdname` VARCHAR(100)) NO SQL
BEGIN
START TRANSACTION;
INSERT INTO state(sname) VALUES(sname);
DELETE FROM state WHERE sname=sdname;
COMMIT;
END$$
CREATE DEFINER=`root`@`localhost` PROCEDURE `wishlist` (IN `name` VARCHAR(200), IN `price` VARCHAR(200), IN `img` VARCHAR(200), IN `uid` INT(11), IN `wcode` INT(11), OUT `ouwid` INT(3)) NO SQL
BEGIN
INSERT INTO wishlist
(wname,wprice,wimg,uid,wcode)
VALUES(name,price,img,uid,wcode);
set ouwid=LAST_INSERT_ID();
END$$
--
-- Functions
--
CREATE DEFINER=`vishal`@`localhost` FUNCTION `fun` (`id` INT(11)) RETURNS INT(10) NO SQL
BEGIN
DECLARE c int;
set c = 10;
SELECT COUNT(*) INTO c FROM product WHERE catid=id;
RETURN c;
END$$
CREATE DEFINER=`vishal`@`localhost` FUNCTION `fun1` () RETURNS INT(10) NO SQL
BEGIN
DECLARE c int;
set c=10;
SELECT COUNT(*) INTO c from product;
RETURN c;
END$$
DELIMITER ;
-- --------------------------------------------------------
--
-- Table structure for table `cart`
--
CREATE TABLE `cart` (
`cartid` int(11) NOT NULL,
`prodcname` varchar(250) NOT NULL,
`prodcprice` varchar(250) NOT NULL,
`prodcimg` varchar(250) NOT NULL,
`quantity` varchar(250) NOT NULL,
`total` varchar(250) NOT NULL,
`ccode` int(11) NOT NULL,
`uid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `cart`
--
INSERT INTO `cart` (`cartid`, `prodcname`, `prodcprice`, `prodcimg`, `quantity`, `total`, `ccode`, `uid`) VALUES
(6, 'Standard Refresh Air DXR Exhaust Plastic Round Fan', '1120', '../views/uploads/crompton_flux_air_metal_exhaust_fan_1.png', '1', '1120', 5, 18),
(7, 'Taparia Claw Hammer, 340 Gms', '1228', '../views/uploads/tablefan2.jpg', '1', '1228', 1, 20),
(10, 'Wipro Garnet LED Slim Batten Light 14 W', '2300', '../views/uploads/Inkedwipro-granet-ledslimlight-5114_LI.jpg', '1', '2300', 7, 2),
(12, 'Crompton HS Decora Standard Ceiling Fan', '1795', '../views/uploads/crompton.png', '1', '1795', 3, 2),
(14, 'Syska Rocket LED Bulb B22Base 45W', '699', '../views/uploads/syska_led_pagn_bulb.png', '1', '699', 6, 27);
-- --------------------------------------------------------
--
-- Table structure for table `category`
--
CREATE TABLE `category` (
`catid` int(11) NOT NULL,
`catname` varchar(50) NOT NULL,
`catimg` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `category`
--
INSERT INTO `category` (`catid`, `catname`, `catimg`) VALUES
(1, 'Fan', '../views/uploads/crompton.png'),
(2, 'Light', '../views/uploads/wipro-granet-ledbulb-9000.jpg'),
(3, 'Hand tools', '../views/uploads/IMG-20200224-WA0023.jpg'),
(4, 'Plugs & Sockets', '../views/uploads/sockets.jpg'),
(5, 'Cabels & Wires', '../views/uploads/IMG-20200224-WA0033.jpg'),
(6, 'Wiring Devices', '../views/uploads/switch_1.jpg');
-- --------------------------------------------------------
--
-- Table structure for table `contact`
--
CREATE TABLE `contact` (
`id` int(11) NOT NULL,
`name` varchar(100) NOT NULL,
`email` varchar(100) NOT NULL,
`msg` text NOT NULL,
`uid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `contact`
--
INSERT INTO `contact` (`id`, `name`, `email`, `msg`, `uid`) VALUES
(1, 'vishal', 'vishalchunara24@gmail.com', 'my order is not deliver.', 24);
-- --------------------------------------------------------
--
-- Table structure for table `coupon`
--
CREATE TABLE `coupon` (
`id` int(11) NOT NULL,
`uid` int(11) NOT NULL,
`name` varchar(100) NOT NULL,
`price` varchar(100) NOT NULL,
`expired` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `coupon`
--
INSERT INTO `coupon` (`id`, `uid`, `name`, `price`, `expired`) VALUES
(4, 24, 'IPL20', '125', 1),
(5, 24, 'DIWALI24', '120', 1),
(6, 26, 'IPL20', '150', 1),
(7, 25, 'WCC23', '99', 1);
-- --------------------------------------------------------
--
-- Table structure for table `disuser`
--
CREATE TABLE `disuser` (
`id` int(11) NOT NULL,
`email` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `login`
--
CREATE TABLE `login` (
`id` int(11) NOT NULL,
`username` varchar(100) NOT NULL,
`pass` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `login`
--
INSERT INTO `login` (`id`, `username`, `pass`) VALUES
(1, 'admin', 'admin');
-- --------------------------------------------------------
--
-- Table structure for table `orders`
--
CREATE TABLE `orders` (
`oid` int(11) NOT NULL,
`address1` varchar(400) NOT NULL,
`address2` varchar(400) NOT NULL,
`country` varchar(200) NOT NULL,
`state` varchar(200) NOT NULL,
`city` varchar(200) NOT NULL,
`zip` varchar(200) NOT NULL,
`phone` varchar(200) NOT NULL,
`products` text NOT NULL,
`total` varchar(400) NOT NULL,
`status` int(3) NOT NULL DEFAULT '0',
`uid` int(50) NOT NULL,
`pmode` varchar(100) NOT NULL,
`pstatus` varchar(100) NOT NULL DEFAULT 'failure',
`orderid` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `orders`
--
INSERT INTO `orders` (`oid`, `address1`, `address2`, `country`, `state`, `city`, `zip`, `phone`, `products`, `total`, `status`, `uid`, `pmode`, `pstatus`, `orderid`) VALUES
(98, '', '', '', '', '', '', '', 'Syska Rocket LED Bulb B22Base 45W(1)', '549', 0, 26, 'online', 'success', 'ORDS22555440'),
(99, 'Block no B-60 Vijay Flats', 'Gujarat University Navarang Pura', 'Indian', 'Gujarat', 'Ahemdabad', '380021', '9974347590', 'Havells Ciera High Speed Cabin Fan(1)', '1616', 0, 27, 'offline', 'success', 'ORDS25623616'),
(101, '', '', '', '', '', '', '', 'Crompton HS Decora Standard Ceiling Fan(3)', '5385', 0, 26, 'online', 'success', 'ORDS26420648'),
(102, '', '', '', '', '', '', '', 'Syska Rocket LED Bulb B22Base 45W(1)', '699', 0, 26, 'online', 'success', 'ORDS99814582');
-- --------------------------------------------------------
--
-- Table structure for table `otp_expiry`
--
CREATE TABLE `otp_expiry` (
`id` int(11) NOT NULL,
`otp` int(50) NOT NULL,
`is_expired` int(11) NOT NULL,
`created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `otp_expiry`
--
INSERT INTO `otp_expiry` (`id`, `otp`, `is_expired`, `created_at`) VALUES
(99, 552192, 1, '2021-05-31 18:42:27'),
(100, 805169, 0, '2021-05-31 18:45:37'),
(101, 511175, 1, '2021-06-01 09:51:51'),
(102, 432312, 1, '2021-06-01 09:53:55'),
(103, 920595, 1, '2021-06-01 09:56:33'),
(104, 411862, 1, '2021-06-01 09:58:07'),
(105, 736763, 1, '2021-06-01 10:00:25'),
(106, 277297, 0, '2021-06-01 10:02:11'),
(107, 705315, 1, '2021-06-06 12:14:28'),
(108, 703083, 0, '2021-06-06 12:47:08'),
(109, 696217, 1, '2021-06-06 12:47:47');
-- --------------------------------------------------------
--
-- Table structure for table `product`
--
CREATE TABLE `product` (
`prodid` int(11) NOT NULL,
`catid` int(11) NOT NULL,
`prodname` varchar(100) NOT NULL,
`prodimg` varchar(100) NOT NULL,
`proddesc` text NOT NULL,
`prodprice` varchar(100) NOT NULL,
`prodstatus` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `product`
--
INSERT INTO `product` (`prodid`, `catid`, `prodname`, `prodimg`, `proddesc`, `prodprice`, `prodstatus`) VALUES
(1, 1, 'Taparia Claw Hammer, 340 Gms', '../views/uploads/tablefan2.jpg', ' Taparia Claw Hammer, 340 Gms With Handle (Ref No. : CH 340) ', '1228', 1),
(3, 1, 'Crompton HS Decora Standard Ceiling Fan', '../views/uploads/crompton.png', ' Crompton HS Decora Metallic Standard - Deco Ceiling Fan 1200 Mm (48\"), Ginger Gold, 3 Blade, High Air Delivery (Ref No. : HSDCPRM48GGD)\r\n ', '1795', 1),
(4, 1, 'Havells Ciera High Speed Cabin Fan', '../views/uploads/IMG-20200223-WA0011.jpg', 'Havells Ciera High Speed Cabin Fan 300 Mm (12\"), Ivory (Ref No. : FHPCISTIVR12) ', '1616', 1),
(5, 1, 'Standard Refresh Air DXR Exhaust Plastic Round Fan', '../views/uploads/crompton_flux_air_metal_exhaust_fan_1.png', 'Standard Refresh Air - DXR Exhaust Plastic Round Ventilation Fan 150 Mm (6\"), White (Ref No. : FSVRFDWWHT06)\r\n \r\n ', '1120', 1),
(6, 2, 'Syska Rocket LED Bulb B22Base 45W', '../views/uploads/syska_led_pagn_bulb.png', ' Syska Rocket LED Bulb B22 Base 45 W, Warm White (Ref No. : SSK-RB-4501-3K-B22) \r\n ', '699', 1),
(7, 2, 'Wipro Garnet LED Slim Batten Light 14 W', '../views/uploads/Inkedwipro-granet-ledslimlight-5114_LI.jpg', 'Wipro Garnet LED Slim Batten Light 14 W, Warm White (Ref No. : D511427) \r\n ', '2300', 1),
(8, 2, 'GM Modular G-02 LED Flood Light 30 W', '../views/uploads/Flood_Light.png', 'GM Modular G-02 LED Flood Light 30 W, Cool White (Ref No. : G02-30-6.5K-FL) \r\n ', '2900', 1),
(9, 2, 'M Modular Fiesta LED Mini COB Spot Light 3 W', '../views/uploads/123.jpg', 'M Modular Fiesta LED Mini COB Spot Light 3 W, Neutral White, Concealed Mounted, Square (Ref No. : GM 0210) \r\n ', '500', 1),
(10, 5, 'Polycab 1 Sq.Mm, Single Core Copper Flexible Cable', '../views/uploads/Inkedpolycab_1_core_cable_red_fr_LI.jpg', ' Polycab 1 Sq.Mm, Single Core Copper Flexible Cable, Red, PVC FR (Flame Retardant) (Ref No. : POLY_1_CU_1C_MS_FR_R_90) \r\n ', '600', 1),
(11, 3, 'Taparia Double Ended Spanner, 10 X 12 Mm', '../views/uploads/Inkedtaparia_double_ended_spanner_dep_LI.jpg', 'Taparia Double Ended Spanner, 10 X 12 Mm, Chrome Plated (Ref No. : DEP 10 X 12) \r\n ', '31', 1),
(12, 3, 'Taparia Wire Stripping Plier, 150 Mm', '../views/uploads/taparia_round_nose_mini_plier_1402.png', 'Taparia Wire Stripping Plier, 150 Mm (Ref No. : WS 06) \r\n ', '62', 1),
(13, 3, 'Taparia Flat Screw Driver 1.6 X 0.4 Mm Tip, 50mm', '../views/uploads/taparia_two_in_one_screw_driver.png', 'Taparia Flat Screw Driver 1.6 X 0.4 Mm Tip, 50mm Length (Ref No. : 932) \r\n ', '29', 1),
(14, 3, 'Taparia Ball Pein Hammer, 500 Gms', '../views/uploads/taparia_claw_hammer.png', 'Taparia Ball Pein Hammer, 500 Gms With Handle (Ref No. : WH 500 B/C) \r\n ', '200', 1),
(15, 4, 'Legrand Mylinc White SP Switch 6 A', '../views/uploads/Inkedlegrand_mylinc_sp_switch_6755_01_LI.jpg', 'Legrand Mylinc White SP Switch 6 A, 1 Module, 1 Way (Ref No. : 6755 01) \r\n ', '31', 1),
(16, 4, 'Anchor Rider White 3 Pin Universal Socket 10 A', '../views/uploads/Inkedgreat_white_fiana_socket_20234_LI.jpg', 'Anchor Rider White 3 Pin Universal Socket 10 A, 2 Module, With Safety Shutter (Ref No. : 47323) \r\n ', '45', 1),
(17, 4, 'GM Modular FourFive 2 Module Light', '../views/uploads/gm_light_fitting_2_module_aa_2_062.png', 'GM Modular FourFive 2 Module Graphite Magnesia Light Fitting, White- LED (Ref No. : AA 2 062_GRAPHITE) \r\n ', '888', 1),
(18, 4, 'Anchor Rider White Fan Regulator 100 W', '../views/uploads/anchor_roma_fan_regulator_white_22546.jpg', 'Anchor Rider White Fan Regulator 100 W, 2 Module, 5 Step (Ref No. : 47500) \r\n ', '176', 1),
(19, 6, '9 Electric Schuko Connector 16 A', '../views/uploads/Inked9_electric_schuko_connector_9e10843_LI.jpg', '9 Electric Schuko Connector 16 A (Ref No. : 9E 10843) \r\n ', '264', 1),
(20, 6, '9 Electric Industrial Socket 16-20 A', '../views/uploads/Inked9_electric_industrial_wall_mounted_socket_9e_101_LI.jpg', ' 9 Electric Industrial Socket 16-20 A, 2 Pole+E, Wall Mounted, IP 44, 230 V, 6H (Ref No. : 9E 101) \r\n ', '355', 0),
(21, 5, 'Finolex 1 Sq.Mm, Single Core Copper Flexible Cable', '../views/uploads/finolexcable.jpg', ' Finolex 1 Sq.Mm, Single Core Copper Flexible Cable, Red, PVC FR (Flame Retardant) (Ref No. : POLY_1_CU_1C_MS_FR_R_90) \r\n ', '580', 1),
(22, 3, 'KROST New 46PCS 1/4\" Taparia Socket Set for Car, Motorbike, Bicycle Repair Tool Kit', '../views/uploads/1handcable.jpg', 'Tools Centre is the authorised distributor for this product so kindly check the seller before buying the product.\r\n1/4\" Taparia Socket Set.', '1982.00', 1),
(23, 3, 'AmazonBasics Tools 4-Piece Pliers Set', '../views/uploads/2handtool.jpg', 'Brand - AmazonBasics,\r\nMaterial - Metal, \r\nItem Dimensions - LxWxH 22.5 x 7 x 8.8 Centimeters,\r\nColour - Black,\r\nHandle Material - Plastic,\r\nItem Weight - 2.38 Pounds . ', '1459.00', 1),
(24, 5, 'OXCOR D Twin Flat 2 core Copper Wires and Cables 1mm 30 feet (10yd) ', '../views/uploads/wire1.jpg', 'Perfectly made for home appliances like ceiling fan, room heaters, Wall fans, Exaust fan, Pedestal fans, LED lights, Domestic Tube fittings.', '499.00', 1),
(25, 5, 'Ultra High Quality Super Flexible Silicone Wire by Indian Hobby Center (1meter Black)', '../views/uploads/wire2.jpg', '0.08mm Ultra thin Tin Coated Copper Strands results in High Strand Count in the wire which leads to High Current Carrying Capacity. A 12AWG Silicone Wires comes with 680 copper strands. ', '149.00', 1),
(26, 5, 'TERABYTE 18 Meter LAN Cable CAT6/Cat 6 Ethernet Cable Network Cable Internet Cable RJ45', '../views/uploads/wire3.jpg', 'Compared to a wireless network, Ethernet cables provide a wired network for a more secure and reliable internet connection. Use Ethernet cables to easily connect computers and peripherals to your LAN. \r\n ', '2284.00', 1),
(27, 5, 'Robotbanao N7-9JUZ-2DKU Double Ended Crocodile Clips Cable Alligator Clips Wire Testing', '../views/uploads/wire4.jpg', 'Imported, good quality, Kit contain: 10X double ended crocodile clips, It suits most users in deforest environment \r\n ', '189.00', 1),
(28, 2, 'HAPPENWELL Solar Powered Wireless Waterproof 20 LED Bright Outdoor Security Might Spotlights with Mo', '../views/uploads/light1.jpg', 'Waterproof and Durable: This light is weatherproof and durable with solid hard plastic which can withstand years of usageâ—† Solar panel life span: 5 years , LED Life Span:50000 hours.Only takes 6-8 hours to fully charge \r\n ', '389.00', 1),
(29, 2, 'ESS EMM 12W Round Cool Day White Led Surface Mounted Ceiling Light -Pack of 1', '../views/uploads/light2.jpg', '★WIDE APPLICATION: 6000K Natural Day Light,great for Stairwell,Stores,Shop,Office,Home,Living Room,Bathroom,Laundry room,Utility room,Washroom.Perfect as closet ceiling light,kitchen ceiling light,stairwell ceiling light,garage ceiling light. \r\n ', '299.00', 1),
(30, 1, 'Havells Stealth Air 1250mm Ceiling Fan (Pearl White)', '../views/uploads/fan.jpg', 'Exotic rich looks with modern styling ; Air delivery: 280 m³/min ; Rated Speed: 280 revolution per minute ; Blade finish: Dust and Mark Resistant Coating. \r\n ', '5672.00', 1),
(31, 1, 'Orient Electric Wendy 1200mm Ceiling Fan (Topaz Gold/Brown)', '../views/uploads/fan2.jpg', 'Full copper motor and ribbed aluminium blades for durability\r\nWarranty: 2 years warranty on product\r\nPower Wattage : 70 W \r\n ', '2278', 0),
(32, 4, 'Lonix 3 pin Plug Adapter, Multiple Socket Plug, 3 Pin Travel Universal Multi Plug', '../views/uploads/plug1.jpg', 'International sockets and indicator\r\nSuitable for different types of plugs used around the world in 150 countries\r\nVoltage: 240 volts\r\nFrequency: 60 hertz \r\n ', '75.00', 0),
(33, 4, 'INDURO 2 Pc Spark plug socket set', '../views/uploads/s1.jpg', 'Spark plug 16mm + 21 mm, with t handle, \r\nMade of high grade Crv steel, \r\nWith ergonomic Grip on the handle, \r\nMade in Taiwan. \r\n ', '349.00', 1),
(34, 6, 'LIFEGUARD RCCB & MCB, RCBOs 63 AMP with Over Voltage Protection, FR Grade PBT Cabinate (Din Rail & S', '../views/uploads/w1.jpg', 'LIFEGUARD DPSV RCBOs 63Amp., Single Phase, 2-Pole (1:Phase, 1:Neutral)\r\nRated breaking capacity :10kA ( ISI MCB Designed by German Technology), 220V AC, 50 Hz, Rated Residual Operating Time : 0.03S, O/v Cut-Off: 285V +/-2% With Respect to Neutral \r\n ', '5450.00', 1);
-- --------------------------------------------------------
--
-- Table structure for table `profile`
--
CREATE TABLE `profile` (
`profid` int(11) NOT NULL,
`fname` varchar(250) NOT NULL,
`lname` varchar(200) NOT NULL,
`gender` varchar(250) NOT NULL,
`dob` varchar(100) NOT NULL,
`email` varchar(100) NOT NULL,
`phone` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `profile`
--
INSERT INTO `profile` (`profid`, `fname`, `lname`, `gender`, `dob`, `email`, `phone`) VALUES
(24, 'vishal', 'chunara', 'male', '1999-02-24', 'vishalchunara24@gmail.com', '6353653848'),
(25, 'vk', 'chunara', 'male', '2021-04-08', 'vishal.c.addweb@gmail.com', '6353653848'),
(26, 'urmish', 'solanki', 'male', '2021-04-02', 'urmishmscit123@gmail.com', '9724830156'),
(27, '', '', '', '', 'urmishsolanki2225@gmail.com', ''),
(28, '', '', '', '', 'redeagleg06@gmail.com', ''),
(29, '', '', '', '', 'pkamleshbhai443@gmail.com', ''),
(30, '', '', '', '', 'aeksayar05081999@gmail.com', ''),
(31, '', '', '', '', 'urmishmscit123@outlook.com', ''),
(32, '', '', '', '', 'sahilsametriya2063@gmail.com', '');
-- --------------------------------------------------------
--
-- Table structure for table `reviews`
--
CREATE TABLE `reviews` (
`id` int(11) NOT NULL,
`prod_id` int(11) NOT NULL,
`email` varchar(255) NOT NULL,
`description` text NOT NULL,
`rating` tinyint(1) NOT NULL,
`submit_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `reviews`
--
INSERT INTO `reviews` (`id`, `prod_id`, `email`, `description`, `rating`, `submit_date`) VALUES
(1, 1, 'David Deacon', 'I use this website daily, the amount of content is brilliant.', 2, '2020-01-09 20:43:02'),
(2, 1, 'John Doe', 'Great website, great content, and great support!', 4, '2020-01-09 21:00:41'),
(6, 3, 'Robin', 'I use this website daily, the amount of content is brilliant.', 5, '2021-05-19 12:39:36'),
(7, 3, 'Jack', 'Amazing content inside your application but one problem in your site you cant tract product.', 4, '2021-05-19 12:40:59');
-- --------------------------------------------------------
--
-- Table structure for table `wishlist`
--
CREATE TABLE `wishlist` (
`wid` int(11) NOT NULL,
`wname` varchar(100) NOT NULL,
`wprice` varchar(100) NOT NULL,
`wimg` varchar(100) NOT NULL,
`uid` int(11) NOT NULL,
`wcode` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `wishlist`
--
INSERT INTO `wishlist` (`wid`, `wname`, `wprice`, `wimg`, `uid`, `wcode`) VALUES
(3, 'Standard Refresh Air DXR Exhaust Plastic Round Fan', '1120', '../views/uploads/crompton_flux_air_metal_exhaust_fan_1.png', 2, 5);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `cart`
--
ALTER TABLE `cart`
ADD PRIMARY KEY (`cartid`);
--
-- Indexes for table `category`
--
ALTER TABLE `category`
ADD PRIMARY KEY (`catid`);
--
-- Indexes for table `contact`
--
ALTER TABLE `contact`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `coupon`
--
ALTER TABLE `coupon`
ADD PRIMARY KEY (`id`),
ADD KEY `uid` (`uid`);
--
-- Indexes for table `disuser`
--
ALTER TABLE `disuser`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `login`
--
ALTER TABLE `login`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
ADD PRIMARY KEY (`oid`);
--
-- Indexes for table `otp_expiry`
--
ALTER TABLE `otp_expiry`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `product`
--
ALTER TABLE `product`
ADD PRIMARY KEY (`prodid`),
ADD KEY `catid` (`catid`);
--
-- Indexes for table `profile`
--
ALTER TABLE `profile`
ADD PRIMARY KEY (`profid`);
--
-- Indexes for table `reviews`
--
ALTER TABLE `reviews`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `wishlist`
--
ALTER TABLE `wishlist`
ADD PRIMARY KEY (`wid`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `cart`
--
ALTER TABLE `cart`
MODIFY `cartid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
--
-- AUTO_INCREMENT for table `category`
--
ALTER TABLE `category`
MODIFY `catid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `contact`
--
ALTER TABLE `contact`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `coupon`
--
ALTER TABLE `coupon`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `disuser`
--
ALTER TABLE `disuser`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `login`
--
ALTER TABLE `login`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
MODIFY `oid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=103;
--
-- AUTO_INCREMENT for table `otp_expiry`
--
ALTER TABLE `otp_expiry`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=110;
--
-- AUTO_INCREMENT for table `product`
--
ALTER TABLE `product`
MODIFY `prodid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=35;
--
-- AUTO_INCREMENT for table `profile`
--
ALTER TABLE `profile`
MODIFY `profid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;
--
-- AUTO_INCREMENT for table `reviews`
--
ALTER TABLE `reviews`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `wishlist`
--
ALTER TABLE `wishlist`
MODIFY `wid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
-- @testpoint: opengauss关键字destructor(非保留),作为存储过程名,部分测试点合理报错
--关键字不带引号-成功
drop procedure if exists destructor;
create procedure destructor(
section number(6),
salary_sum out number(8,2),
staffs_count out integer)
is
begin
select sum(salary), count(*) into salary_sum, staffs_count from staffs where section_id = section;
end;
/
drop procedure destructor(section number(6),salary_sum out number(8,2), staffs_count out integer);
--关键字带双引号-成功
drop procedure if exists "destructor";
create procedure "destructor"(
section number(6),
salary_sum out number(8,2),
staffs_count out integer)
is
begin
select sum(salary), count(*) into salary_sum, staffs_count from staffs where section_id = section;
end;
/
drop procedure "destructor"(section number(6),salary_sum out number(8,2), staffs_count out integer);
--关键字带单引号-合理报错
drop procedure if exists 'destructor';
create procedure 'destructor'(
section number(6),
salary_sum out number(8,2),
staffs_count out integer)
is
begin
select sum(salary), count(*) into salary_sum, staffs_count from staffs where section_id = section;
end;
/
--关键字带反引号-合理报错
drop procedure if exists `destructor`;
create procedure `destructor`(
section number(6),
salary_sum out number(8,2),
staffs_count out integer)
is
begin
select sum(salary), count(*) into salary_sum, staffs_count from staffs where section_id = section;
end;
/
|
select id, arn, name
from aws.aws_guardduty_finding
where id = '{{ output.resource_id.value }}';
|
-- SETTINGS
SET @iTypeOrder = (SELECT MAX(`order`) FROM `sys_options_types` WHERE `group` = 'modules');
INSERT INTO `sys_options_types`(`group`, `name`, `caption`, `icon`, `order`) VALUES
('modules', 'bx_organizations', '_bx_orgs', 'bx_organizations@modules/boonex/organizations/|std-mi.png', IF(ISNULL(@iTypeOrder), 1, @iTypeOrder + 1));
SET @iTypeId = LAST_INSERT_ID();
INSERT INTO `sys_options_categories` (`type_id`, `name`, `caption`, `order`)
VALUES (@iTypeId, 'bx_organizations', '_bx_orgs', 1);
SET @iCategId = LAST_INSERT_ID();
INSERT INTO `sys_options` (`name`, `value`, `category_id`, `caption`, `type`, `extra`, `check`, `check_error`, `order`) VALUES
('bx_organizations_autoapproval', 'on', @iCategId, '_bx_orgs_option_autoapproval', 'checkbox', '', '', '', 1),
('bx_organizations_default_acl_level', '3', @iCategId, '_bx_orgs_option_default_acl_level', 'select', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:15:"get_memberships";s:6:"params";a:2:{i:0;b:0;i:1;b:1;}s:5:"class";s:16:"TemplAclServices";}', '', '', 2),
('bx_organizations_num_connections_quick', '4', @iCategId, '_bx_orgs_option_num_connections_quick', 'digit', '', '', '', 10),
('bx_organizations_num_rss', '10', @iCategId, '_bx_orgs_option_num_rss', 'digit', '', '', '', 12);
-- PAGES
-- PAGE: create profile
INSERT INTO `sys_objects_page`(`object`, `uri`, `title_system`, `title`, `module`, `layout_id`, `visible_for_levels`, `visible_for_levels_editable`, `url`, `meta_description`, `meta_keywords`, `meta_robots`, `cache_lifetime`, `cache_editable`, `deletable`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_create_profile', 'create-organization-profile', '_bx_orgs_page_title_sys_create_profile', '_bx_orgs_page_title_create_profile', 'bx_organizations', 5, 2147483647, 1, 'page.php?i=create-organization-profile', '', '', '', 0, 1, 0, '', '');
INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES
('bx_organizations_create_profile', 1, 'bx_organizations', '_bx_orgs_page_block_title_create_profile', 11, 2147483647, 'service', 'a:2:{s:6:\"module\";s:16:\"bx_organizations\";s:6:\"method\";s:13:\"entity_create\";}', 0, 1, 1);
-- PAGE: view profile
INSERT INTO `sys_objects_page`(`object`, `uri`, `title_system`, `title`, `module`, `layout_id`, `visible_for_levels`, `visible_for_levels_editable`, `url`, `meta_description`, `meta_keywords`, `meta_robots`, `cache_lifetime`, `cache_editable`, `deletable`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_view_profile', 'view-organization-profile', '_bx_orgs_page_title_sys_view_profile', '_bx_orgs_page_title_view_profile', 'bx_organizations', 10, 2147483647, 1, 'page.php?i=view-organization-profile', '', '', '', 0, 1, 0, 'BxOrgsPageEntry', 'modules/boonex/organizations/classes/BxOrgsPageEntry.php');
INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES
('bx_organizations_view_profile', 1, 'bx_organizations', '_bx_orgs_page_block_title_profile_actions', 13, 2147483647, 'service', 'a:2:{s:6:\"module\";s:16:\"bx_organizations\";s:6:\"method\";s:14:\"entity_actions\";}', 0, 0, 0),
('bx_organizations_view_profile', 1, 'bx_organizations', '_bx_orgs_page_block_title_profile_cover', 3, 2147483647, 'service', 'a:2:{s:6:\"module\";s:16:\"bx_organizations\";s:6:\"method\";s:13:\"profile_cover\";}', 0, 0, 1),
('bx_organizations_view_profile', 2, 'bx_organizations', '_bx_orgs_page_block_title_profile_info', 11, 2147483647, 'service', 'a:2:{s:6:\"module\";s:16:\"bx_organizations\";s:6:\"method\";s:11:\"entity_info\";}', 0, 0, 0),
('bx_organizations_view_profile', 3, 'bx_organizations', '_bx_orgs_page_block_title_profile_friends', 11, 2147483647, 'service', 'a:2:{s:6:\"module\";s:16:\"bx_organizations\";s:6:\"method\";s:15:\"profile_friends\";}', 0, 0, 0);
-- PAGE: edit profile
INSERT INTO `sys_objects_page`(`object`, `uri`, `title_system`, `title`, `module`, `layout_id`, `visible_for_levels`, `visible_for_levels_editable`, `url`, `meta_description`, `meta_keywords`, `meta_robots`, `cache_lifetime`, `cache_editable`, `deletable`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_edit_profile', 'edit-organization-profile', '_bx_orgs_page_title_sys_edit_profile', '_bx_orgs_page_title_edit_profile', 'bx_organizations', 5, 2147483647, 1, 'page.php?i=edit-organization-profile', '', '', '', 0, 1, 0, 'BxOrgsPageEntry', 'modules/boonex/organizations/classes/BxOrgsPageEntry.php');
INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES
('bx_organizations_edit_profile', 1, 'bx_organizations', '_bx_orgs_page_block_title_edit_profile', 11, 2147483647, 'service', 'a:2:{s:6:\"module\";s:16:\"bx_organizations\";s:6:\"method\";s:11:\"entity_edit\";}', 0, 0, 0);
-- PAGE: edit profile cover
INSERT INTO `sys_objects_page`(`object`, `uri`, `title_system`, `title`, `module`, `layout_id`, `visible_for_levels`, `visible_for_levels_editable`, `url`, `meta_description`, `meta_keywords`, `meta_robots`, `cache_lifetime`, `cache_editable`, `deletable`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_edit_profile_cover', 'edit-organization-cover', '_bx_orgs_page_title_sys_edit_profile_cover', '_bx_orgs_page_title_edit_profile_cover', 'bx_organizations', 5, 2147483647, 1, 'page.php?i=edit-organization-cover', '', '', '', 0, 1, 0, 'BxOrgsPageEntry', 'modules/boonex/organizations/classes/BxOrgsPageEntry.php');
INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES
('bx_organizations_edit_profile_cover', 1, 'bx_organizations', '_bx_orgs_page_block_title_edit_profile_cover', 11, 2147483647, 'service', 'a:2:{s:6:\"module\";s:16:\"bx_organizations\";s:6:\"method\";s:17:\"entity_edit_cover\";}', 0, 0, 0);
-- PAGE: delete profile
INSERT INTO `sys_objects_page`(`object`, `uri`, `title_system`, `title`, `module`, `layout_id`, `visible_for_levels`, `visible_for_levels_editable`, `url`, `meta_description`, `meta_keywords`, `meta_robots`, `cache_lifetime`, `cache_editable`, `deletable`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_delete_profile', 'delete-organization-profile', '_bx_orgs_page_title_sys_delete_profile', '_bx_orgs_page_title_delete_profile', 'bx_organizations', 5, 2147483647, 1, 'page.php?i=delete-organization-profile', '', '', '', 0, 1, 0, 'BxOrgsPageEntry', 'modules/boonex/organizations/classes/BxOrgsPageEntry.php');
INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES
('bx_organizations_delete_profile', 1, 'bx_organizations', '_bx_orgs_page_block_title_delete_profile', 11, 2147483647, 'service', 'a:2:{s:6:\"module\";s:16:\"bx_organizations\";s:6:\"method\";s:13:\"entity_delete\";}', 0, 0, 0);
-- PAGE: profile info
INSERT INTO `sys_objects_page`(`object`, `uri`, `title_system`, `title`, `module`, `layout_id`, `visible_for_levels`, `visible_for_levels_editable`, `url`, `meta_description`, `meta_keywords`, `meta_robots`, `cache_lifetime`, `cache_editable`, `deletable`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_profile_info', 'organization-profile-info', '_bx_orgs_page_title_sys_profile_info', '_bx_orgs_page_title_profile_info', 'bx_organizations', 5, 2147483647, 1, 'page.php?i=organization-profile-info', '', '', '', 0, 1, 0, 'BxOrgsPageEntry', 'modules/boonex/organizations/classes/BxOrgsPageEntry.php');
INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES
('bx_organizations_profile_info', 1, 'bx_organizations', '_bx_orgs_page_block_title_profile_info', 11, 2147483647, 'service', 'a:2:{s:6:\"module\";s:16:\"bx_organizations\";s:6:\"method\";s:11:\"entity_info\";}', 0, 0, 1);
-- PAGE: profile friends
INSERT INTO `sys_objects_page`(`object`, `uri`, `title_system`, `title`, `module`, `layout_id`, `visible_for_levels`, `visible_for_levels_editable`, `url`, `meta_description`, `meta_keywords`, `meta_robots`, `cache_lifetime`, `cache_editable`, `deletable`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_profile_friends', 'organization-profile-friends', '_bx_orgs_page_title_sys_profile_friends', '_bx_orgs_page_title_profile_friends', 'bx_organizations', 5, 2147483647, 1, 'page.php?i=organization-profile-friends', '', '', '', 0, 1, 0, 'BxOrgsPageEntry', 'modules/boonex/organizations/classes/BxOrgsPageEntry.php');
INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES
('bx_organizations_profile_friends', 1, 'bx_organizations', '_bx_orgs_page_block_title_profile_friends', 11, 2147483647, 'service', 'a:3:{s:6:\"module\";s:6:\"system\";s:6:\"method\";s:17:\"connections_table\";s:5:\"class\";s:23:\"TemplServiceConnections\";}', 0, 0, 1);
-- PAGE: module home
INSERT INTO `sys_objects_page`(`object`, `title_system`, `title`, `module`, `layout_id`, `visible_for_levels`, `visible_for_levels_editable`, `uri`, `url`, `meta_description`, `meta_keywords`, `meta_robots`, `cache_lifetime`, `cache_editable`, `deletable`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_home', '_bx_orgs_page_title_sys_home', '_bx_orgs_page_title_home', 'bx_organizations', 5, 2147483647, 1, 'organizations-home', 'page.php?i=organizations-home', '', '', '', 0, 1, 0, 'BxOrgsPageBrowse', 'modules/boonex/organizations/classes/BxOrgsPageBrowse.php');
INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES
('bx_organizations_home', 1, 'bx_organizations', '_bx_orgs_page_block_title_latest_profiles', 11, 2147483647, 'service', 'a:3:{s:6:\"module\";s:16:\"bx_organizations\";s:6:\"method\";s:22:\"browse_recent_profiles\";s:6:"params";a:1:{i:0;b:1;}}', 0, 1, 0);
-- PAGE: module manage own
INSERT INTO `sys_objects_page`(`object`, `title_system`, `title`, `module`, `layout_id`, `visible_for_levels`, `visible_for_levels_editable`, `uri`, `url`, `meta_description`, `meta_keywords`, `meta_robots`, `cache_lifetime`, `cache_editable`, `deletable`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_manage', '_bx_orgs_page_title_sys_manage', '_bx_orgs_page_title_manage', 'bx_organizations', 5, 2147483647, 1, 'organizations-manage', 'page.php?i=organizations-manage', '', '', '', 0, 1, 0, 'BxOrgsPageBrowse', 'modules/boonex/organizations/classes/BxOrgsPageBrowse.php');
INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title_system`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES
('bx_organizations_manage', 1, 'bx_organizations', '_bx_orgs_page_block_title_system_manage', '_bx_orgs_page_block_title_manage', 11, 2147483647, 'service', 'a:2:{s:6:\"module\";s:16:\"bx_organizations\";s:6:\"method\";s:12:\"manage_tools\";}}', 0, 1, 0);
-- PAGE: module manage all
INSERT INTO `sys_objects_page`(`object`, `title_system`, `title`, `module`, `layout_id`, `visible_for_levels`, `visible_for_levels_editable`, `uri`, `url`, `meta_description`, `meta_keywords`, `meta_robots`, `cache_lifetime`, `cache_editable`, `deletable`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_administration', '_bx_orgs_page_title_sys_manage_administration', '_bx_orgs_page_title_manage', 'bx_organizations', 5, 192, 1, 'organizations-administration', 'page.php?i=organizations-administration', '', '', '', 0, 1, 0, 'BxOrgsPageBrowse', 'modules/boonex/organizations/classes/BxOrgsPageBrowse.php');
INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title_system`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES
('bx_organizations_administration', 1, 'bx_organizations', '_bx_orgs_page_block_title_system_manage_administration', '_bx_orgs_page_block_title_manage', 11, 192, 'service', 'a:3:{s:6:\"module\";s:16:\"bx_organizations\";s:6:\"method\";s:12:\"manage_tools\";s:6:\"params\";a:1:{i:0;s:14:\"administration\";}}', 0, 1, 0);
-- PAGE: add block to homepage
SET @iBlockOrder = (SELECT `order` FROM `sys_pages_blocks` WHERE `object` = 'sys_home' AND `cell_id` = 1 ORDER BY `order` DESC LIMIT 1);
INSERT INTO `sys_pages_blocks` (`object`, `cell_id`, `module`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES
('sys_home', 1, 'bx_organizations', '_bx_orgs_page_block_title_latest_profiles', 11, 2147483647, 'service', 'a:2:{s:6:"module";s:16:"bx_organizations";s:6:"method";s:22:"browse_recent_profiles";}', 1, 0, IFNULL(@iBlockOrder, 0) + 1);
-- MENU
-- MENU: add to site menu
SET @iSiteMenuOrder = (SELECT `order` FROM `sys_menu_items` WHERE `set_name` = 'sys_site' AND `active` = 1 ORDER BY `order` DESC LIMIT 1);
INSERT INTO `sys_menu_items` (`set_name`, `module`, `name`, `title_system`, `title`, `link`, `onclick`, `target`, `icon`, `submenu_object`, `visible_for_levels`, `active`, `copyable`, `order`) VALUES
('sys_site', 'bx_organizations', 'organizations-home', '_bx_orgs_menu_item_title_system_entries_home', '_bx_orgs_menu_item_title_entries_home', 'page.php?i=organizations-home', '', '', 'briefcase col-red2', 'bx_organizations_submenu', 2147483647, 1, 1, IFNULL(@iSiteMenuOrder, 0) + 1);
--SET @iCreateProfileMenuOrder = (SELECT `order` FROM `sys_menu_items` WHERE `set_name` = 'sys_profiles_create' AND `active` = 1 ORDER BY `order` DESC LIMIT 1);
--INSERT INTO `sys_menu_items` (`set_name`, `module`, `name`, `title_system`, `title`, `link`, `onclick`, `target`, `icon`, `submenu_object`, `visible_for_levels`, `active`, `copyable`, `order`) VALUES
--('sys_profiles_create', 'bx_organizations', 'create-organization-profile', '_bx_orgs_menu_item_title_system_profile_type', '_bx_orgs_menu_item_title_profile_type', 'page.php?i=create-organization-profile', '', '', 'briefcase', '', 2147483647, 1, 1, IFNULL(@iCreateProfileMenuOrder, 0) + 1);
SET @iAddMenuOrder = (SELECT `order` FROM `sys_menu_items` WHERE `set_name` = 'sys_add_profile_links' AND `active` = 1 ORDER BY `order` DESC LIMIT 1);
INSERT INTO `sys_menu_items` (`set_name`, `module`, `name`, `title_system`, `title`, `link`, `onclick`, `target`, `icon`, `submenu_object`, `visible_for_levels`, `active`, `copyable`, `order`) VALUES
('sys_add_profile_links', 'bx_organizations', 'create-organization-profile', '_bx_orgs_menu_item_title_system_create_profile', '_bx_orgs_menu_item_title_create_profile', 'page.php?i=create-organization-profile', '', '', 'briefcase', '', 2147483647, 1, 1, IFNULL(@iAddMenuOrder, 0) + 1);
-- MENU: view actions
INSERT INTO `sys_objects_menu`(`object`, `title`, `set_name`, `module`, `template_id`, `deletable`, `active`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_view_actions', '_bx_orgs_menu_title_view_profile_actions', 'bx_organizations_view_actions', 'bx_organizations', 9, 0, 1, 'BxOrgsMenuView', 'modules/boonex/organizations/classes/BxOrgsMenuView.php');
INSERT INTO `sys_menu_sets`(`set_name`, `module`, `title`, `deletable`) VALUES
('bx_organizations_view_actions', 'bx_organizations', '_bx_orgs_menu_set_title_view_profile_actions', 0);
INSERT INTO `sys_menu_items`(`set_name`, `module`, `name`, `title_system`, `title`, `link`, `onclick`, `target`, `icon`, `submenu_object`, `visible_for_levels`, `active`, `copyable`, `order`) VALUES
('bx_organizations_view_actions', 'bx_organizations', 'profile-friend-add', '_bx_orgs_menu_item_title_system_befriend', '{title_add_friend}', 'javascript:void(0)', 'bx_conn_action(this, \'sys_profiles_friends\', \'add\', \'{profile_id}\')', '', 'plus', '', 2147483647, 1, 0, 10),
('bx_organizations_view_actions', 'bx_organizations', 'profile-subscribe-add', '_bx_orgs_menu_item_title_system_subscribe', '_bx_orgs_menu_item_title_subscribe', 'javascript:void(0)', 'bx_conn_action(this, \'sys_profiles_subscriptions\', \'add\', \'{profile_id}\')', '', 'check', '', 2147483647, 1, 0, 20),
('bx_organizations_view_actions', 'bx_organizations', 'profile-set-acl-level', '_sys_menu_item_title_system_set_acl_level', '_sys_menu_item_title_set_acl_level', 'javascript:void(0)', 'bx_menu_popup(''sys_set_acl_level'', window, {}, {profile_id: {profile_id}});', '', 'certificate', '', 192, 1, 0, 1000),
('bx_organizations_view_actions', 'bx_organizations', 'profile-actions-more', '_bx_orgs_menu_item_title_system_more_actions', '_bx_orgs_menu_item_title_more_actions', 'javascript:void(0)', 'bx_menu_popup(''bx_organizations_view_actions_more'', this, {}, {profile_id:{profile_id}});', '', 'cog', 'bx_organizations_view_actions_more', 2147483647, 1, 0, 9999);
-- MENU: view actions more
INSERT INTO `sys_objects_menu`(`object`, `title`, `set_name`, `module`, `template_id`, `deletable`, `active`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_view_actions_more', '_bx_orgs_menu_title_view_profile_actions_more', 'bx_organizations_view_actions_more', 'bx_organizations', 6, 0, 1, 'BxOrgsMenuView', 'modules/boonex/organizations/classes/BxOrgsMenuView.php');
INSERT INTO `sys_menu_sets`(`set_name`, `module`, `title`, `deletable`) VALUES
('bx_organizations_view_actions_more', 'bx_organizations', '_bx_orgs_menu_set_title_view_profile_actions_more', 0);
INSERT INTO `sys_menu_items`(`set_name`, `module`, `name`, `title_system`, `title`, `link`, `onclick`, `target`, `icon`, `submenu_object`, `visible_for_levels`, `active`, `copyable`, `order`) VALUES
('bx_organizations_view_actions_more', 'bx_organizations', 'profile-friend-remove', '_bx_orgs_menu_item_title_system_unfriend', '{title_remove_friend}', 'javascript:void(0)', 'bx_conn_action(this, \'sys_profiles_friends\', \'remove\', \'{profile_id}\')', '', 'minus', '', 2147483647, 1, 0, 10),
('bx_organizations_view_actions_more', 'bx_organizations', 'profile-subscribe-remove', '_bx_orgs_menu_item_title_system_unsubscribe', '_bx_orgs_menu_item_title_unsubscribe', 'javascript:void(0)', 'bx_conn_action(this, \'sys_profiles_subscriptions\', \'remove\', \'{profile_id}\')', '', 'check', '', 2147483647, 1, 0, 20),
('bx_organizations_view_actions_more', 'bx_organizations', 'edit-organization-profile', '_bx_orgs_menu_item_title_system_edit_profile', '_bx_orgs_menu_item_title_edit_profile', 'page.php?i=edit-organization-profile&id={content_id}', '', '', 'pencil', '', 2147483647, 1, 0, 30),
('bx_organizations_view_actions_more', 'bx_organizations', 'delete-organization-profile', '_bx_orgs_menu_item_title_system_delete_profile', '_bx_orgs_menu_item_title_delete_profile', 'page.php?i=delete-organization-profile&id={content_id}', '', '', 'remove', '', 2147483647, 1, 0, 40),
('bx_organizations_view_actions_more', 'bx_organizations', 'delete-organization-account', '_bx_orgs_menu_item_title_system_delete_account', '_bx_orgs_menu_item_title_delete_account', 'page.php?i=account-settings-delete&id={account_id}', '', '', 'remove', '', 128, 1, 0, 50);
-- MENU: module sub-menu
INSERT INTO `sys_objects_menu`(`object`, `title`, `set_name`, `module`, `template_id`, `deletable`, `active`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_submenu', '_bx_orgs_menu_title_submenu', 'bx_organizations_submenu', 'bx_organizations', 8, 0, 1, '', '');
INSERT INTO `sys_menu_sets`(`set_name`, `module`, `title`, `deletable`) VALUES
('bx_organizations_submenu', 'bx_organizations', '_bx_orgs_menu_set_title_submenu', 0);
INSERT INTO `sys_menu_items`(`set_name`, `module`, `name`, `title_system`, `title`, `link`, `onclick`, `target`, `icon`, `submenu_object`, `visible_for_levels`, `active`, `copyable`, `order`) VALUES
('bx_organizations_submenu', 'bx_organizations', 'organizations-home', '_bx_orgs_menu_item_title_system_entries_public', '_bx_orgs_menu_item_title_entries_public', 'page.php?i=organizations-home', '', '', '', '', 2147483647, 1, 1, 1),
('bx_organizations_submenu', 'bx_organizations', 'organizations-manage', '_bx_orgs_menu_item_title_system_entries_manage', '_bx_orgs_menu_item_title_entries_manage', 'page.php?i=organizations-manage', '', '', '', '', 2147483646, 1, 1, 2);
-- MENU: view submenu
INSERT INTO `sys_objects_menu`(`object`, `title`, `set_name`, `module`, `template_id`, `deletable`, `active`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_view_submenu', '_bx_orgs_menu_title_view_profile_submenu', 'bx_organizations_view_submenu', 'bx_organizations', 8, 0, 1, 'BxOrgsMenuView', 'modules/boonex/organizations/classes/BxOrgsMenuView.php');
INSERT INTO `sys_menu_sets`(`set_name`, `module`, `title`, `deletable`) VALUES
('bx_organizations_view_submenu', 'bx_organizations', '_bx_orgs_menu_set_title_view_profile_submenu', 0);
INSERT INTO `sys_menu_items`(`set_name`, `module`, `name`, `title_system`, `title`, `link`, `onclick`, `target`, `icon`, `submenu_object`, `visible_for_levels`, `active`, `copyable`, `order`) VALUES
('bx_organizations_view_submenu', 'bx_organizations', 'view-organization-profile', '_bx_orgs_menu_item_title_system_view_profile_view', '_bx_orgs_menu_item_title_view_profile_view', 'page.php?i=view-organization-profile&id={content_id}', '', '', '', '', 2147483647, 1, 0, 1),
('bx_organizations_view_submenu', 'bx_organizations', 'organization-profile-info', '_bx_orgs_menu_item_title_system_view_profile_info', '_bx_orgs_menu_item_title_view_profile_info', 'page.php?i=organization-profile-info&id={content_id}', '', '', '', '', 2147483647, 1, 0, 2),
('bx_organizations_view_submenu', 'bx_organizations', 'organization-profile-friends', '_bx_orgs_menu_item_title_system_view_profile_friends', '_bx_orgs_menu_item_title_view_profile_friends', 'page.php?i=organization-profile-friends&profile_id={profile_id}', '', '', '', '', 2147483647, 1, 0, 3);
-- MENU: notifications menu in account popup
SET @iNotifMenuOrder = (SELECT `order` FROM `sys_menu_items` WHERE `set_name` = 'sys_account_notifications' AND `active` = 1 ORDER BY `order` DESC LIMIT 1);
INSERT INTO `sys_menu_items` (`set_name`, `module`, `name`, `title_system`, `title`, `link`, `onclick`, `target`, `icon`, `addon`, `submenu_object`, `visible_for_levels`, `active`, `copyable`, `order`) VALUES
('sys_account_notifications', 'bx_organizations', 'notifications-friend-requests', '_bx_orgs_menu_item_title_system_friends', '_bx_orgs_menu_item_title_friends', 'page.php?i=organization-profile-friends&profile_id={member_id}', '', '', 'group col-red2', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:31:"get_unconfirmed_connections_num";s:6:"params";a:1:{i:0;s:20:"sys_profiles_friends";}s:5:"class";s:23:"TemplServiceConnections";}', '', 2147483646, 1, 0, IFNULL(@iNotifMenuOrder, 0) + 1);
-- MENU: profile stats
SET @iNotifMenuOrder = (SELECT IFNULL(MAX(`order`), 0) FROM `sys_menu_items` WHERE `set_name` = 'sys_profile_stats' AND `active` = 1 LIMIT 1);
INSERT INTO `sys_menu_items` (`set_name`, `module`, `name`, `title_system`, `title`, `link`, `onclick`, `target`, `icon`, `addon`, `submenu_object`, `visible_for_levels`, `active`, `copyable`, `order`) VALUES
('sys_profile_stats', 'bx_organizations', 'profile-stats-friend-requests', '_bx_orgs_menu_item_title_system_friend_requests', '_bx_orgs_menu_item_title_friend_requests', 'page.php?i=organization-profile-friends&profile_id={member_id}', '', '', 'briefcase col-red2', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:31:"get_unconfirmed_connections_num";s:6:"params";a:1:{i:0;s:20:"sys_profiles_friends";}s:5:"class";s:23:"TemplServiceConnections";}', '', 2147483646, 1, 0, @iNotifMenuOrder + 1),
('sys_profile_stats', 'bx_organizations', 'profile-stats-manage-organizations', '_bx_orgs_menu_item_title_system_manage_my_organizations', '_bx_orgs_menu_item_title_manage_my_organizations', 'page.php?i=organizations-manage', '', '_self', 'briefcase col-red2', 'a:2:{s:6:"module";s:16:"bx_organizations";s:6:"method";s:41:"get_menu_addon_manage_tools_profile_stats";}', '', 2147483646, 1, 0, @iNotifMenuOrder + 2);
-- MENU: manage tools submenu
INSERT INTO `sys_objects_menu`(`object`, `title`, `set_name`, `module`, `template_id`, `deletable`, `active`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_menu_manage_tools', '_bx_orgs_menu_title_manage_tools', 'bx_organizations_menu_manage_tools', 'bx_organizations', 6, 0, 1, 'BxOrgsMenuManageTools', 'modules/boonex/organizations/classes/BxOrgsMenuManageTools.php');
INSERT INTO `sys_menu_sets`(`set_name`, `module`, `title`, `deletable`) VALUES
('bx_organizations_menu_manage_tools', 'bx_organizations', '_bx_orgs_menu_set_title_manage_tools', 0);
INSERT INTO `sys_menu_items`(`set_name`, `module`, `name`, `title_system`, `title`, `link`, `onclick`, `target`, `icon`, `submenu_object`, `visible_for_levels`, `active`, `copyable`, `order`) VALUES
('bx_organizations_menu_manage_tools', 'bx_organizations', 'delete', '_bx_orgs_menu_item_title_system_delete', '_bx_orgs_menu_item_title_delete', 'javascript:void(0)', 'javascript:{js_object}.onClickDelete({content_id});', '_self', 'trash-o', '', 2147483647, 1, 0, 1),
('bx_organizations_menu_manage_tools', 'bx_organizations', 'delete-with-content', '_bx_orgs_menu_item_title_system_delete_with_content', '_bx_orgs_menu_item_title_delete_with_content', 'javascript:void(0)', 'javascript:{js_object}.onClickDeleteWithContent({content_id});', '_self', 'trash-o', '', 2147483647, 1, 0, 2);
-- MENU: dashboard manage tools
SET @iManageMenuOrder = (SELECT IFNULL(MAX(`order`), 0) FROM `sys_menu_items` WHERE `set_name`='sys_account_dashboard_manage_tools' LIMIT 1);
INSERT INTO `sys_menu_items`(`set_name`, `module`, `name`, `title_system`, `title`, `link`, `onclick`, `target`, `icon`, `addon`, `submenu_object`, `visible_for_levels`, `active`, `copyable`, `order`) VALUES
('sys_account_dashboard_manage_tools', 'bx_organizations', 'organizations-administration', '_bx_orgs_menu_item_title_system_admt_organizations', '_bx_orgs_menu_item_title_admt_organizations', 'page.php?i=organizations-administration', '', '_self', '', 'a:2:{s:6:"module";s:16:"bx_organizations";s:6:"method";s:27:"get_menu_addon_manage_tools";}', '', 192, 1, 0, @iManageMenuOrder + 1);
-- ACL
INSERT INTO `sys_acl_actions` (`Module`, `Name`, `AdditionalParamName`, `Title`, `Desc`, `Countable`, `DisabledForLevels`) VALUES
('bx_organizations', 'create entry', NULL, '_bx_orgs_acl_action_create_profile', '', 1, 1);
SET @iIdActionProfileCreate = LAST_INSERT_ID();
INSERT INTO `sys_acl_actions` (`Module`, `Name`, `AdditionalParamName`, `Title`, `Desc`, `Countable`, `DisabledForLevels`) VALUES
('bx_organizations', 'delete entry', NULL, '_bx_orgs_acl_action_delete_profile', '', 1, 1);
SET @iIdActionProfileDelete = LAST_INSERT_ID();
INSERT INTO `sys_acl_actions` (`Module`, `Name`, `AdditionalParamName`, `Title`, `Desc`, `Countable`, `DisabledForLevels`) VALUES
('bx_organizations', 'view entry', NULL, '_bx_orgs_acl_action_view_profile', '', 1, 0);
SET @iIdActionProfileView = LAST_INSERT_ID();
INSERT INTO `sys_acl_actions` (`Module`, `Name`, `AdditionalParamName`, `Title`, `Desc`, `Countable`, `DisabledForLevels`) VALUES
('bx_organizations', 'edit any entry', NULL, '_bx_orgs_acl_action_edit_any_profile', '', 1, 3);
SET @iIdActionProfileEditAny = LAST_INSERT_ID();
SET @iUnauthenticated = 1;
SET @iAccount = 2;
SET @iStandard = 3;
SET @iUnconfirmed = 4;
SET @iPending = 5;
SET @iSuspended = 6;
SET @iModerator = 7;
SET @iAdministrator = 8;
SET @iPremium = 9;
INSERT INTO `sys_acl_matrix` (`IDLevel`, `IDAction`) VALUES
-- profile create
(@iAccount, @iIdActionProfileCreate),
(@iStandard, @iIdActionProfileCreate),
(@iUnconfirmed, @iIdActionProfileCreate),
(@iPending, @iIdActionProfileCreate),
(@iModerator, @iIdActionProfileCreate),
(@iAdministrator, @iIdActionProfileCreate),
(@iPremium, @iIdActionProfileCreate),
-- profile delete
(@iAccount, @iIdActionProfileDelete),
(@iStandard, @iIdActionProfileDelete),
(@iUnconfirmed, @iIdActionProfileDelete),
(@iPending, @iIdActionProfileDelete),
(@iModerator, @iIdActionProfileDelete),
(@iAdministrator, @iIdActionProfileDelete),
(@iPremium, @iIdActionProfileDelete),
-- profile view
(@iUnauthenticated, @iIdActionProfileView),
(@iAccount, @iIdActionProfileView),
(@iStandard, @iIdActionProfileView),
(@iUnconfirmed, @iIdActionProfileView),
(@iPending, @iIdActionProfileView),
(@iModerator, @iIdActionProfileView),
(@iAdministrator, @iIdActionProfileView),
(@iPremium, @iIdActionProfileView),
-- any profile edit
(@iModerator, @iIdActionProfileEditAny),
(@iAdministrator, @iIdActionProfileEditAny);
-- VIEWS
INSERT INTO `sys_objects_view` (`name`, `table_track`, `period`, `is_on`, `trigger_table`, `trigger_field_id`, `trigger_field_count`, `class_name`, `class_file`) VALUES
('bx_organizations', 'bx_organizations_views_track', '86400', '1', 'bx_organizations_data', 'id', 'views', '', '');
-- METATAGS
INSERT INTO `sys_objects_metatags` (`object`, `table_keywords`, `table_locations`, `table_mentions`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations', 'bx_organizations_meta_keywords', '', '', '', '');
-- SEARCH
SET @iSearchOrder = (SELECT IFNULL(MAX(`Order`), 0) FROM `sys_objects_search`);
INSERT INTO `sys_objects_search` (`ObjectName`, `Title`, `Order`, `ClassName`, `ClassPath`) VALUES
('bx_organizations', '_bx_orgs', @iSearchOrder + 1, 'BxOrgsSearchResult', 'modules/boonex/organizations/classes/BxOrgsSearchResult.php');
-- GRIDS: administration
INSERT INTO `sys_objects_grid` (`object`, `source_type`, `source`, `table`, `field_id`, `field_order`, `field_active`, `paginate_url`, `paginate_per_page`, `paginate_simple`, `paginate_get_start`, `paginate_get_per_page`, `filter_fields`, `filter_fields_translatable`, `filter_mode`, `sorting_fields`, `sorting_fields_translatable`, `override_class_name`, `override_class_file`) VALUES
('bx_organizations_administration', 'Sql', 'SELECT `td`.*, `ta`.`email` AS `account`, `ta`.`logged` AS `last_online`, `tp`.`status` AS `status` FROM `bx_organizations_data` AS `td` LEFT JOIN `sys_profiles` AS `tp` ON `td`.`id`=`tp`.`content_id` AND `tp`.`type`=''bx_organizations'' LEFT JOIN `sys_accounts` AS `ta` ON `tp`.`account_id`=`ta`.`id` WHERE 1 ', 'bx_organizations_data', 'id', 'last_online', 'status', '', 20, NULL, 'start', '', 'org_name', '', 'like', '', '', 'BxOrgsGridAdministration', 'modules/boonex/organizations/classes/BxOrgsGridAdministration.php'),
('bx_organizations_common', 'Sql', 'SELECT `td`.*, `ta`.`email` AS `account`, `ta`.`logged` AS `last_online`, `tp`.`status` AS `status` FROM `bx_organizations_data` AS `td` LEFT JOIN `sys_profiles` AS `tp` ON `td`.`id`=`tp`.`content_id` AND `tp`.`type`=''bx_organizations'' LEFT JOIN `sys_accounts` AS `ta` ON `tp`.`account_id`=`ta`.`id` WHERE 1 ', 'bx_organizations_data', 'id', 'last_online', 'status', '', 20, NULL, 'start', '', 'org_name', '', 'like', '', '', 'BxOrgsGridCommon', 'modules/boonex/organizations/classes/BxOrgsGridCommon.php');
INSERT INTO `sys_grid_fields` (`object`, `name`, `title`, `width`, `translatable`, `chars_limit`, `params`, `order`) VALUES
('bx_organizations_administration', 'checkbox', '_sys_select', '2%', 0, '', '', 1),
('bx_organizations_administration', 'switcher', '_bx_orgs_grid_column_title_adm_active', '8%', 0, '', '', 2),
('bx_organizations_administration', 'org_name', '_bx_orgs_grid_column_title_adm_org_name', '25%', 0, '', '', 3),
('bx_organizations_administration', 'last_online', '_bx_orgs_grid_column_title_adm_last_online', '20%', 1, '25', '', 4),
('bx_organizations_administration', 'account', '_bx_orgs_grid_column_title_adm_account', '25%', 0, '25', '', 5),
('bx_organizations_administration', 'actions', '', '20%', 0, '', '', 6),
('bx_organizations_common', 'checkbox', '_sys_select', '2%', 0, '', '', 1),
('bx_organizations_common', 'org_name', '_bx_orgs_grid_column_title_adm_org_name', '48%', 0, '', '', 2),
('bx_organizations_common', 'last_online', '_bx_orgs_grid_column_title_adm_last_online', '30%', 1, '25', '', 3),
('bx_organizations_common', 'actions', '', '20%', 0, '', '', 4);
INSERT INTO `sys_grid_actions` (`object`, `type`, `name`, `title`, `icon`, `icon_only`, `confirm`, `order`) VALUES
('bx_organizations_administration', 'bulk', 'set_acl_level', '_bx_orgs_grid_action_title_adm_set_acl_level', '', 0, 0, 1),
('bx_organizations_administration', 'bulk', 'delete', '_bx_orgs_grid_action_title_adm_delete', '', 0, 1, 2),
('bx_organizations_administration', 'bulk', 'delete_with_content', '_bx_orgs_grid_action_title_adm_delete_with_content', '', 0, 1, 3),
('bx_organizations_administration', 'single', 'set_acl_level', '_bx_orgs_grid_action_title_adm_set_acl_level', 'certificate', 1, 0, 1),
('bx_organizations_administration', 'single', 'settings', '_bx_orgs_grid_action_title_adm_more_actions', 'cog', 1, 0, 2),
('bx_organizations_common', 'bulk', 'delete', '_bx_orgs_grid_action_title_adm_delete', '', 0, 1, 1),
('bx_organizations_common', 'bulk', 'delete_with_content', '_bx_orgs_grid_action_title_adm_delete_with_content', '', 0, 1, 2),
('bx_organizations_common', 'single', 'settings', '_bx_orgs_grid_action_title_adm_more_actions', 'cog', 1, 0, 1);
|
inser overwrite table quotation_smooth
select dimission.date_day the_date -- 交易日期
,quotation.value1 -- 核心数值1
,quotation.value2 -- 核心数值2
,quotation.the_date smooth_date -- 平滑取自的日期
,case when dimission.date_day = quotation.the_date then '0'
else '1' end is_smooth -- 平滑标记,1是
from (
select t.*,
lead(the_date,1,to_date(current_timestamp()))
over(partition by id order by the_date) valid_date
from quotation_info t
) quotation
cross join calendar dimission
where dimission.date_day between quotation.the_date and quotation.valid_date
;
-- 优化,按年平滑发散
create table tmp_quotation_info as
select t.*,
lead(the_date,1,to_date(current_timestamp()))
over(partition by id order by the_date) valid_date
,year(the_date) as year
from quotation_info t
;
inser overwrite table quotation_smooth
select dimission.date_day the_date -- 交易日期
,quotation.value1 -- 核心数值1
,quotation.value2 -- 核心数值2
,quotation.the_date smooth_date -- 平滑取自的日期
,case when dimission.date_day = quotation.the_date then '0'
else '1' end is_smooth -- 平滑标记,1是
from tmp_quotation_info quotation
cross join calendar dimission
on quotation.year = dimission.year
where datediff(quotation.valid_date, quotation.the_date) <> 1
and year(quotation.the_date) = year(quotation.valid_date) -- 同年数据平滑
and dimission.date_day between quotation.the_date and quotation.valid_date
union all
select dimission.date_day the_date -- 交易日期
,quotation.value1 -- 核心数值1
,quotation.value2 -- 核心数值2
,quotation.the_date smooth_date -- 平滑取自的日期
,case when dimission.date_day = quotation.the_date then '0'
else '1' end is_smooth -- 平滑标记,1是
from tmp_quotation_info quotation
cross join calendar dimission
where datediff(quotation.valid_date, quotation.the_date) <> 1
and year(quotation.the_date) <> year(quotation.valid_date) -- 跨年数据
and dimission.date_day between quotation.the_date and quotation.valid_date
union all
select quotation.the_date the_date -- 交易日期
,quotation.value1 -- 核心数值1
,quotation.value2 -- 核心数值2
,quotation.the_date smooth_date -- 平滑取自的日期
,'0' is_smooth -- 平滑标记,0否
from tmp_quotation_info quotation
where datediff(quotation.valid_date, quotation.the_date) = 1
;
|
/**
* CreateTableUser
*/
CREATE TABLE `users`(
`id` int(11) UNSIGNED PRIMARY KEY AUTO_INCREMENT,
`name` varchar(32) UNIQUE,
`password` varchar(255),
`token` varchar(255),
`status` boolean DEFAULT 1,
`created_at` timestamp DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp DEFAULT CURRENT_TIMESTAMP
) ENGINE=innoDB DEFAULT CHARSET=utf8;
|
-- Q1. testing window functions with order by
create table spark_10747(col1 int, col2 int, col3 int) using parquet;
-- Q2. insert to tables
INSERT INTO spark_10747 VALUES (6, 12, 10), (6, 11, 4), (6, 9, 10), (6, 15, 8),
(6, 15, 8), (6, 7, 4), (6, 7, 8), (6, 13, null), (6, 10, null);
-- Q3. windowing with order by DESC NULLS LAST
select col1, col2, col3, sum(col2)
over (partition by col1
order by col3 desc nulls last, col2
rows between 2 preceding and 2 following ) as sum_col2
from spark_10747 where col1 = 6 order by sum_col2;
-- Q4. windowing with order by DESC NULLS FIRST
select col1, col2, col3, sum(col2)
over (partition by col1
order by col3 desc nulls first, col2
rows between 2 preceding and 2 following ) as sum_col2
from spark_10747 where col1 = 6 order by sum_col2;
-- Q5. windowing with order by ASC NULLS LAST
select col1, col2, col3, sum(col2)
over (partition by col1
order by col3 asc nulls last, col2
rows between 2 preceding and 2 following ) as sum_col2
from spark_10747 where col1 = 6 order by sum_col2;
-- Q6. windowing with order by ASC NULLS FIRST
select col1, col2, col3, sum(col2)
over (partition by col1
order by col3 asc nulls first, col2
rows between 2 preceding and 2 following ) as sum_col2
from spark_10747 where col1 = 6 order by sum_col2;
-- Q7. Regular query with ORDER BY ASC NULLS FIRST
SELECT COL1, COL2, COL3 FROM spark_10747 ORDER BY COL3 ASC NULLS FIRST, COL2;
-- Q8. Regular query with ORDER BY ASC NULLS LAST
SELECT COL1, COL2, COL3 FROM spark_10747 ORDER BY COL3 NULLS LAST, COL2;
-- Q9. Regular query with ORDER BY DESC NULLS FIRST
SELECT COL1, COL2, COL3 FROM spark_10747 ORDER BY COL3 DESC NULLS FIRST, COL2;
-- Q10. Regular query with ORDER BY DESC NULLS LAST
SELECT COL1, COL2, COL3 FROM spark_10747 ORDER BY COL3 DESC NULLS LAST, COL2;
-- drop the test table
drop table spark_10747;
-- Q11. mix datatype for ORDER BY NULLS FIRST|LAST
create table spark_10747_mix(
col1 string,
col2 int,
col3 double,
col4 decimal(10,2),
col5 decimal(20,1))
using parquet;
-- Q12. Insert to the table
INSERT INTO spark_10747_mix VALUES
('b', 2, 1.0, 1.00, 10.0),
('d', 3, 2.0, 3.00, 0.0),
('c', 3, 2.0, 2.00, 15.1),
('d', 3, 0.0, 3.00, 1.0),
(null, 3, 0.0, 3.00, 1.0),
('d', 3, null, 4.00, 1.0),
('a', 1, 1.0, 1.00, null),
('c', 3, 2.0, 2.00, null);
-- Q13. Regular query with 2 NULLS LAST columns
select * from spark_10747_mix order by col1 nulls last, col5 nulls last;
-- Q14. Regular query with 2 NULLS FIRST columns
select * from spark_10747_mix order by col1 desc nulls first, col5 desc nulls first;
-- Q15. Regular query with mixed NULLS FIRST|LAST
select * from spark_10747_mix order by col5 desc nulls first, col3 desc nulls last;
-- drop the test table
drop table spark_10747_mix;
|
CREATE PROCEDURE [dbo].[WebPage_Set]
(
@PageId int = -1,
@Name nvarchar(256),
@SiteId int = -1,
@Rank int,
@Active int,
@Identity nvarchar(256),
@ParentId int = -1,
@Title nvarchar(250),
@MasterPageId int = -1,
@PartControlTemplateId int = -1,
@PublicAccess int,
@PageType int = 0,
@UsePartTemplatePath int = 1,
@ManagementAccess int,
@ThemeId int,
@SkinId int
)
AS
SET NOCOUNT ON
if(@PageId = -1)
BEGIN
-- Insert
EXEC @PageId = WebObject_NextId 'WebPage';
INSERT INTO WebPage
(Name, SiteId, Rank, Active, [Identity], ParentId, Title, MasterPageId, PartControlTemplateId, PageId,
PublicAccess, PageType, UsePartTemplatePath, ManagementAccess, ThemeId, SkinId)
VALUES (@Name,@SiteId,@Rank,@Active,@Identity,@ParentId,@Title,@MasterPageId,@PartControlTemplateId,@PageId, @PublicAccess,
@PageType, @UsePartTemplatePath,@ManagementAccess, @ThemeId, @SkinId)
END
ELSE
BEGIN
-- Update
UPDATE WebPage
SET Name = @Name, SiteId = @SiteId, Rank = @Rank, Active = @Active, [Identity] = @Identity, ParentId = @ParentId,
Title = @Title, PublicAccess=@PublicAccess, MasterPageId = @MasterPageId, PartControlTemplateId = @PartControlTemplateId,
PageType = @PageType, UsePartTemplatePath = @UsePartTemplatePath,ManagementAccess=@ManagementAccess,
ThemeId=@ThemeId, SkinId=@SkinId
WHERE (PageId = @PageId)
END
SELECT @PageId;
RETURN
|
-- Name: RoiWithForAndFileIdByCollectionSite
-- Schema: posda_files
-- Columns: ['for_uid', 'roi_num', 'roi_name', 'file_id']
-- Args: ['collection', 'site']
-- Tags: ['Structure Sets', 'sops', 'LinkageChecks', 'struct_linkages']
-- Description: Get list of plan which reference unknown SOPs
--
--
select
distinct for_uid, roi_num, roi_name, file_id
from
roi natural join file_structure_set natural join ctp_file
where
project_name = ? and site_name = ? and visibility is null
order by file_id, for_uid
|
INSERT INTO `baetyl_property` (`name`, `value`) VALUES
('sync-server-address', 'https://host.docker.internal:30005'),
('init-server-address', 'https://0.0.0.0:30003'),
('baetyl-image', 'hub.baidubce.com/baetyl/baetyl:v2.1.0'),
('baetyl-function-image', 'hub.baidubce.com/baetyl/function:v2.1.0'),
('baetyl-broker-image', 'hub.baidubce.com/baetyl/broker:v2.1.0'),
('baetyl-function-runtime-python3','hub.baidubce.com/baetyl/function-python:3.6-v2.1.0'),
('baetyl-function-runtime-nodejs10','hub.baidubce.com/baetyl/function-node:10.19-v2.1.0'),
('baetyl-function-runtime-sql','hub.baidubce.com/baetyl/function-sql:v2.1.0'),
('baetyl-version-latest', 'v2.1.0'),
('command-docker-installation', 'curl -sSL https://get.daocloud.io/docker | sh'),
('command-k3s-installation-containerd', 'curl -sfL http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn INSTALL_K3S_EXEC="--write-kubeconfig ~/.kube/config --write-kubeconfig-mode 666" sh -'),
('command-k3s-installation-docker', 'curl -sfL http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn INSTALL_K3S_EXEC="--docker --write-kubeconfig ~/.kube/config --write-kubeconfig-mode 666" sh -'),
('baetyl-init-command', 'curl -skfL \'{{GetProperty \"init-server-address\"}}/v1/init/baetyl-install.sh?token={{.Token}}&mode={{.mode}}&initApplyYaml={{.InitApplyYaml}}\' -osetup.sh && sh setup.sh');
|
-- MySQL dump 10.13 Distrib 8.0.21, for Win64 (x86_64)
--
-- Host: localhost Database: campus_eats_fall2020
-- ------------------------------------------------------
-- Server version 8.0.21
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `ratings`
--
DROP TABLE IF EXISTS `ratings`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ratings` (
`rating_id` int NOT NULL AUTO_INCREMENT,
`driver1` int DEFAULT NULL,
`driver2` int DEFAULT NULL,
`driver3` int DEFAULT NULL,
`restaurant1` int DEFAULT NULL,
`restaurant2` int DEFAULT NULL,
`restaurant3` int DEFAULT NULL,
`comment` varchar(120) DEFAULT NULL,
`order_id` int DEFAULT NULL,
PRIMARY KEY (`rating_id`),
KEY `order_id_idx` (`order_id`),
CONSTRAINT `order_id` FOREIGN KEY (`order_id`) REFERENCES `order` (`order_id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ratings`
--
LOCK TABLES `ratings` WRITE;
/*!40000 ALTER TABLE `ratings` DISABLE KEYS */;
INSERT INTO `ratings` VALUES (1,3,1,5,4,2,3,'',10),(2,3,5,2,4,2,5,'Amazing!',43),(3,3,4,3,4,4,5,'',87),(4,2,3,2,4,1,5,'Aweful :(',100),(5,4,5,2,5,3,5,'Gross!',20),(6,5,4,4,5,5,2,'',4),(7,1,5,4,2,1,4,'',74),(8,3,5,4,5,3,5,'Excellent Service!',86),(9,1,4,3,5,5,5,'',53),(10,2,5,4,1,2,5,'Waited an extra hour >:(',59),(11,1,5,2,5,4,4,'',97),(12,3,5,3,3,4,3,'',81),(13,2,3,4,5,3,5,'',55),(14,1,5,3,5,5,4,'',66),(15,1,3,3,5,3,5,'',15),(16,2,4,4,5,2,5,'',50),(17,3,5,4,4,2,5,'Tasty!',9),(18,1,5,2,5,5,5,'',77),(19,5,5,4,5,4,3,'Rigth on time!',11),(20,3,5,2,5,2,5,'',62),(21,1,3,5,2,4,5,'Such wonderful service',1);
/*!40000 ALTER TABLE `ratings` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2020-11-21 20:49:11
|
set hive.stats.dbclass=fs;
--
-- Table src
--
DROP TABLE IF EXISTS src;
CREATE TABLE src (key STRING COMMENT 'default', value STRING COMMENT 'default') STORED AS TEXTFILE;
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/kv1.txt" INTO TABLE src;
ANALYZE TABLE src COMPUTE STATISTICS;
ANALYZE TABLE src COMPUTE STATISTICS FOR COLUMNS key,value;
--
-- Table src1
--
DROP TABLE IF EXISTS src1;
CREATE TABLE src1 (key STRING COMMENT 'default', value STRING COMMENT 'default') STORED AS TEXTFILE;
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/kv3.txt" INTO TABLE src1;
ANALYZE TABLE src1 COMPUTE STATISTICS;
ANALYZE TABLE src1 COMPUTE STATISTICS FOR COLUMNS key,value;
--
-- Table src_json
--
DROP TABLE IF EXISTS src_json;
CREATE TABLE src_json (json STRING COMMENT 'default') STORED AS TEXTFILE;
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/json.txt" INTO TABLE src_json;
ANALYZE TABLE src_json COMPUTE STATISTICS;
ANALYZE TABLE src_json COMPUTE STATISTICS FOR COLUMNS json;
--
-- Table src_sequencefile
--
DROP TABLE IF EXISTS src_sequencefile;
CREATE TABLE src_sequencefile (key STRING COMMENT 'default', value STRING COMMENT 'default') STORED AS SEQUENCEFILE;
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/kv1.seq" INTO TABLE src_sequencefile;
ANALYZE TABLE src_sequencefile COMPUTE STATISTICS;
ANALYZE TABLE src_sequencefile COMPUTE STATISTICS FOR COLUMNS key,value;
--
-- Table src_thrift
--
DROP TABLE IF EXISTS src_thrift;
CREATE TABLE src_thrift
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.thrift.ThriftDeserializer'
WITH SERDEPROPERTIES (
'serialization.class' = 'org.apache.hadoop.hive.serde2.thrift.test.Complex',
'serialization.format' = 'org.apache.thrift.protocol.TBinaryProtocol')
STORED AS SEQUENCEFILE;
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/complex.seq" INTO TABLE src_thrift;
ANALYZE TABLE src_thrift COMPUTE STATISTICS;
--
-- Table srcbucket
--
DROP TABLE IF EXISTS srcbucket_tmp;
DROP TABLE IF EXISTS srcbucket;
CREATE TABLE srcbucket_tmp (key INT, value STRING) STORED AS TEXTFILE;
CREATE TABLE srcbucket (key INT, value STRING)
CLUSTERED BY (key) INTO 2 BUCKETS
STORED AS TEXTFILE;
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/srcbucket0.txt" INTO TABLE srcbucket_tmp;
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/srcbucket1.txt" INTO TABLE srcbucket_tmp;
INSERT INTO srcbucket SELECT * FROM srcbucket_tmp;
DROP TABLE srcbucket_tmp;
ANALYZE TABLE srcbucket COMPUTE STATISTICS;
ANALYZE TABLE srcbucket COMPUTE STATISTICS FOR COLUMNS key,value;
--
-- Table srcbucket2
--
DROP TABLE IF EXISTS srcbucket_tmp;
DROP TABLE IF EXISTS srcbucket2;
CREATE TABLE srcbucket_tmp (key INT, value STRING);
CREATE TABLE srcbucket2 (key INT, value STRING)
CLUSTERED BY (key) INTO 4 BUCKETS
STORED AS TEXTFILE;
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/srcbucket20.txt" INTO TABLE srcbucket_tmp;
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/srcbucket21.txt" INTO TABLE srcbucket_tmp;
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/srcbucket22.txt" INTO TABLE srcbucket_tmp;
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/srcbucket23.txt" INTO TABLE srcbucket_tmp;
INSERT INTO srcbucket2 SELECT * FROM srcbucket_tmp;
DROP TABLE srcbucket_tmp;
ANALYZE TABLE srcbucket2 COMPUTE STATISTICS;
ANALYZE TABLE srcbucket2 COMPUTE STATISTICS FOR COLUMNS key,value;
--
-- Table srcpart
--
DROP TABLE IF EXISTS srcpart;
CREATE TABLE srcpart (key STRING COMMENT 'default', value STRING COMMENT 'default')
PARTITIONED BY (ds STRING, hr STRING)
STORED AS TEXTFILE;
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/kv1.txt"
OVERWRITE INTO TABLE srcpart PARTITION (ds="2008-04-08", hr="11");
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/kv1.txt"
OVERWRITE INTO TABLE srcpart PARTITION (ds="2008-04-08", hr="12");
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/kv1.txt"
OVERWRITE INTO TABLE srcpart PARTITION (ds="2008-04-09", hr="11");
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/kv1.txt"
OVERWRITE INTO TABLE srcpart PARTITION (ds="2008-04-09", hr="12");
ANALYZE TABLE srcpart PARTITION(ds, hr) COMPUTE STATISTICS;
ANALYZE TABLE srcpart PARTITION(ds, hr) COMPUTE STATISTICS FOR COLUMNS key,value;
--
-- Table alltypesorc
--
DROP TABLE IF EXISTS alltypesorc;
CREATE TABLE alltypesorc(
ctinyint TINYINT,
csmallint SMALLINT,
cint INT,
cbigint BIGINT,
cfloat FLOAT,
cdouble DOUBLE,
cstring1 STRING,
cstring2 STRING,
ctimestamp1 TIMESTAMP,
ctimestamp2 TIMESTAMP,
cboolean1 BOOLEAN,
cboolean2 BOOLEAN)
STORED AS ORC;
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/alltypesorc"
OVERWRITE INTO TABLE alltypesorc;
ANALYZE TABLE alltypesorc COMPUTE STATISTICS;
ANALYZE TABLE alltypesorc COMPUTE STATISTICS FOR COLUMNS ctinyint,csmallint,cint,cbigint,cfloat,cdouble,cstring1,cstring2,ctimestamp1,ctimestamp2,cboolean1,cboolean2;
--
-- Table primitives
--
DROP TABLE IF EXISTS primitives;
CREATE TABLE primitives (
id INT COMMENT 'default',
bool_col BOOLEAN COMMENT 'default',
tinyint_col TINYINT COMMENT 'default',
smallint_col SMALLINT COMMENT 'default',
int_col INT COMMENT 'default',
bigint_col BIGINT COMMENT 'default',
float_col FLOAT COMMENT 'default',
double_col DOUBLE COMMENT 'default',
date_string_col STRING COMMENT 'default',
string_col STRING COMMENT 'default',
timestamp_col TIMESTAMP COMMENT 'default')
PARTITIONED BY (year INT COMMENT 'default', month INT COMMENT 'default')
ROW FORMAT DELIMITED
FIELDS TERMINATED BY ','
ESCAPED BY '\\'
STORED AS TEXTFILE;
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/types/primitives/090101.txt"
OVERWRITE INTO TABLE primitives PARTITION(year=2009, month=1);
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/types/primitives/090201.txt"
OVERWRITE INTO TABLE primitives PARTITION(year=2009, month=2);
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/types/primitives/090301.txt"
OVERWRITE INTO TABLE primitives PARTITION(year=2009, month=3);
LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/types/primitives/090401.txt"
OVERWRITE INTO TABLE primitives PARTITION(year=2009, month=4);
--
-- Function qtest_get_java_boolean
--
DROP FUNCTION IF EXISTS qtest_get_java_boolean;
CREATE FUNCTION qtest_get_java_boolean AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFTestGetJavaBoolean';
--
-- Table dest1
--
DROP TABLE IF EXISTS dest1;
CREATE TABLE dest1 (key STRING COMMENT 'default', value STRING COMMENT 'default')
STORED AS
INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat'
OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat';
--
-- Table dest2
--
DROP TABLE IF EXISTS dest2;
CREATE TABLE dest2 (key STRING COMMENT 'default', value STRING COMMENT 'default')
STORED AS
INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat'
OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat';
--
-- Table dest3
--
DROP TABLE IF EXISTS dest3;
CREATE TABLE dest3 (key STRING COMMENT 'default', value STRING COMMENT 'default')
PARTITIONED BY (ds STRING, hr STRING)
STORED AS
INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat'
OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat';
ALTER TABLE dest3 ADD PARTITION (ds='2008-04-08',hr='12');
--
-- Table dest4
--
DROP TABLE IF EXISTS dest4;
CREATE TABLE dest4 (key STRING COMMENT 'default', value STRING COMMENT 'default')
STORED AS
INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat'
OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat';
--
-- Table dest4_sequencefile
--
DROP TABLE IF EXISTS dest4_sequencefile;
CREATE TABLE dest4_sequencefile (key STRING COMMENT 'default', value STRING COMMENT 'default')
STORED AS
INPUTFORMAT 'org.apache.hadoop.mapred.SequenceFileInputFormat'
OUTPUTFORMAT 'org.apache.hadoop.mapred.SequenceFileOutputFormat';
--
-- CBO tables
--
drop table if exists cbo_t1;
drop table if exists cbo_t2;
drop table if exists cbo_t3;
drop table if exists src_cbo;
drop table if exists part;
drop table if exists lineitem;
set hive.cbo.enable=true;
create table cbo_t1(key string, value string, c_int int, c_float float, c_boolean boolean) partitioned by (dt string) row format delimited fields terminated by ',' STORED AS TEXTFILE;
create table cbo_t2(key string, value string, c_int int, c_float float, c_boolean boolean) partitioned by (dt string) row format delimited fields terminated by ',' STORED AS TEXTFILE;
create table cbo_t3(key string, value string, c_int int, c_float float, c_boolean boolean) row format delimited fields terminated by ',' STORED AS TEXTFILE;
load data local inpath '${hiveconf:test.data.dir}/cbo_t1.txt' into table cbo_t1 partition (dt='2014');
load data local inpath '${hiveconf:test.data.dir}/cbo_t2.txt' into table cbo_t2 partition (dt='2014');
load data local inpath '${hiveconf:test.data.dir}/cbo_t3.txt' into table cbo_t3;
CREATE TABLE part(
p_partkey INT,
p_name STRING,
p_mfgr STRING,
p_brand STRING,
p_type STRING,
p_size INT,
p_container STRING,
p_retailprice DOUBLE,
p_comment STRING
);
LOAD DATA LOCAL INPATH '${hiveconf:test.data.dir}/part_tiny.txt' overwrite into table part;
CREATE TABLE lineitem (L_ORDERKEY INT,
L_PARTKEY INT,
L_SUPPKEY INT,
L_LINENUMBER INT,
L_QUANTITY DOUBLE,
L_EXTENDEDPRICE DOUBLE,
L_DISCOUNT DOUBLE,
L_TAX DOUBLE,
L_RETURNFLAG STRING,
L_LINESTATUS STRING,
l_shipdate STRING,
L_COMMITDATE STRING,
L_RECEIPTDATE STRING,
L_SHIPINSTRUCT STRING,
L_SHIPMODE STRING,
L_COMMENT STRING)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY '|';
LOAD DATA LOCAL INPATH '${hiveconf:test.data.dir}/lineitem.txt' OVERWRITE INTO TABLE lineitem;
create table src_cbo as select * from src;
analyze table cbo_t1 partition (dt) compute statistics;
analyze table cbo_t1 compute statistics for columns key, value, c_int, c_float, c_boolean;
analyze table cbo_t2 partition (dt) compute statistics;
analyze table cbo_t2 compute statistics for columns key, value, c_int, c_float, c_boolean;
analyze table cbo_t3 compute statistics;
analyze table cbo_t3 compute statistics for columns key, value, c_int, c_float, c_boolean;
analyze table src_cbo compute statistics;
analyze table src_cbo compute statistics for columns;
analyze table part compute statistics;
analyze table part compute statistics for columns;
analyze table lineitem compute statistics;
analyze table lineitem compute statistics for columns;
reset;
set hive.stats.dbclass=fs;
|
alter table egmrs_witness alter column officeaddress DROP NOT NULL;
update eg_module set enabled=false where name='Marriage Act';
INSERT INTO EG_ROLEACTION (roleid, actionid) VALUES ((SELECT id FROM eg_role WHERE name = 'Marriage Registration Creator'), (SELECT id FROM eg_action WHERE name = 'Validate Serial No is Unique'));
|
-- phpMyAdmin SQL Dump
-- version 5.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 27, 2020 at 06:41 AM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.2.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `sklinik`
--
-- --------------------------------------------------------
--
-- Table structure for table `failed_jobs`
--
CREATE TABLE `failed_jobs` (
`id` bigint(20) UNSIGNED NOT NULL,
`connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
`queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `lab`
--
CREATE TABLE `lab` (
`id` int(3) NOT NULL,
`nama` varchar(25) NOT NULL,
`satuan` varchar(10) NOT NULL,
`harga` int(6) NOT NULL,
`created_time` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_time` timestamp NOT NULL DEFAULT current_timestamp(),
`deleted` tinyint(1) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `lab`
--
INSERT INTO `lab` (`id`, `nama`, `satuan`, `harga`, `created_time`, `updated_time`, `deleted`) VALUES
(1, 'Kolesterol', 'mg/dl', 15000, '2020-04-07 08:32:20', '2020-04-12 03:05:59', 1),
(2, 'Asam Urat', 'mg/dl', 15000, '2020-04-07 01:43:20', '2020-04-07 01:43:20', 0),
(3, 'Gula Darah Sewaktu', 'mg/dl', 15000, '2020-04-07 01:43:47', '2020-04-07 01:51:29', 0),
(4, 'Gula Darah Puasa', 'mg/dl', 15000, '2020-04-12 03:06:27', '2020-04-12 03:06:27', 0),
(5, 'Gula Darah 2 Jam PP', 'mg/dl', 15000, '2020-04-26 05:09:37', '2020-04-26 21:05:34', 0),
(6, 'Hemoglobin', 'mg/dl', 15000, '2020-04-26 05:45:42', '2020-04-26 05:45:42', 1);
-- --------------------------------------------------------
--
-- Table structure for table `metadata`
--
CREATE TABLE `metadata` (
`id` int(11) NOT NULL,
`Judul` varchar(25) NOT NULL,
`Deskripsi` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `metadata`
--
INSERT INTO `metadata` (`id`, `Judul`, `Deskripsi`) VALUES
(1, 'Daftar Pasien', 'Merupakan list pasien yang sudah terdaftar di klinik anda.'),
(2, 'Tambah Pasien', 'Isi biodata berikut untuk menambah pasien baru.'),
(3, 'Edit Pasien', 'Lakukan pengeditan pasien sesuai kolom yang tertera.'),
(4, 'Daftar Obat', 'Daftar obat-obatan yang terdaftar di klinik.'),
(5, 'Tambah Obat Baru', 'Tambahkan obat baru kedalam database dengan mengisi formulir berikut'),
(6, 'Edit Obat', 'lakukan perubahan informasi mengenai obat yang anda inginkan dengan menuliskannya di formulir berikut.'),
(7, 'Daftar Pemeriksaan Lab', 'Daftar pemeriksaan lab yang tersedia di klinik.'),
(8, 'Tambah Pemeriksaan Lab', 'Tabahkan fasilitas lab kedalam database dengan mengisi formulir berikut.'),
(9, 'Edit Lab', 'lakukan perubahan informasi mengenai obat yang anda inginkan dengan menuliskannya di formulir berikut.'),
(10, 'Lihat Rekam Medis', 'Lihat rekam medis yang tersdia pada pasien yang dipilih.'),
(11, 'Tambah Rekam Medis', 'Tambahkan rekam medis pada pasien yang dipilih.'),
(12, 'List Rekam Medis Pasien', 'Jejak rekam medis pasien di klinik anda.'),
(13, 'Edit Rekam Medis', 'Lakukan Pengeditan rekam medis.'),
(14, 'Buat Tagihan Kunjungan', 'Berikut adalah tagihan tehadap pasien yang diperiksa.'),
(15, 'Lihat rekam Medis', 'Lihat Rekam Medis Pasien Yang Dipilih'),
(16, 'Pengaturan', 'Pengaturan yang tersedia untuk klinik anda'),
(17, 'Dashboard', 'Halaman muka dari klinik anda, overview hal-hal mengenai klinik anda.'),
(18, 'Daftar Pengguna', 'Daftar pengguna atau pegawai yang dapat log-in di klinik anda.');
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(3, '2014_10_12_000000_create_users_table', 1),
(4, '2019_08_19_000000_create_failed_jobs_table', 1);
-- --------------------------------------------------------
--
-- Table structure for table `obat`
--
CREATE TABLE `obat` (
`id` int(4) NOT NULL,
`nama_obat` varchar(50) NOT NULL,
`sediaan` varchar(50) NOT NULL,
`dosis` int(12) NOT NULL,
`satuan` varchar(20) NOT NULL,
`stok` int(5) NOT NULL,
`harga` int(9) NOT NULL,
`created_time` datetime NOT NULL DEFAULT current_timestamp(),
`updated_time` datetime NOT NULL DEFAULT current_timestamp(),
`deleted` tinyint(1) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `obat`
--
INSERT INTO `obat` (`id`, `nama_obat`, `sediaan`, `dosis`, `satuan`, `stok`, `harga`, `created_time`, `updated_time`, `deleted`) VALUES
(1, 'Metronidazole', 'Tablet', 500, 'mg', 4, 10000, '2020-04-26 19:00:17', '2020-04-26 19:00:17', 0),
(2, 'Amoxicillin', 'Tablet', 500, 'mg', 90, 10000, '2020-04-26 19:00:52', '2020-04-26 19:00:52', 0),
(3, 'Cefixime', 'Kapsul', 200, 'mg', 100, 40000, '2020-04-26 12:04:38', '2020-04-26 12:04:38', 0),
(4, 'Cefixime', 'Kapsul', 100, 'mg', 100, 30000, '2020-04-26 12:05:19', '2020-04-26 12:05:19', 1),
(5, 'Paracetamol', 'Tablet', 500, 'mg', 100, 10000, '2020-04-26 12:08:32', '2020-04-26 12:08:32', 0);
-- --------------------------------------------------------
--
-- Table structure for table `pasien`
--
CREATE TABLE `pasien` (
`id` int(4) NOT NULL,
`nama` varchar(40) NOT NULL,
`tgl_lhr` date NOT NULL,
`jk` varchar(10) NOT NULL,
`alamat` text NOT NULL,
`hp` varchar(14) NOT NULL,
`pendidikan` varchar(16) DEFAULT NULL,
`pekerjaan` varchar(20) NOT NULL,
`no_bpjs` int(15) DEFAULT NULL,
`alergi` text DEFAULT NULL,
`created_time` datetime NOT NULL,
`updated_time` datetime NOT NULL,
`deleted` tinyint(1) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `pasien`
--
INSERT INTO `pasien` (`id`, `nama`, `tgl_lhr`, `jk`, `alamat`, `hp`, `pendidikan`, `pekerjaan`, `no_bpjs`, `alergi`, `created_time`, `updated_time`, `deleted`) VALUES
(1, 'Jajang Rukmana Sukarna', '2020-04-01', 'Perempuan', 'JAKARTA', '082191019181', 'SMP', 'Buruh', 9182717, 'tidak ada alergi', '0000-00-00 00:00:00', '2020-04-27 03:48:16', 0),
(2, 'Abdul Somara', '1991-01-01', 'Laki-laki', 'Garut indah sekali jaya tentrem abadi dan tak terlupakan', '0918212111', NULL, 'Pengangguran', 1092811221, 'alergi kamu', '0000-00-00 00:00:00', '2020-04-27 03:58:25', 0),
(6, 'Pinkan Rambo', '1991-02-01', 'perempuan', 'Hutan', '019281992', 'Tidak Ssekolah', 'Model', NULL, NULL, '2020-04-27 04:01:21', '2020-04-27 04:01:21', 0),
(7, 'Fia Jatuh', '1991-01-01', 'Laki-laki', 'Panggung', '01999212', 'Tidak Ssekolah', 'soundsystem', NULL, NULL, '2020-04-27 04:05:21', '2020-04-27 04:05:21', 0);
-- --------------------------------------------------------
--
-- Table structure for table `pengaturan`
--
CREATE TABLE `pengaturan` (
`id` int(1) NOT NULL,
`n_Klinik` varchar(50) NOT NULL,
`Slogan` varchar(50) NOT NULL,
`logo` varchar(255) NOT NULL,
`gambarbool` tinyint(1) NOT NULL,
`gambar` varchar(255) NOT NULL,
`jasa` int(6) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `pengaturan`
--
INSERT INTO `pengaturan` (`id`, `n_Klinik`, `Slogan`, `logo`, `gambarbool`, `gambar`, `jasa`) VALUES
(1, 'Linx Klinik', 'Melayani Sepenuh Hati', 'fa-plus', 0, 'logo1587958142.png', 20000);
-- --------------------------------------------------------
--
-- Table structure for table `rm`
--
CREATE TABLE `rm` (
`id` int(5) NOT NULL,
`idpasien` int(4) NOT NULL,
`ku` varchar(40) NOT NULL,
`anamnesis` text NOT NULL,
`pxfisik` text NOT NULL,
`lab` text DEFAULT NULL,
`hasil` text DEFAULT NULL,
`diagnosis` varchar(40) DEFAULT NULL,
`resep` text DEFAULT NULL,
`jumlah` text DEFAULT NULL,
`aturan` text DEFAULT NULL,
`dokter` int(3) NOT NULL,
`created_time` datetime NOT NULL DEFAULT current_timestamp(),
`updated_time` datetime NOT NULL DEFAULT current_timestamp(),
`deleted` tinyint(1) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `rm`
--
INSERT INTO `rm` (`id`, `idpasien`, `ku`, `anamnesis`, `pxfisik`, `lab`, `hasil`, `diagnosis`, `resep`, `jumlah`, `aturan`, `dokter`, `created_time`, `updated_time`, `deleted`) VALUES
(1, 1, 'Pusing', 'Demam 10 hari', 'T:38.7', '3|1|2', '150|260|10', 'Febris', '1|2', '1|6', '3x1|3x1', 2, '2020-04-11 12:26:51', '2020-04-26 13:32:15', 0),
(3, 1, 'Pegal', 'Pegal Linu', 'Nyeri tekan di otot biceps', '', '', 'Myalgia', '1', '2', '2x1', 4, '2020-04-12 09:31:03', '2020-04-26 05:51:40', 0),
(5, 2, 'lemas', 'Sakit', 'Normal', '', '', 'Typhoid Fever', '2', '10', '2x1', 2, '2020-04-26 05:56:01', '2020-04-26 05:56:01', 0);
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`username` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`profesi` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`avatar` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'default.jpg',
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`admin` tinyint(1) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`deleted` tinyint(1) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `username`, `profesi`, `name`, `email`, `email_verified_at`, `password`, `avatar`, `remember_token`, `admin`, `created_at`, `updated_at`, `deleted`) VALUES
(2, 'admin', 'Dokter', 'Reza Irfan Raditya', 'rezaraditya21@gmail.com', NULL, '$2y$10$lsIzdwxI18oSYwTJVMNDd.QqN3lsbI6M3B0VhJzl9BEasd8cSIbUK', 'avatar1587795209.jpg', NULL, 1, '2020-04-22 02:54:12', '2020-04-25 02:22:53', 0),
(4, 'dokter', 'Dokter', 'Irfan', 'reza@linx.com', NULL, '$2y$10$GWj0qd8EpKugu4ji56nN7.iOanxOVneq4w3Lq4i11iS2uS6pYGoqK', 'default.jpg', NULL, 0, '2020-04-22 21:43:07', '2020-04-24 22:43:18', 0),
(5, NULL, 'Staff', 'Alek Kelek', NULL, NULL, '$2y$10$NvOWdrlhoHpf31D/uXUt..hT6U5.m1RY6lhdcW/hIeZpkWj.oUdPu', 'default.jpg', NULL, 0, '2020-04-23 19:05:08', '2020-04-26 21:17:38', 1),
(6, NULL, 'Staff', 'test', NULL, NULL, '$2y$10$DcxoUIpnCtZluFcAZgDnvujKQM2X9lT0Ga4oTgks6zxFZJnryIG/K', 'avatar1587712752.jpg', NULL, 1, '2020-04-24 00:19:12', '2020-04-26 21:17:16', 1),
(9, 'staff', 'Staff', 'Raditya', 'staff@Raditya.com', NULL, '$2y$10$KLpJyGVF3n7p7rAKv17iL.wHauTIgm/HYLoReHAfX5FJR5MSZ5AQC', 'avatar1587961527.jpg', NULL, 0, '2020-04-24 22:40:12', '2020-04-26 21:33:32', 0);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `lab`
--
ALTER TABLE `lab`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `metadata`
--
ALTER TABLE `metadata`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `obat`
--
ALTER TABLE `obat`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `pasien`
--
ALTER TABLE `pasien`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `pengaturan`
--
ALTER TABLE `pengaturan`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `rm`
--
ALTER TABLE `rm`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_username_unique` (`email`),
ADD UNIQUE KEY `username` (`username`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `lab`
--
ALTER TABLE `lab`
MODIFY `id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `metadata`
--
ALTER TABLE `metadata`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `obat`
--
ALTER TABLE `obat`
MODIFY `id` int(4) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `pasien`
--
ALTER TABLE `pasien`
MODIFY `id` int(4) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `rm`
--
ALTER TABLE `rm`
MODIFY `id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
-- 菜单SQL
INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`)
VALUES ('1', '系统用户', 'generator/sysuser.html', NULL, '1', 'fa fa-file-code-o', '6');
-- 按钮父菜单ID
set @parentId = @@identity;
-- 菜单对应按钮SQL
INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`)
SELECT @parentId, '查看', null, 'sysuser:list,sysuser:info', '2', null, '6';
INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`)
SELECT @parentId, '新增', null, 'sysuser:save', '2', null, '6';
INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`)
SELECT @parentId, '修改', null, 'sysuser:update', '2', null, '6';
INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`)
SELECT @parentId, '删除', null, 'sysuser:delete', '2', null, '6';
|
CREATE TABLE IF NOT EXISTS `Questions`
(
`id` int auto_increment not null,
`question` varchar(240),
`user_id` int,
`questionnaire_id` int,
`created` timestamp default current_timestamp,
`modified` timestamp default current_timestamp on update current_timestamp,
PRIMARY KEY (`id`),
FOREIGN KEY (`user_id`) REFERENCES Users(`id`),
FOREIGN KEY (`questionnaire_id`) REFERENCES Questionnaires(`id`)
)
|
select COUNT(distinct account.display_name)
from
tag t1, site s1, question q1, tag_question tq1, so_user u1, comment c1,
account
where
-- underappreciated (high votes, low views) questions with at least one comment
s1.site_name='hermeneutics' and
t1.name in ('word-study', 'parables') and
t1.site_id = s1.site_id and
q1.site_id = s1.site_id and
tq1.site_id = s1.site_id and
tq1.question_id = q1.id and
tq1.tag_id = t1.id and
q1.owner_user_id = u1.id and
q1.site_id = u1.site_id and
c1.site_id = q1.site_id and
c1.post_id = q1.id and
c1.score > q1.score and
-- to get the display name
account.id = u1.account_id;
|
CREATE TABLE IF NOT EXISTS users (
id SERIAL PRIMARY KEY,
firstname VARCHAR(255) NOT NULL,
lastname VARCHAR(255) NOT NULL,
email VARCHAR(255) NOT NULL UNIQUE,
telephone VARCHAR(255) NOT NULL UNIQUE,
password VARCHAR(255) NOT NULL,
image_url VARCHAR(225) NOT NULL,
user_status INT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
CREATE TABLE IF NOT EXISTS admin_users (
id SERIAL PRIMARY KEY,
firstname VARCHAR(255) NOT NULL,
lastname VARCHAR(255) NOT NULL,
email VARCHAR(255) NOT NULL UNIQUE,
telephone VARCHAR(255) NOT NULL UNIQUE,
admin_password VARCHAR(255) NOT NULL,
image_url VARCHAR(225) NOT NULL,
admin_status INT NOT NULL,
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
CREATE TABLE IF NOT EXISTS programAvailable (
id SERIAL PRIMARY KEY,
program_name VARCHAR(50) NOT NULL UNIQUE,
program_duration VARCHAR(50) NOT NULL,
reg_fee INT NOT NULL,
payment INT NOT NULL
);
CREATE TABLE IF NOT EXISTS admission (
id SERIAL PRIMARY KEY,
user_id INT NOT NULL UNIQUE,
personal_info_status VARCHAR(50) NOT NULL,
academic_info_status VARCHAR(50) NOT NULL,
enroll_info_status VARCHAR(50) NOT NULL,
church_info_status VARCHAR(50) NOT NULL,
reference_info_status VARCHAR(50) NOT NULL,
upload_doc_info_status VARCHAR(50) NOT NULL,
reg_payment_status VARCHAR(50) NOT NULL,
interview_status VARCHAR(50) NOT NULL,
admission_status VARCHAR(50) NOT NULL,
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
-- RELATIONSHIP --
FOREIGN KEY(user_id) REFERENCES users( id ) ON DELETE CASCADE
);
CREATE TABLE IF NOT EXISTS admission_personal_info (
id SERIAL PRIMARY KEY,
user_id INT NOT NULL UNIQUE,
home_address TEXT NOT NULL,
marital_status VARCHAR(50) NOT NULL,
gender VARCHAR(50) NOT NULL,
age INT NOT NULL,
living_with_spouse VARCHAR(50) NOT NULL,
reason_if_no TEXT NULL,
work VARCHAR(255) NOT NULL,
work_address TEXT NOT NULL,
submit_status VARCHAR(50) NOT NULL,
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
-- RELATIONSHIP --
FOREIGN KEY(user_id) REFERENCES users( id ) ON DELETE CASCADE
);
CREATE TABLE IF NOT EXISTS admission_church_info (
id SERIAL PRIMARY KEY,
user_id INT NOT NULL UNIQUE,
church_name TEXT NOT NULL,
church_address TEXT NOT NULL,
position_in_church VARCHAR(255) NOT NULL,
pastors_name VARCHAR(255) NOT NULL,
pastors_telephone VARCHAR(50) NOT NULL,
pastors_email VARCHAR(50) NULL,
submit_status VARCHAR(50) NOT NULL,
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
-- RELATIONSHIP --
FOREIGN KEY(user_id) REFERENCES users( id ) ON DELETE CASCADE
);
CREATE TABLE IF NOT EXISTS admission_academic_info (
id SERIAL PRIMARY KEY,
user_id INT NOT NULL UNIQUE,
highest_qualification VARCHAR(50) NOT NULL,
course_of_study VARCHAR(50) NOT NULL,
graduation_year VARCHAR(50) NOT NULL,
institution_name1 VARCHAR(255) NOT NULL,
date_started1 DATE NOT NULL,
date_ended1 DATE NOT NULL,
institution_name2 VARCHAR(255) NULL,
date_started2 DATE NULL,
date_ended2 DATE NULL,
institution_name3 VARCHAR(255) NULL,
date_started3 DATE NULL,
date_ended3 DATE NULL,
submit_status VARCHAR(50) NOT NULL,
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
-- RELATIONSHIP --
FOREIGN KEY(user_id) REFERENCES users( id ) ON DELETE CASCADE
);
CREATE TABLE IF NOT EXISTS admission_enroll_info (
id SERIAL PRIMARY KEY,
user_id INT NOT NULL UNIQUE,
firstChoice VARCHAR(255) NOT NULL,
secondChoice VARCHAR(255) NULL,
born_again VARCHAR(50) NOT NULL,
salvation_date DATE NOT NULL,
salvation_experience TEXT NOT NULL,
baptized_in_holyghost VARCHAR(50) NOT NULL,
baptism_date DATE NOT NULL,
baptism_experience TEXT NOT NULL,
statement_purpose TEXT NOT NULL,
submit_status VARCHAR(50) NOT NULL,
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
-- RELATIONSHIP --
FOREIGN KEY(user_id) REFERENCES users( id ) ON DELETE CASCADE
);
CREATE TABLE IF NOT EXISTS admission_reference_info (
id SERIAL PRIMARY KEY,
user_id INT NOT NULL UNIQUE,
reference1_name VARCHAR(255) NOT NULL,
reference1_email VARCHAR(50) NOT NULL,
reference1_telephone VARCHAR(50) NOT NULL,
reference1_work_address TEXT NOT NULL,
reference1_home_address TEXT NOT NULL,
reference1_relationship VARCHAR(255) NOT NULL,
reference1_relationship_duration VARCHAR(50) NOT NULL,
reference2_name VARCHAR(255) NOT NULL,
reference2_email VARCHAR(50) NOT NULL,
reference2_telephone VARCHAR(50) NOT NULL,
reference2_work_address TEXT NOT NULL,
reference2_home_address TEXT NOT NULL,
reference2_relationship VARCHAR(255) NOT NULL,
reference2_relationship_duration VARCHAR(50) NOT NULL,
submit_status VARCHAR(50) NOT NULL,
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
-- RELATIONSHIP --
FOREIGN KEY(user_id) REFERENCES users( id ) ON DELETE CASCADE
);
|
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 5.6.14 - MySQL Community Server (GPL)
-- Server OS: Win64
-- HeidiSQL Version: 8.1.0.4545
-- --------------------------------------------------------
-- Dumping structure for table playercreateinfo_item
DROP TABLE IF EXISTS `playercreateinfo_item`;
CREATE TABLE IF NOT EXISTS `playercreateinfo_item` (
`race` tinyint(3) unsigned NOT NULL DEFAULT '0',
`class` tinyint(3) unsigned NOT NULL DEFAULT '0',
`itemid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`amount` tinyint(3) unsigned NOT NULL DEFAULT '1',
KEY `playercreateinfo_race_class_index` (`race`,`class`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- Dumping data for table playercreateinfo_item: 294 rows
DELETE FROM `playercreateinfo_item`;
INSERT INTO `playercreateinfo_item` (`race`, `class`, `itemid`, `amount`) VALUES
(1, 1, 38, 1),
(1, 1, 39, 1),
(1, 1, 40, 1),
(1, 1, 25, 1),
(1, 1, 2362, 1),
(1, 1, 117, 5),
(1, 1, 6948, 1),
(4, 1, 6120, 1),
(4, 1, 6121, 1),
(4, 1, 6122, 1),
(4, 1, 25, 1),
(4, 1, 2362, 1),
(4, 1, 117, 5),
(4, 1, 6948, 1),
(3, 1, 38, 1),
(3, 1, 39, 1),
(3, 1, 40, 1),
(3, 1, 12282, 1),
(3, 1, 6948, 1),
(3, 1, 117, 5),
(7, 1, 38, 1),
(7, 1, 39, 1),
(7, 1, 40, 1),
(7, 1, 25, 1),
(7, 1, 2362, 1),
(7, 1, 117, 5),
(7, 1, 6948, 1),
(5, 1, 6125, 1),
(5, 1, 139, 1),
(5, 1, 140, 1),
(5, 1, 25, 1),
(5, 1, 2362, 1),
(5, 1, 4604, 5),
(5, 1, 6948, 1),
(2, 1, 6125, 1),
(2, 1, 139, 1),
(2, 1, 140, 1),
(2, 1, 12282, 1),
(2, 1, 6948, 1),
(2, 1, 117, 5),
(8, 1, 6125, 1),
(8, 1, 139, 1),
(8, 1, 37, 1),
(8, 1, 2362, 1),
(8, 1, 3111, 100),
(8, 1, 117, 5),
(8, 1, 6948, 1),
(6, 1, 6125, 1),
(6, 1, 139, 1),
(6, 1, 2361, 1),
(6, 1, 6948, 1),
(6, 1, 4540, 5),
(1, 2, 45, 1),
(1, 2, 44, 1),
(1, 2, 43, 1),
(1, 2, 2361, 1),
(1, 2, 6948, 1),
(1, 2, 159, 5),
(1, 2, 2070, 5),
(3, 2, 6117, 1),
(3, 2, 6118, 1),
(3, 2, 43, 1),
(3, 2, 2361, 1),
(3, 2, 4540, 5),
(3, 2, 159, 5),
(3, 2, 6948, 1),
(4, 3, 148, 1),
(4, 3, 147, 1),
(4, 3, 129, 1),
(4, 3, 2092, 1),
(4, 3, 2504, 1),
(4, 3, 159, 5),
(4, 3, 117, 5),
(4, 3, 6948, 1),
(4, 3, 2512, 200),
(4, 3, 2101, 1),
(3, 3, 148, 1),
(3, 3, 147, 1),
(3, 3, 129, 1),
(3, 3, 37, 1),
(3, 3, 2508, 1),
(3, 3, 159, 2),
(3, 3, 117, 4),
(3, 3, 6948, 1),
(3, 3, 2516, 200),
(3, 3, 2102, 1),
(2, 3, 127, 1),
(2, 3, 6126, 1),
(2, 3, 6127, 1),
(2, 3, 37, 1),
(2, 3, 2504, 1),
(2, 3, 159, 5),
(2, 3, 6948, 1),
(2, 3, 117, 5),
(2, 3, 2512, 200),
(2, 3, 2101, 1),
(8, 3, 127, 1),
(8, 3, 6126, 1),
(8, 3, 37, 1),
(8, 3, 2504, 1),
(8, 3, 4604, 5),
(8, 3, 159, 5),
(8, 3, 6948, 1),
(8, 3, 2512, 200),
(8, 3, 2101, 1),
(6, 3, 127, 1),
(6, 3, 6126, 1),
(6, 3, 37, 1),
(6, 3, 2508, 1),
(6, 3, 6948, 1),
(6, 3, 159, 5),
(6, 3, 117, 5),
(6, 3, 2516, 200),
(6, 3, 2102, 1),
(1, 4, 49, 1),
(1, 4, 48, 1),
(1, 4, 47, 1),
(1, 4, 2092, 1),
(1, 4, 2947, 100),
(1, 4, 2070, 4),
(1, 4, 6948, 1),
(4, 4, 49, 1),
(4, 4, 48, 1),
(4, 4, 47, 1),
(4, 4, 2092, 1),
(4, 4, 2947, 100),
(4, 4, 4540, 5),
(4, 4, 6948, 1),
(3, 4, 49, 1),
(3, 4, 48, 1),
(3, 4, 47, 1),
(3, 4, 2092, 1),
(3, 4, 3111, 100),
(3, 4, 4540, 5),
(3, 4, 6948, 1),
(7, 4, 49, 1),
(7, 4, 48, 1),
(7, 4, 47, 1),
(7, 4, 2092, 1),
(7, 4, 2947, 100),
(7, 4, 117, 5),
(7, 4, 6948, 1),
(5, 4, 2105, 1),
(5, 4, 120, 1),
(5, 4, 121, 1),
(5, 4, 2092, 1),
(5, 4, 2947, 100),
(5, 4, 4604, 10),
(5, 4, 6948, 1),
(2, 4, 6136, 1),
(2, 4, 6137, 1),
(2, 4, 6138, 1),
(2, 4, 2092, 1),
(2, 4, 3111, 100),
(2, 4, 117, 10),
(2, 4, 6948, 1),
(8, 4, 2105, 1),
(8, 4, 120, 1),
(8, 4, 121, 1),
(8, 4, 2092, 1),
(8, 4, 3111, 100),
(8, 4, 117, 10),
(8, 4, 6948, 1),
(4, 11, 6123, 1),
(4, 11, 6124, 1),
(4, 11, 3661, 1),
(4, 11, 159, 5),
(4, 11, 4536, 5),
(4, 11, 6948, 1),
(6, 11, 6139, 1),
(6, 11, 6124, 1),
(6, 11, 35, 1),
(6, 11, 159, 5),
(6, 11, 4536, 5),
(6, 11, 6948, 1),
(2, 7, 154, 1),
(2, 7, 153, 1),
(2, 7, 36, 1),
(2, 7, 6948, 1),
(2, 7, 117, 5),
(2, 7, 159, 5),
(8, 7, 6134, 1),
(8, 7, 6135, 1),
(8, 7, 36, 1),
(8, 7, 117, 5),
(8, 7, 159, 5),
(8, 7, 6948, 1),
(6, 7, 154, 1),
(6, 7, 153, 1),
(6, 7, 36, 1),
(6, 7, 6948, 1),
(6, 7, 4604, 5),
(6, 7, 159, 5),
(1, 5, 53, 1),
(1, 5, 6098, 1),
(1, 5, 52, 1),
(1, 5, 51, 1),
(1, 5, 36, 1),
(1, 5, 159, 5),
(1, 5, 2070, 5),
(1, 5, 6948, 1),
(4, 5, 53, 1),
(4, 5, 6119, 1),
(4, 5, 52, 1),
(4, 5, 51, 1),
(4, 5, 36, 1),
(4, 5, 2070, 5),
(4, 5, 159, 5),
(4, 5, 6948, 1),
(3, 5, 53, 1),
(3, 5, 6098, 1),
(3, 5, 52, 1),
(3, 5, 51, 1),
(3, 5, 36, 1),
(3, 5, 159, 5),
(3, 5, 4540, 5),
(3, 5, 6948, 1),
(5, 5, 53, 1),
(5, 5, 6144, 1),
(5, 5, 52, 1),
(5, 5, 51, 1),
(5, 5, 36, 1),
(5, 5, 4604, 5),
(5, 5, 159, 5),
(5, 5, 6948, 1),
(8, 5, 53, 1),
(8, 5, 6144, 1),
(8, 5, 52, 1),
(8, 5, 36, 1),
(8, 5, 4540, 5),
(8, 5, 159, 5),
(8, 5, 6948, 1),
(1, 8, 6096, 1),
(1, 8, 56, 1),
(1, 8, 1395, 1),
(1, 8, 55, 1),
(1, 8, 35, 1),
(1, 8, 2070, 5),
(1, 8, 159, 5),
(1, 8, 6948, 1),
(7, 8, 6096, 1),
(7, 8, 56, 1),
(7, 8, 1395, 1),
(7, 8, 55, 1),
(7, 8, 35, 1),
(7, 8, 4536, 5),
(7, 8, 159, 5),
(7, 8, 6948, 1),
(5, 8, 6096, 1),
(5, 8, 6140, 1),
(5, 8, 1395, 1),
(5, 8, 55, 1),
(5, 8, 35, 1),
(5, 8, 4604, 5),
(5, 8, 159, 5),
(5, 8, 6948, 1),
(8, 8, 6096, 1),
(8, 8, 6140, 1),
(8, 8, 1395, 1),
(8, 8, 55, 1),
(8, 8, 35, 1),
(8, 8, 117, 5),
(8, 8, 159, 5),
(8, 8, 6948, 1),
(1, 9, 6097, 1),
(1, 9, 57, 1),
(1, 9, 1396, 1),
(1, 9, 59, 1),
(1, 9, 2092, 1),
(1, 9, 4604, 5),
(1, 9, 159, 5),
(1, 9, 6948, 1),
(7, 9, 6097, 1),
(7, 9, 57, 1),
(7, 9, 1396, 1),
(7, 9, 59, 1),
(7, 9, 2092, 1),
(7, 9, 159, 5),
(7, 9, 4604, 5),
(7, 9, 6948, 1),
(5, 9, 6129, 1),
(5, 9, 1396, 1),
(5, 9, 59, 1),
(5, 9, 2092, 1),
(5, 9, 4604, 5),
(5, 9, 159, 5),
(5, 9, 6948, 1),
(2, 9, 6129, 1),
(2, 9, 1396, 1),
(2, 9, 59, 1),
(2, 9, 2092, 1),
(2, 9, 6948, 1),
(2, 9, 117, 5),
(2, 9, 159, 5);
|
CREATE TABLE `fields` (
`id` bigint(20) unsigned NOT NULL,
`name` varchar(30) DEFAULT NULL,
`location_x` int NOT NULL,
`location_y` int NOT NULL,
`object_num` int NOT NULL,
`level` int NOT NULL,
`difficulty` int NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uq_fields_01` (`name`),
UNIQUE KEY `uq_fields_02` (`location_x`, `location_y`),
KEY `idx_fields_03` (`object_num`),
KEY `idx_fields_04` (`difficulty`, `level`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
UPDATE tmux SET value = 0 WHERE setting = 'BINARIES' AND value = "FALSE";
UPDATE tmux SET value = 1 WHERE setting = 'BINARIES' AND value = "TRUE";;
UPDATE site SET value = 122 WHERE setting = 'sqlpatch';
|
-- # Problem: https://www.hackerrank.com/challenges/more-than-75-marks/problem
-- # Score: 15
SELECT Name
FROM Students
WHERE Marks > 75
ORDER BY SUBSTR(Name, - 3), Id ASC;
|
CREATE PROCEDURE [dbo].[employees_test_upd]
(
@tt employees_test_tt READONLY
,@user_id int
)
AS
-- Update Process
UPDATE a
SET
employee_id = b.employee_id
,last_name = b.last_name
,first_name = b.first_name
,middle_name = b.middle_name
,name_suffix = b.name_suffix
,gender = b.gender
,civil_status_code = b.civil_status_code
,empl_type_code = b.empl_type_code
,basic_pay = b.basic_pay
,pay_type_code = b.pay_type_code
,sss_no = b.sss_no
,tin = b.tin
,philhealth_no = b.philhealth_no
,hmdf_no = b.hmdf_no
,account_no = b.account_no
,is_active = b.is_active
,inactive_type_code = b.inactive_type_code
,inactive_date = b.inactive_date
,updated_by = @user_id
,updated_date = GETDATE()
FROM dbo.employees_test a INNER JOIN @tt b
ON a.id = b.id
WHERE b.employee_id IS NOT NULL
AND isnull(b.is_edited,'N')='Y'
-- Insert Process
INSERT INTO employees_test (
employee_id
,last_name
,first_name
,middle_name
,name_suffix
,gender
,civil_status_code
,empl_type_code
,basic_pay
,pay_type_code
,sss_no
,tin
,philhealth_no
,hmdf_no
,account_no
,is_active
,inactive_type_code
,inactive_date
,created_by
,created_date
)
SELECT
employee_id
,last_name
,first_name
,middle_name
,name_suffix
,gender
,civil_status_code
,empl_type_code
,basic_pay
,pay_type_code
,sss_no
,tin
,philhealth_no
,hmdf_no
,account_no
,is_active
,inactive_type_code
,inactive_date
,@user_id
,GETDATE()
FROM @tt
WHERE id IS NULL
AND employee_id IS NOT NULL;
|
CREATE TABLE scm_entry_point(
seq BIGINT AUTO_INCREMENT PRIMARY KEY,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$ActionApplication
* param: org.kyojo.schemaorg.m3n4.core.Clazz$MobileApplication
* org.kyojo.schemaorg.m3n4.core.Clazz$SoftwareApplication
* org.kyojo.schemaorg.m3n4.core.Clazz$VideoGame
* org.kyojo.schemaorg.m3n4.core.Clazz$WebApplication
*/
action_application VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$ActionPlatform
* param: org.kyojo.schemaorg.m3n4.core.Clazz$URL
* org.kyojo.schemaorg.m3n4.core.DataType$Text
*/
action_platform VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$AdditionalType
* param: org.kyojo.schemaorg.m3n4.core.Clazz$URL
*/
additional_type VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$AlternateName
* param: org.kyojo.schemaorg.m3n4.core.DataType$Text
*/
alternate_name VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$ContentType
* param: org.kyojo.schemaorg.m3n4.core.DataType$Text
*/
content_type VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$Description
* param: org.kyojo.schemaorg.m3n4.core.DataType$Text
*/
description VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$DisambiguatingDescription
* param: org.kyojo.schemaorg.m3n4.core.DataType$Text
*/
disambiguating_description VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$EncodingType
* param: org.kyojo.schemaorg.m3n4.core.DataType$Text
*/
encoding_type VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$HttpMethod
* param: org.kyojo.schemaorg.m3n4.core.DataType$Text
*/
http_method VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$Identifier
* param: org.kyojo.schemaorg.m3n4.core.Clazz$LocationFeatureSpecification
* org.kyojo.schemaorg.m3n4.core.Clazz$PropertyValue
* org.kyojo.schemaorg.m3n4.core.Clazz$URL
* org.kyojo.schemaorg.m3n4.core.DataType$Text
*/
identifier VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$Image
* param: org.kyojo.schemaorg.m3n4.core.Clazz$Barcode
* org.kyojo.schemaorg.m3n4.core.Clazz$ImageObject
* org.kyojo.schemaorg.m3n4.core.Clazz$URL
*/
image VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$MainEntityOfPage
* param: org.kyojo.schemaorg.m3n4.bib.Clazz$Atlas
* org.kyojo.schemaorg.m3n4.bib.Clazz$Audiobook
* org.kyojo.schemaorg.m3n4.bib.Clazz$Chapter
* org.kyojo.schemaorg.m3n4.bib.Clazz$Collection
* org.kyojo.schemaorg.m3n4.bib.Clazz$ComicCoverArt
* org.kyojo.schemaorg.m3n4.bib.Clazz$ComicIssue
* org.kyojo.schemaorg.m3n4.bib.Clazz$ComicSeries
* org.kyojo.schemaorg.m3n4.bib.Clazz$ComicStory
* org.kyojo.schemaorg.m3n4.bib.Clazz$CoverArt
* org.kyojo.schemaorg.m3n4.bib.Clazz$Newspaper
* org.kyojo.schemaorg.m3n4.bib.Clazz$Thesis
* org.kyojo.schemaorg.m3n4.core.Clazz$APIReference
* org.kyojo.schemaorg.m3n4.core.Clazz$AboutPage
* org.kyojo.schemaorg.m3n4.core.Clazz$Answer
* org.kyojo.schemaorg.m3n4.core.Clazz$Article
* org.kyojo.schemaorg.m3n4.core.Clazz$AudioObject
* org.kyojo.schemaorg.m3n4.core.Clazz$Barcode
* org.kyojo.schemaorg.m3n4.core.Clazz$Blog
* org.kyojo.schemaorg.m3n4.core.Clazz$BlogPosting
* org.kyojo.schemaorg.m3n4.core.Clazz$Book
* org.kyojo.schemaorg.m3n4.core.Clazz$BookSeries
* org.kyojo.schemaorg.m3n4.core.Clazz$CheckoutPage
* org.kyojo.schemaorg.m3n4.core.Clazz$ClaimReview
* org.kyojo.schemaorg.m3n4.core.Clazz$Clip
* org.kyojo.schemaorg.m3n4.core.Clazz$CollectionPage
* org.kyojo.schemaorg.m3n4.core.Clazz$Comment
* org.kyojo.schemaorg.m3n4.core.Clazz$ContactPage
* org.kyojo.schemaorg.m3n4.core.Clazz$Conversation
* org.kyojo.schemaorg.m3n4.core.Clazz$Course
* org.kyojo.schemaorg.m3n4.core.Clazz$CreativeWork
* org.kyojo.schemaorg.m3n4.core.Clazz$CreativeWorkSeason
* org.kyojo.schemaorg.m3n4.core.Clazz$CreativeWorkSeries
* org.kyojo.schemaorg.m3n4.core.Clazz$DataCatalog
* org.kyojo.schemaorg.m3n4.core.Clazz$DataDownload
* org.kyojo.schemaorg.m3n4.core.Clazz$DataFeed
* org.kyojo.schemaorg.m3n4.core.Clazz$Dataset
* org.kyojo.schemaorg.m3n4.core.Clazz$DigitalDocument
* org.kyojo.schemaorg.m3n4.core.Clazz$DiscussionForumPosting
* org.kyojo.schemaorg.m3n4.core.Clazz$EmailMessage
* org.kyojo.schemaorg.m3n4.core.Clazz$Episode
* org.kyojo.schemaorg.m3n4.core.Clazz$Game
* org.kyojo.schemaorg.m3n4.core.Clazz$HowTo
* org.kyojo.schemaorg.m3n4.core.Clazz$HowToDirection
* org.kyojo.schemaorg.m3n4.core.Clazz$HowToSection
* org.kyojo.schemaorg.m3n4.core.Clazz$HowToStep
* org.kyojo.schemaorg.m3n4.core.Clazz$HowToTip
* org.kyojo.schemaorg.m3n4.core.Clazz$ImageGallery
* org.kyojo.schemaorg.m3n4.core.Clazz$ImageObject
* org.kyojo.schemaorg.m3n4.core.Clazz$ItemPage
* org.kyojo.schemaorg.m3n4.core.Clazz$LiveBlogPosting
* org.kyojo.schemaorg.m3n4.core.Clazz$Map
* org.kyojo.schemaorg.m3n4.core.Clazz$MediaObject
* org.kyojo.schemaorg.m3n4.core.Clazz$Menu
* org.kyojo.schemaorg.m3n4.core.Clazz$MenuSection
* org.kyojo.schemaorg.m3n4.core.Clazz$Message
* org.kyojo.schemaorg.m3n4.core.Clazz$MobileApplication
* org.kyojo.schemaorg.m3n4.core.Clazz$Movie
* org.kyojo.schemaorg.m3n4.core.Clazz$MovieClip
* org.kyojo.schemaorg.m3n4.core.Clazz$MovieSeries
* org.kyojo.schemaorg.m3n4.core.Clazz$MusicAlbum
* org.kyojo.schemaorg.m3n4.core.Clazz$MusicComposition
* org.kyojo.schemaorg.m3n4.core.Clazz$MusicPlaylist
* org.kyojo.schemaorg.m3n4.core.Clazz$MusicRecording
* org.kyojo.schemaorg.m3n4.core.Clazz$MusicRelease
* org.kyojo.schemaorg.m3n4.core.Clazz$MusicVideoObject
* org.kyojo.schemaorg.m3n4.core.Clazz$NewsArticle
* org.kyojo.schemaorg.m3n4.core.Clazz$NoteDigitalDocument
* org.kyojo.schemaorg.m3n4.core.Clazz$Painting
* org.kyojo.schemaorg.m3n4.core.Clazz$Periodical
* org.kyojo.schemaorg.m3n4.core.Clazz$Photograph
* org.kyojo.schemaorg.m3n4.core.Clazz$PresentationDigitalDocument
* org.kyojo.schemaorg.m3n4.core.Clazz$ProfilePage
* org.kyojo.schemaorg.m3n4.core.Clazz$PublicationIssue
* org.kyojo.schemaorg.m3n4.core.Clazz$PublicationVolume
* org.kyojo.schemaorg.m3n4.core.Clazz$QAPage
* org.kyojo.schemaorg.m3n4.core.Clazz$Question
* org.kyojo.schemaorg.m3n4.core.Clazz$RadioClip
* org.kyojo.schemaorg.m3n4.core.Clazz$RadioEpisode
* org.kyojo.schemaorg.m3n4.core.Clazz$RadioSeason
* org.kyojo.schemaorg.m3n4.core.Clazz$RadioSeries
* org.kyojo.schemaorg.m3n4.core.Clazz$Recipe
* org.kyojo.schemaorg.m3n4.core.Clazz$Report
* org.kyojo.schemaorg.m3n4.core.Clazz$Review
* org.kyojo.schemaorg.m3n4.core.Clazz$ScholarlyArticle
* org.kyojo.schemaorg.m3n4.core.Clazz$Sculpture
* org.kyojo.schemaorg.m3n4.core.Clazz$SearchResultsPage
* org.kyojo.schemaorg.m3n4.core.Clazz$SiteNavigationElement
* org.kyojo.schemaorg.m3n4.core.Clazz$SocialMediaPosting
* org.kyojo.schemaorg.m3n4.core.Clazz$SoftwareApplication
* org.kyojo.schemaorg.m3n4.core.Clazz$SoftwareSourceCode
* org.kyojo.schemaorg.m3n4.core.Clazz$SpreadsheetDigitalDocument
* org.kyojo.schemaorg.m3n4.core.Clazz$TVClip
* org.kyojo.schemaorg.m3n4.core.Clazz$TVEpisode
* org.kyojo.schemaorg.m3n4.core.Clazz$TVSeason
* org.kyojo.schemaorg.m3n4.core.Clazz$TVSeries
* org.kyojo.schemaorg.m3n4.core.Clazz$Table
* org.kyojo.schemaorg.m3n4.core.Clazz$TechArticle
* org.kyojo.schemaorg.m3n4.core.Clazz$TextDigitalDocument
* org.kyojo.schemaorg.m3n4.core.Clazz$URL
* org.kyojo.schemaorg.m3n4.core.Clazz$VideoGallery
* org.kyojo.schemaorg.m3n4.core.Clazz$VideoGame
* org.kyojo.schemaorg.m3n4.core.Clazz$VideoGameClip
* org.kyojo.schemaorg.m3n4.core.Clazz$VideoGameSeries
* org.kyojo.schemaorg.m3n4.core.Clazz$VideoObject
* org.kyojo.schemaorg.m3n4.core.Clazz$VisualArtwork
* org.kyojo.schemaorg.m3n4.core.Clazz$WPAdBlock
* org.kyojo.schemaorg.m3n4.core.Clazz$WPFooter
* org.kyojo.schemaorg.m3n4.core.Clazz$WPHeader
* org.kyojo.schemaorg.m3n4.core.Clazz$WPSideBar
* org.kyojo.schemaorg.m3n4.core.Clazz$WebApplication
* org.kyojo.schemaorg.m3n4.core.Clazz$WebPage
* org.kyojo.schemaorg.m3n4.core.Clazz$WebPageElement
* org.kyojo.schemaorg.m3n4.core.Clazz$WebSite
* org.kyojo.schemaorg.m3n4.healthLifesci.Clazz$Diet
* org.kyojo.schemaorg.m3n4.healthLifesci.Clazz$ExercisePlan
* org.kyojo.schemaorg.m3n4.healthLifesci.Clazz$MedicalScholarlyArticle
* org.kyojo.schemaorg.m3n4.healthLifesci.Clazz$MedicalWebPage
* org.kyojo.schemaorg.m3n4.pending.Clazz$AdvertiserContentArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$AnalysisNewsArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$AskPublicNewsArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$BackgroundNewsArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$CategoryCodeSet
* org.kyojo.schemaorg.m3n4.pending.Clazz$Claim
* org.kyojo.schemaorg.m3n4.pending.Clazz$CompleteDataFeed
* org.kyojo.schemaorg.m3n4.pending.Clazz$CorrectionComment
* org.kyojo.schemaorg.m3n4.pending.Clazz$CriticReview
* org.kyojo.schemaorg.m3n4.pending.Clazz$DefinedTermSet
* org.kyojo.schemaorg.m3n4.pending.Clazz$EmployerReview
* org.kyojo.schemaorg.m3n4.pending.Clazz$FAQPage
* org.kyojo.schemaorg.m3n4.pending.Clazz$Legislation
* org.kyojo.schemaorg.m3n4.pending.Clazz$LegislationObject
* org.kyojo.schemaorg.m3n4.pending.Clazz$OpinionNewsArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$Quotation
* org.kyojo.schemaorg.m3n4.pending.Clazz$ReportageNewsArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$ReviewNewsArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$SatiricalArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$UserReview
*/
main_entity_of_page VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$Name
* param: org.kyojo.schemaorg.m3n4.core.DataType$Text
*/
name VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$NameFuzzy
* param: org.kyojo.schemaorg.m3n4.core.DataType$Text
*/
name_fuzzy VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$NameRuby
* param: org.kyojo.schemaorg.m3n4.core.DataType$Text
*/
name_ruby VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$PotentialAction
* param: org.kyojo.schemaorg.m3n4.core.Clazz$AcceptAction
* org.kyojo.schemaorg.m3n4.core.Clazz$AchieveAction
* org.kyojo.schemaorg.m3n4.core.Clazz$Action
* org.kyojo.schemaorg.m3n4.core.Clazz$ActivateAction
* org.kyojo.schemaorg.m3n4.core.Clazz$AddAction
* org.kyojo.schemaorg.m3n4.core.Clazz$AgreeAction
* org.kyojo.schemaorg.m3n4.core.Clazz$AllocateAction
* org.kyojo.schemaorg.m3n4.core.Clazz$AppendAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ApplyAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ArriveAction
* org.kyojo.schemaorg.m3n4.core.Clazz$AskAction
* org.kyojo.schemaorg.m3n4.core.Clazz$AssessAction
* org.kyojo.schemaorg.m3n4.core.Clazz$AssignAction
* org.kyojo.schemaorg.m3n4.core.Clazz$AuthorizeAction
* org.kyojo.schemaorg.m3n4.core.Clazz$BefriendAction
* org.kyojo.schemaorg.m3n4.core.Clazz$BookmarkAction
* org.kyojo.schemaorg.m3n4.core.Clazz$BorrowAction
* org.kyojo.schemaorg.m3n4.core.Clazz$BuyAction
* org.kyojo.schemaorg.m3n4.core.Clazz$CancelAction
* org.kyojo.schemaorg.m3n4.core.Clazz$CheckAction
* org.kyojo.schemaorg.m3n4.core.Clazz$CheckInAction
* org.kyojo.schemaorg.m3n4.core.Clazz$CheckOutAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ChooseAction
* org.kyojo.schemaorg.m3n4.core.Clazz$CommentAction
* org.kyojo.schemaorg.m3n4.core.Clazz$CommunicateAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ConfirmAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ConsumeAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ControlAction
* org.kyojo.schemaorg.m3n4.core.Clazz$CookAction
* org.kyojo.schemaorg.m3n4.core.Clazz$CreateAction
* org.kyojo.schemaorg.m3n4.core.Clazz$DeactivateAction
* org.kyojo.schemaorg.m3n4.core.Clazz$DeleteAction
* org.kyojo.schemaorg.m3n4.core.Clazz$DepartAction
* org.kyojo.schemaorg.m3n4.core.Clazz$DisagreeAction
* org.kyojo.schemaorg.m3n4.core.Clazz$DiscoverAction
* org.kyojo.schemaorg.m3n4.core.Clazz$DislikeAction
* org.kyojo.schemaorg.m3n4.core.Clazz$DonateAction
* org.kyojo.schemaorg.m3n4.core.Clazz$DownloadAction
* org.kyojo.schemaorg.m3n4.core.Clazz$DrawAction
* org.kyojo.schemaorg.m3n4.core.Clazz$DrinkAction
* org.kyojo.schemaorg.m3n4.core.Clazz$EatAction
* org.kyojo.schemaorg.m3n4.core.Clazz$EndorseAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ExerciseAction
* org.kyojo.schemaorg.m3n4.core.Clazz$FilmAction
* org.kyojo.schemaorg.m3n4.core.Clazz$FindAction
* org.kyojo.schemaorg.m3n4.core.Clazz$FollowAction
* org.kyojo.schemaorg.m3n4.core.Clazz$GiveAction
* org.kyojo.schemaorg.m3n4.core.Clazz$IgnoreAction
* org.kyojo.schemaorg.m3n4.core.Clazz$InformAction
* org.kyojo.schemaorg.m3n4.core.Clazz$InsertAction
* org.kyojo.schemaorg.m3n4.core.Clazz$InstallAction
* org.kyojo.schemaorg.m3n4.core.Clazz$InteractAction
* org.kyojo.schemaorg.m3n4.core.Clazz$InviteAction
* org.kyojo.schemaorg.m3n4.core.Clazz$JoinAction
* org.kyojo.schemaorg.m3n4.core.Clazz$LeaveAction
* org.kyojo.schemaorg.m3n4.core.Clazz$LendAction
* org.kyojo.schemaorg.m3n4.core.Clazz$LikeAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ListenAction
* org.kyojo.schemaorg.m3n4.core.Clazz$LoseAction
* org.kyojo.schemaorg.m3n4.core.Clazz$MarryAction
* org.kyojo.schemaorg.m3n4.core.Clazz$MoveAction
* org.kyojo.schemaorg.m3n4.core.Clazz$OrderAction
* org.kyojo.schemaorg.m3n4.core.Clazz$OrganizeAction
* org.kyojo.schemaorg.m3n4.core.Clazz$PaintAction
* org.kyojo.schemaorg.m3n4.core.Clazz$PayAction
* org.kyojo.schemaorg.m3n4.core.Clazz$PerformAction
* org.kyojo.schemaorg.m3n4.core.Clazz$PhotographAction
* org.kyojo.schemaorg.m3n4.core.Clazz$PlanAction
* org.kyojo.schemaorg.m3n4.core.Clazz$PlayAction
* org.kyojo.schemaorg.m3n4.core.Clazz$PrependAction
* org.kyojo.schemaorg.m3n4.core.Clazz$QuoteAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ReactAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ReadAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ReceiveAction
* org.kyojo.schemaorg.m3n4.core.Clazz$RegisterAction
* org.kyojo.schemaorg.m3n4.core.Clazz$RejectAction
* org.kyojo.schemaorg.m3n4.core.Clazz$RentAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ReplaceAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ReplyAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ReserveAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ResumeAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ReturnAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ReviewAction
* org.kyojo.schemaorg.m3n4.core.Clazz$RsvpAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ScheduleAction
* org.kyojo.schemaorg.m3n4.core.Clazz$SearchAction
* org.kyojo.schemaorg.m3n4.core.Clazz$SellAction
* org.kyojo.schemaorg.m3n4.core.Clazz$SendAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ShareAction
* org.kyojo.schemaorg.m3n4.core.Clazz$SubscribeAction
* org.kyojo.schemaorg.m3n4.core.Clazz$SuspendAction
* org.kyojo.schemaorg.m3n4.core.Clazz$TakeAction
* org.kyojo.schemaorg.m3n4.core.Clazz$TieAction
* org.kyojo.schemaorg.m3n4.core.Clazz$TipAction
* org.kyojo.schemaorg.m3n4.core.Clazz$TrackAction
* org.kyojo.schemaorg.m3n4.core.Clazz$TradeAction
* org.kyojo.schemaorg.m3n4.core.Clazz$TransferAction
* org.kyojo.schemaorg.m3n4.core.Clazz$TravelAction
* org.kyojo.schemaorg.m3n4.core.Clazz$UnRegisterAction
* org.kyojo.schemaorg.m3n4.core.Clazz$UpdateAction
* org.kyojo.schemaorg.m3n4.core.Clazz$UseAction
* org.kyojo.schemaorg.m3n4.core.Clazz$ViewAction
* org.kyojo.schemaorg.m3n4.core.Clazz$VoteAction
* org.kyojo.schemaorg.m3n4.core.Clazz$WantAction
* org.kyojo.schemaorg.m3n4.core.Clazz$WatchAction
* org.kyojo.schemaorg.m3n4.core.Clazz$WearAction
* org.kyojo.schemaorg.m3n4.core.Clazz$WinAction
* org.kyojo.schemaorg.m3n4.core.Clazz$WriteAction
* org.kyojo.schemaorg.m3n4.pending.Clazz$MoneyTransfer
* org.kyojo.schemaorg.m3n4.pending.Clazz$PreOrderAction
*/
potential_action VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$SameAs
* param: org.kyojo.schemaorg.m3n4.core.Clazz$URL
*/
same_as VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.pending.Container$SubjectOf
* param: org.kyojo.schemaorg.m3n4.bib.Clazz$Atlas
* org.kyojo.schemaorg.m3n4.bib.Clazz$Audiobook
* org.kyojo.schemaorg.m3n4.bib.Clazz$Chapter
* org.kyojo.schemaorg.m3n4.bib.Clazz$Collection
* org.kyojo.schemaorg.m3n4.bib.Clazz$ComicCoverArt
* org.kyojo.schemaorg.m3n4.bib.Clazz$ComicIssue
* org.kyojo.schemaorg.m3n4.bib.Clazz$ComicSeries
* org.kyojo.schemaorg.m3n4.bib.Clazz$ComicStory
* org.kyojo.schemaorg.m3n4.bib.Clazz$CoverArt
* org.kyojo.schemaorg.m3n4.bib.Clazz$Newspaper
* org.kyojo.schemaorg.m3n4.bib.Clazz$Thesis
* org.kyojo.schemaorg.m3n4.core.Clazz$APIReference
* org.kyojo.schemaorg.m3n4.core.Clazz$AboutPage
* org.kyojo.schemaorg.m3n4.core.Clazz$Answer
* org.kyojo.schemaorg.m3n4.core.Clazz$Article
* org.kyojo.schemaorg.m3n4.core.Clazz$AudioObject
* org.kyojo.schemaorg.m3n4.core.Clazz$Barcode
* org.kyojo.schemaorg.m3n4.core.Clazz$Blog
* org.kyojo.schemaorg.m3n4.core.Clazz$BlogPosting
* org.kyojo.schemaorg.m3n4.core.Clazz$Book
* org.kyojo.schemaorg.m3n4.core.Clazz$BookSeries
* org.kyojo.schemaorg.m3n4.core.Clazz$BroadcastEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$BusinessEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$CheckoutPage
* org.kyojo.schemaorg.m3n4.core.Clazz$ChildrensEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$ClaimReview
* org.kyojo.schemaorg.m3n4.core.Clazz$Clip
* org.kyojo.schemaorg.m3n4.core.Clazz$CollectionPage
* org.kyojo.schemaorg.m3n4.core.Clazz$ComedyEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$Comment
* org.kyojo.schemaorg.m3n4.core.Clazz$ContactPage
* org.kyojo.schemaorg.m3n4.core.Clazz$Conversation
* org.kyojo.schemaorg.m3n4.core.Clazz$Course
* org.kyojo.schemaorg.m3n4.core.Clazz$CourseInstance
* org.kyojo.schemaorg.m3n4.core.Clazz$CreativeWork
* org.kyojo.schemaorg.m3n4.core.Clazz$CreativeWorkSeason
* org.kyojo.schemaorg.m3n4.core.Clazz$CreativeWorkSeries
* org.kyojo.schemaorg.m3n4.core.Clazz$DanceEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$DataCatalog
* org.kyojo.schemaorg.m3n4.core.Clazz$DataDownload
* org.kyojo.schemaorg.m3n4.core.Clazz$DataFeed
* org.kyojo.schemaorg.m3n4.core.Clazz$Dataset
* org.kyojo.schemaorg.m3n4.core.Clazz$DeliveryEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$DigitalDocument
* org.kyojo.schemaorg.m3n4.core.Clazz$DiscussionForumPosting
* org.kyojo.schemaorg.m3n4.core.Clazz$EducationEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$EmailMessage
* org.kyojo.schemaorg.m3n4.core.Clazz$Episode
* org.kyojo.schemaorg.m3n4.core.Clazz$Event
* org.kyojo.schemaorg.m3n4.core.Clazz$ExhibitionEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$Festival
* org.kyojo.schemaorg.m3n4.core.Clazz$FoodEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$Game
* org.kyojo.schemaorg.m3n4.core.Clazz$HowTo
* org.kyojo.schemaorg.m3n4.core.Clazz$HowToDirection
* org.kyojo.schemaorg.m3n4.core.Clazz$HowToSection
* org.kyojo.schemaorg.m3n4.core.Clazz$HowToStep
* org.kyojo.schemaorg.m3n4.core.Clazz$HowToTip
* org.kyojo.schemaorg.m3n4.core.Clazz$ImageGallery
* org.kyojo.schemaorg.m3n4.core.Clazz$ImageObject
* org.kyojo.schemaorg.m3n4.core.Clazz$ItemPage
* org.kyojo.schemaorg.m3n4.core.Clazz$LiteraryEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$LiveBlogPosting
* org.kyojo.schemaorg.m3n4.core.Clazz$Map
* org.kyojo.schemaorg.m3n4.core.Clazz$MediaObject
* org.kyojo.schemaorg.m3n4.core.Clazz$Menu
* org.kyojo.schemaorg.m3n4.core.Clazz$MenuSection
* org.kyojo.schemaorg.m3n4.core.Clazz$Message
* org.kyojo.schemaorg.m3n4.core.Clazz$MobileApplication
* org.kyojo.schemaorg.m3n4.core.Clazz$Movie
* org.kyojo.schemaorg.m3n4.core.Clazz$MovieClip
* org.kyojo.schemaorg.m3n4.core.Clazz$MovieSeries
* org.kyojo.schemaorg.m3n4.core.Clazz$MusicAlbum
* org.kyojo.schemaorg.m3n4.core.Clazz$MusicComposition
* org.kyojo.schemaorg.m3n4.core.Clazz$MusicEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$MusicPlaylist
* org.kyojo.schemaorg.m3n4.core.Clazz$MusicRecording
* org.kyojo.schemaorg.m3n4.core.Clazz$MusicRelease
* org.kyojo.schemaorg.m3n4.core.Clazz$MusicVideoObject
* org.kyojo.schemaorg.m3n4.core.Clazz$NewsArticle
* org.kyojo.schemaorg.m3n4.core.Clazz$NoteDigitalDocument
* org.kyojo.schemaorg.m3n4.core.Clazz$OnDemandEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$Painting
* org.kyojo.schemaorg.m3n4.core.Clazz$Periodical
* org.kyojo.schemaorg.m3n4.core.Clazz$Photograph
* org.kyojo.schemaorg.m3n4.core.Clazz$PresentationDigitalDocument
* org.kyojo.schemaorg.m3n4.core.Clazz$ProfilePage
* org.kyojo.schemaorg.m3n4.core.Clazz$PublicationEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$PublicationIssue
* org.kyojo.schemaorg.m3n4.core.Clazz$PublicationVolume
* org.kyojo.schemaorg.m3n4.core.Clazz$QAPage
* org.kyojo.schemaorg.m3n4.core.Clazz$Question
* org.kyojo.schemaorg.m3n4.core.Clazz$RadioClip
* org.kyojo.schemaorg.m3n4.core.Clazz$RadioEpisode
* org.kyojo.schemaorg.m3n4.core.Clazz$RadioSeason
* org.kyojo.schemaorg.m3n4.core.Clazz$RadioSeries
* org.kyojo.schemaorg.m3n4.core.Clazz$Recipe
* org.kyojo.schemaorg.m3n4.core.Clazz$Report
* org.kyojo.schemaorg.m3n4.core.Clazz$Review
* org.kyojo.schemaorg.m3n4.core.Clazz$SaleEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$ScholarlyArticle
* org.kyojo.schemaorg.m3n4.core.Clazz$ScreeningEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$Sculpture
* org.kyojo.schemaorg.m3n4.core.Clazz$SearchResultsPage
* org.kyojo.schemaorg.m3n4.core.Clazz$SiteNavigationElement
* org.kyojo.schemaorg.m3n4.core.Clazz$SocialEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$SocialMediaPosting
* org.kyojo.schemaorg.m3n4.core.Clazz$SoftwareApplication
* org.kyojo.schemaorg.m3n4.core.Clazz$SoftwareSourceCode
* org.kyojo.schemaorg.m3n4.core.Clazz$SportsEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$SpreadsheetDigitalDocument
* org.kyojo.schemaorg.m3n4.core.Clazz$TVClip
* org.kyojo.schemaorg.m3n4.core.Clazz$TVEpisode
* org.kyojo.schemaorg.m3n4.core.Clazz$TVSeason
* org.kyojo.schemaorg.m3n4.core.Clazz$TVSeries
* org.kyojo.schemaorg.m3n4.core.Clazz$Table
* org.kyojo.schemaorg.m3n4.core.Clazz$TechArticle
* org.kyojo.schemaorg.m3n4.core.Clazz$TextDigitalDocument
* org.kyojo.schemaorg.m3n4.core.Clazz$TheaterEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$VideoGallery
* org.kyojo.schemaorg.m3n4.core.Clazz$VideoGame
* org.kyojo.schemaorg.m3n4.core.Clazz$VideoGameClip
* org.kyojo.schemaorg.m3n4.core.Clazz$VideoGameSeries
* org.kyojo.schemaorg.m3n4.core.Clazz$VideoObject
* org.kyojo.schemaorg.m3n4.core.Clazz$VisualArtsEvent
* org.kyojo.schemaorg.m3n4.core.Clazz$VisualArtwork
* org.kyojo.schemaorg.m3n4.core.Clazz$WPAdBlock
* org.kyojo.schemaorg.m3n4.core.Clazz$WPFooter
* org.kyojo.schemaorg.m3n4.core.Clazz$WPHeader
* org.kyojo.schemaorg.m3n4.core.Clazz$WPSideBar
* org.kyojo.schemaorg.m3n4.core.Clazz$WebApplication
* org.kyojo.schemaorg.m3n4.core.Clazz$WebPage
* org.kyojo.schemaorg.m3n4.core.Clazz$WebPageElement
* org.kyojo.schemaorg.m3n4.core.Clazz$WebSite
* org.kyojo.schemaorg.m3n4.healthLifesci.Clazz$Diet
* org.kyojo.schemaorg.m3n4.healthLifesci.Clazz$ExercisePlan
* org.kyojo.schemaorg.m3n4.healthLifesci.Clazz$MedicalScholarlyArticle
* org.kyojo.schemaorg.m3n4.healthLifesci.Clazz$MedicalWebPage
* org.kyojo.schemaorg.m3n4.pending.Clazz$AdvertiserContentArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$AnalysisNewsArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$AskPublicNewsArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$BackgroundNewsArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$CategoryCodeSet
* org.kyojo.schemaorg.m3n4.pending.Clazz$Claim
* org.kyojo.schemaorg.m3n4.pending.Clazz$CompleteDataFeed
* org.kyojo.schemaorg.m3n4.pending.Clazz$CorrectionComment
* org.kyojo.schemaorg.m3n4.pending.Clazz$CriticReview
* org.kyojo.schemaorg.m3n4.pending.Clazz$DefinedTermSet
* org.kyojo.schemaorg.m3n4.pending.Clazz$EmployerReview
* org.kyojo.schemaorg.m3n4.pending.Clazz$EventSeries
* org.kyojo.schemaorg.m3n4.pending.Clazz$FAQPage
* org.kyojo.schemaorg.m3n4.pending.Clazz$Legislation
* org.kyojo.schemaorg.m3n4.pending.Clazz$LegislationObject
* org.kyojo.schemaorg.m3n4.pending.Clazz$OpinionNewsArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$Quotation
* org.kyojo.schemaorg.m3n4.pending.Clazz$ReportageNewsArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$ReviewNewsArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$SatiricalArticle
* org.kyojo.schemaorg.m3n4.pending.Clazz$UserReview
*/
subject_of VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$Url
* param: org.kyojo.schemaorg.m3n4.core.Clazz$URL
*/
url VARCHAR(100) NULL,
/**
* type: org.kyojo.schemaorg.m3n4.core.Container$UrlTemplate
* param: org.kyojo.schemaorg.m3n4.core.DataType$Text
*/
url_template VARCHAR(100) NULL,
ref_seq BIGINT NULL,
ref_acr VARCHAR(100) NULL,
created_at TIMESTAMP NULL,
created_by BIGINT NULL,
updated_at TIMESTAMP NULL,
updated_by BIGINT NULL
expired_at TIMESTAMP NULL,
expired_by BIGINT NULL
);
|
CREATE TABLE [dbo].[County] (
[CountyId] INT IDENTITY (-1, -1) NOT FOR REPLICATION NOT NULL,
[CodeName] NVARCHAR (3) NOT NULL,
[ShortName] NVARCHAR (50) NOT NULL,
[FullName] NVARCHAR (150) NOT NULL,
CONSTRAINT [PK_County] PRIMARY KEY CLUSTERED ([CountyId] ASC),
CONSTRAINT [uq_idx_County] UNIQUE NONCLUSTERED ([FullName] ASC)
);
|
--
-- NUMERIC
--
CREATE TABLE num_data (id int4, val numeric(210,10));
CREATE TABLE num_exp_add (id1 int4, id2 int4, expected numeric(210,10));
CREATE TABLE num_exp_sub (id1 int4, id2 int4, expected numeric(210,10));
CREATE TABLE num_exp_div (id1 int4, id2 int4, expected numeric(210,10));
CREATE TABLE num_exp_mul (id1 int4, id2 int4, expected numeric(210,10));
CREATE TABLE num_exp_sqrt (id int4, expected numeric(210,10));
CREATE TABLE num_exp_ln (id int4, expected numeric(210,10));
CREATE TABLE num_exp_log10 (id int4, expected numeric(210,10));
CREATE TABLE num_exp_power_10_ln (id int4, expected numeric(210,10));
CREATE TABLE num_result (id1 int4, id2 int4, result numeric(210,10));
-- ******************************
-- * Create indices for faster checks
-- ******************************
CREATE UNIQUE INDEX num_exp_add_idx ON num_exp_add (id1, id2);
CREATE UNIQUE INDEX num_exp_sub_idx ON num_exp_sub (id1, id2);
CREATE UNIQUE INDEX num_exp_div_idx ON num_exp_div (id1, id2);
CREATE UNIQUE INDEX num_exp_mul_idx ON num_exp_mul (id1, id2);
CREATE UNIQUE INDEX num_exp_sqrt_idx ON num_exp_sqrt (id);
CREATE UNIQUE INDEX num_exp_ln_idx ON num_exp_ln (id);
CREATE UNIQUE INDEX num_exp_log10_idx ON num_exp_log10 (id);
CREATE UNIQUE INDEX num_exp_power_10_ln_idx ON num_exp_power_10_ln (id);
-- ******************************
-- * The following EXPECTED results are computed by bc(1)
-- * with a scale of 200
-- ******************************
BEGIN TRANSACTION;
INSERT INTO num_exp_add VALUES (0,0,'0');
INSERT INTO num_exp_sub VALUES (0,0,'0');
INSERT INTO num_exp_mul VALUES (0,0,'0');
-- INSERT INTO num_exp_div VALUES (0,0,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (0,1,'0');
INSERT INTO num_exp_sub VALUES (0,1,'0');
INSERT INTO num_exp_mul VALUES (0,1,'0');
-- INSERT INTO num_exp_div VALUES (0,1,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (0,2,'-34338492.215397047');
INSERT INTO num_exp_sub VALUES (0,2,'34338492.215397047');
INSERT INTO num_exp_mul VALUES (0,2,'0');
INSERT INTO num_exp_div VALUES (0,2,'0');
INSERT INTO num_exp_add VALUES (0,3,'4.31');
INSERT INTO num_exp_sub VALUES (0,3,'-4.31');
INSERT INTO num_exp_mul VALUES (0,3,'0');
INSERT INTO num_exp_div VALUES (0,3,'0');
INSERT INTO num_exp_add VALUES (0,4,'7799461.4119');
INSERT INTO num_exp_sub VALUES (0,4,'-7799461.4119');
INSERT INTO num_exp_mul VALUES (0,4,'0');
INSERT INTO num_exp_div VALUES (0,4,'0');
INSERT INTO num_exp_add VALUES (0,5,'16397.038491');
INSERT INTO num_exp_sub VALUES (0,5,'-16397.038491');
INSERT INTO num_exp_mul VALUES (0,5,'0');
INSERT INTO num_exp_div VALUES (0,5,'0');
INSERT INTO num_exp_add VALUES (0,6,'93901.57763026');
INSERT INTO num_exp_sub VALUES (0,6,'-93901.57763026');
INSERT INTO num_exp_mul VALUES (0,6,'0');
INSERT INTO num_exp_div VALUES (0,6,'0');
INSERT INTO num_exp_add VALUES (0,7,'-83028485');
INSERT INTO num_exp_sub VALUES (0,7,'83028485');
INSERT INTO num_exp_mul VALUES (0,7,'0');
INSERT INTO num_exp_div VALUES (0,7,'0');
INSERT INTO num_exp_add VALUES (0,8,'74881');
INSERT INTO num_exp_sub VALUES (0,8,'-74881');
INSERT INTO num_exp_mul VALUES (0,8,'0');
INSERT INTO num_exp_div VALUES (0,8,'0');
INSERT INTO num_exp_add VALUES (0,9,'-24926804.045047420');
INSERT INTO num_exp_sub VALUES (0,9,'24926804.045047420');
INSERT INTO num_exp_mul VALUES (0,9,'0');
INSERT INTO num_exp_div VALUES (0,9,'0');
INSERT INTO num_exp_add VALUES (1,0,'0');
INSERT INTO num_exp_sub VALUES (1,0,'0');
INSERT INTO num_exp_mul VALUES (1,0,'0');
-- INSERT INTO num_exp_div VALUES (1,0,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (1,1,'0');
INSERT INTO num_exp_sub VALUES (1,1,'0');
INSERT INTO num_exp_mul VALUES (1,1,'0');
-- INSERT INTO num_exp_div VALUES (1,1,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (1,2,'-34338492.215397047');
INSERT INTO num_exp_sub VALUES (1,2,'34338492.215397047');
INSERT INTO num_exp_mul VALUES (1,2,'0');
INSERT INTO num_exp_div VALUES (1,2,'0');
INSERT INTO num_exp_add VALUES (1,3,'4.31');
INSERT INTO num_exp_sub VALUES (1,3,'-4.31');
INSERT INTO num_exp_mul VALUES (1,3,'0');
INSERT INTO num_exp_div VALUES (1,3,'0');
INSERT INTO num_exp_add VALUES (1,4,'7799461.4119');
INSERT INTO num_exp_sub VALUES (1,4,'-7799461.4119');
INSERT INTO num_exp_mul VALUES (1,4,'0');
INSERT INTO num_exp_div VALUES (1,4,'0');
INSERT INTO num_exp_add VALUES (1,5,'16397.038491');
INSERT INTO num_exp_sub VALUES (1,5,'-16397.038491');
INSERT INTO num_exp_mul VALUES (1,5,'0');
INSERT INTO num_exp_div VALUES (1,5,'0');
INSERT INTO num_exp_add VALUES (1,6,'93901.57763026');
INSERT INTO num_exp_sub VALUES (1,6,'-93901.57763026');
INSERT INTO num_exp_mul VALUES (1,6,'0');
INSERT INTO num_exp_div VALUES (1,6,'0');
INSERT INTO num_exp_add VALUES (1,7,'-83028485');
INSERT INTO num_exp_sub VALUES (1,7,'83028485');
INSERT INTO num_exp_mul VALUES (1,7,'0');
INSERT INTO num_exp_div VALUES (1,7,'0');
INSERT INTO num_exp_add VALUES (1,8,'74881');
INSERT INTO num_exp_sub VALUES (1,8,'-74881');
INSERT INTO num_exp_mul VALUES (1,8,'0');
INSERT INTO num_exp_div VALUES (1,8,'0');
INSERT INTO num_exp_add VALUES (1,9,'-24926804.045047420');
INSERT INTO num_exp_sub VALUES (1,9,'24926804.045047420');
INSERT INTO num_exp_mul VALUES (1,9,'0');
INSERT INTO num_exp_div VALUES (1,9,'0');
INSERT INTO num_exp_add VALUES (2,0,'-34338492.215397047');
INSERT INTO num_exp_sub VALUES (2,0,'-34338492.215397047');
INSERT INTO num_exp_mul VALUES (2,0,'0');
-- INSERT INTO num_exp_div VALUES (2,0,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (2,1,'-34338492.215397047');
INSERT INTO num_exp_sub VALUES (2,1,'-34338492.215397047');
INSERT INTO num_exp_mul VALUES (2,1,'0');
-- INSERT INTO num_exp_div VALUES (2,1,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (2,2,'-68676984.430794094');
INSERT INTO num_exp_sub VALUES (2,2,'0');
INSERT INTO num_exp_mul VALUES (2,2,'1179132047626883.596862135856320209');
INSERT INTO num_exp_div VALUES (2,2,'1.00000000000000000000');
INSERT INTO num_exp_add VALUES (2,3,'-34338487.905397047');
INSERT INTO num_exp_sub VALUES (2,3,'-34338496.525397047');
INSERT INTO num_exp_mul VALUES (2,3,'-147998901.44836127257');
INSERT INTO num_exp_div VALUES (2,3,'-7967167.56737750510440835266');
INSERT INTO num_exp_add VALUES (2,4,'-26539030.803497047');
INSERT INTO num_exp_sub VALUES (2,4,'-42137953.627297047');
INSERT INTO num_exp_mul VALUES (2,4,'-267821744976817.8111137106593');
INSERT INTO num_exp_div VALUES (2,4,'-4.40267480046830116685');
INSERT INTO num_exp_add VALUES (2,5,'-34322095.176906047');
INSERT INTO num_exp_sub VALUES (2,5,'-34354889.253888047');
INSERT INTO num_exp_mul VALUES (2,5,'-563049578578.769242506736077');
INSERT INTO num_exp_div VALUES (2,5,'-2094.18866914563535496429');
INSERT INTO num_exp_add VALUES (2,6,'-34244590.637766787');
INSERT INTO num_exp_sub VALUES (2,6,'-34432393.793027307');
INSERT INTO num_exp_mul VALUES (2,6,'-3224438592470.18449811926184222');
INSERT INTO num_exp_div VALUES (2,6,'-365.68599891479766440940');
INSERT INTO num_exp_add VALUES (2,7,'-117366977.215397047');
INSERT INTO num_exp_sub VALUES (2,7,'48689992.784602953');
INSERT INTO num_exp_mul VALUES (2,7,'2851072985828710.485883795');
INSERT INTO num_exp_div VALUES (2,7,'.41357483778485235518');
INSERT INTO num_exp_add VALUES (2,8,'-34263611.215397047');
INSERT INTO num_exp_sub VALUES (2,8,'-34413373.215397047');
INSERT INTO num_exp_mul VALUES (2,8,'-2571300635581.146276407');
INSERT INTO num_exp_div VALUES (2,8,'-458.57416721727870888476');
INSERT INTO num_exp_add VALUES (2,9,'-59265296.260444467');
INSERT INTO num_exp_sub VALUES (2,9,'-9411688.170349627');
INSERT INTO num_exp_mul VALUES (2,9,'855948866655588.453741509242968740');
INSERT INTO num_exp_div VALUES (2,9,'1.37757299946438931811');
INSERT INTO num_exp_add VALUES (3,0,'4.31');
INSERT INTO num_exp_sub VALUES (3,0,'4.31');
INSERT INTO num_exp_mul VALUES (3,0,'0');
-- INSERT INTO num_exp_div VALUES (3,0,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (3,1,'4.31');
INSERT INTO num_exp_sub VALUES (3,1,'4.31');
INSERT INTO num_exp_mul VALUES (3,1,'0');
-- INSERT INTO num_exp_div VALUES (3,1,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (3,2,'-34338487.905397047');
INSERT INTO num_exp_sub VALUES (3,2,'34338496.525397047');
INSERT INTO num_exp_mul VALUES (3,2,'-147998901.44836127257');
INSERT INTO num_exp_div VALUES (3,2,'-.00000012551512084352');
INSERT INTO num_exp_add VALUES (3,3,'8.62');
INSERT INTO num_exp_sub VALUES (3,3,'0');
INSERT INTO num_exp_mul VALUES (3,3,'18.5761');
INSERT INTO num_exp_div VALUES (3,3,'1.00000000000000000000');
INSERT INTO num_exp_add VALUES (3,4,'7799465.7219');
INSERT INTO num_exp_sub VALUES (3,4,'-7799457.1019');
INSERT INTO num_exp_mul VALUES (3,4,'33615678.685289');
INSERT INTO num_exp_div VALUES (3,4,'.00000055260225961552');
INSERT INTO num_exp_add VALUES (3,5,'16401.348491');
INSERT INTO num_exp_sub VALUES (3,5,'-16392.728491');
INSERT INTO num_exp_mul VALUES (3,5,'70671.23589621');
INSERT INTO num_exp_div VALUES (3,5,'.00026285234387695504');
INSERT INTO num_exp_add VALUES (3,6,'93905.88763026');
INSERT INTO num_exp_sub VALUES (3,6,'-93897.26763026');
INSERT INTO num_exp_mul VALUES (3,6,'404715.7995864206');
INSERT INTO num_exp_div VALUES (3,6,'.00004589912234457595');
INSERT INTO num_exp_add VALUES (3,7,'-83028480.69');
INSERT INTO num_exp_sub VALUES (3,7,'83028489.31');
INSERT INTO num_exp_mul VALUES (3,7,'-357852770.35');
INSERT INTO num_exp_div VALUES (3,7,'-.00000005190989574240');
INSERT INTO num_exp_add VALUES (3,8,'74885.31');
INSERT INTO num_exp_sub VALUES (3,8,'-74876.69');
INSERT INTO num_exp_mul VALUES (3,8,'322737.11');
INSERT INTO num_exp_div VALUES (3,8,'.00005755799201399553');
INSERT INTO num_exp_add VALUES (3,9,'-24926799.735047420');
INSERT INTO num_exp_sub VALUES (3,9,'24926808.355047420');
INSERT INTO num_exp_mul VALUES (3,9,'-107434525.43415438020');
INSERT INTO num_exp_div VALUES (3,9,'-.00000017290624149854');
INSERT INTO num_exp_add VALUES (4,0,'7799461.4119');
INSERT INTO num_exp_sub VALUES (4,0,'7799461.4119');
INSERT INTO num_exp_mul VALUES (4,0,'0');
-- INSERT INTO num_exp_div VALUES (4,0,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (4,1,'7799461.4119');
INSERT INTO num_exp_sub VALUES (4,1,'7799461.4119');
INSERT INTO num_exp_mul VALUES (4,1,'0');
-- INSERT INTO num_exp_div VALUES (4,1,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (4,2,'-26539030.803497047');
INSERT INTO num_exp_sub VALUES (4,2,'42137953.627297047');
INSERT INTO num_exp_mul VALUES (4,2,'-267821744976817.8111137106593');
INSERT INTO num_exp_div VALUES (4,2,'-.22713465002993920385');
INSERT INTO num_exp_add VALUES (4,3,'7799465.7219');
INSERT INTO num_exp_sub VALUES (4,3,'7799457.1019');
INSERT INTO num_exp_mul VALUES (4,3,'33615678.685289');
INSERT INTO num_exp_div VALUES (4,3,'1809619.81714617169373549883');
INSERT INTO num_exp_add VALUES (4,4,'15598922.8238');
INSERT INTO num_exp_sub VALUES (4,4,'0');
INSERT INTO num_exp_mul VALUES (4,4,'60831598315717.14146161');
INSERT INTO num_exp_div VALUES (4,4,'1.00000000000000000000');
INSERT INTO num_exp_add VALUES (4,5,'7815858.450391');
INSERT INTO num_exp_sub VALUES (4,5,'7783064.373409');
INSERT INTO num_exp_mul VALUES (4,5,'127888068979.9935054429');
INSERT INTO num_exp_div VALUES (4,5,'475.66281046305802686061');
INSERT INTO num_exp_add VALUES (4,6,'7893362.98953026');
INSERT INTO num_exp_sub VALUES (4,6,'7705559.83426974');
INSERT INTO num_exp_mul VALUES (4,6,'732381731243.745115764094');
INSERT INTO num_exp_div VALUES (4,6,'83.05996138436129499606');
INSERT INTO num_exp_add VALUES (4,7,'-75229023.5881');
INSERT INTO num_exp_sub VALUES (4,7,'90827946.4119');
INSERT INTO num_exp_mul VALUES (4,7,'-647577464846017.9715');
INSERT INTO num_exp_div VALUES (4,7,'-.09393717604145131637');
INSERT INTO num_exp_add VALUES (4,8,'7874342.4119');
INSERT INTO num_exp_sub VALUES (4,8,'7724580.4119');
INSERT INTO num_exp_mul VALUES (4,8,'584031469984.4839');
INSERT INTO num_exp_div VALUES (4,8,'104.15808298366741897143');
INSERT INTO num_exp_add VALUES (4,9,'-17127342.633147420');
INSERT INTO num_exp_sub VALUES (4,9,'32726265.456947420');
INSERT INTO num_exp_mul VALUES (4,9,'-194415646271340.1815956522980');
INSERT INTO num_exp_div VALUES (4,9,'-.31289456112403769409');
INSERT INTO num_exp_add VALUES (5,0,'16397.038491');
INSERT INTO num_exp_sub VALUES (5,0,'16397.038491');
INSERT INTO num_exp_mul VALUES (5,0,'0');
-- INSERT INTO num_exp_div VALUES (5,0,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (5,1,'16397.038491');
INSERT INTO num_exp_sub VALUES (5,1,'16397.038491');
INSERT INTO num_exp_mul VALUES (5,1,'0');
-- INSERT INTO num_exp_div VALUES (5,1,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (5,2,'-34322095.176906047');
INSERT INTO num_exp_sub VALUES (5,2,'34354889.253888047');
INSERT INTO num_exp_mul VALUES (5,2,'-563049578578.769242506736077');
INSERT INTO num_exp_div VALUES (5,2,'-.00047751189505192446');
INSERT INTO num_exp_add VALUES (5,3,'16401.348491');
INSERT INTO num_exp_sub VALUES (5,3,'16392.728491');
INSERT INTO num_exp_mul VALUES (5,3,'70671.23589621');
INSERT INTO num_exp_div VALUES (5,3,'3804.41728329466357308584');
INSERT INTO num_exp_add VALUES (5,4,'7815858.450391');
INSERT INTO num_exp_sub VALUES (5,4,'-7783064.373409');
INSERT INTO num_exp_mul VALUES (5,4,'127888068979.9935054429');
INSERT INTO num_exp_div VALUES (5,4,'.00210232958726897192');
INSERT INTO num_exp_add VALUES (5,5,'32794.076982');
INSERT INTO num_exp_sub VALUES (5,5,'0');
INSERT INTO num_exp_mul VALUES (5,5,'268862871.275335557081');
INSERT INTO num_exp_div VALUES (5,5,'1.00000000000000000000');
INSERT INTO num_exp_add VALUES (5,6,'110298.61612126');
INSERT INTO num_exp_sub VALUES (5,6,'-77504.53913926');
INSERT INTO num_exp_mul VALUES (5,6,'1539707782.76899778633766');
INSERT INTO num_exp_div VALUES (5,6,'.17461941433576102689');
INSERT INTO num_exp_add VALUES (5,7,'-83012087.961509');
INSERT INTO num_exp_sub VALUES (5,7,'83044882.038491');
INSERT INTO num_exp_mul VALUES (5,7,'-1361421264394.416135');
INSERT INTO num_exp_div VALUES (5,7,'-.00019748690453643710');
INSERT INTO num_exp_add VALUES (5,8,'91278.038491');
INSERT INTO num_exp_sub VALUES (5,8,'-58483.961509');
INSERT INTO num_exp_mul VALUES (5,8,'1227826639.244571');
INSERT INTO num_exp_div VALUES (5,8,'.21897461960978085228');
INSERT INTO num_exp_add VALUES (5,9,'-24910407.006556420');
INSERT INTO num_exp_sub VALUES (5,9,'24943201.083538420');
INSERT INTO num_exp_mul VALUES (5,9,'-408725765384.257043660243220');
INSERT INTO num_exp_div VALUES (5,9,'-.00065780749354660427');
INSERT INTO num_exp_add VALUES (6,0,'93901.57763026');
INSERT INTO num_exp_sub VALUES (6,0,'93901.57763026');
INSERT INTO num_exp_mul VALUES (6,0,'0');
-- INSERT INTO num_exp_div VALUES (6,0,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (6,1,'93901.57763026');
INSERT INTO num_exp_sub VALUES (6,1,'93901.57763026');
INSERT INTO num_exp_mul VALUES (6,1,'0');
-- INSERT INTO num_exp_div VALUES (6,1,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (6,2,'-34244590.637766787');
INSERT INTO num_exp_sub VALUES (6,2,'34432393.793027307');
INSERT INTO num_exp_mul VALUES (6,2,'-3224438592470.18449811926184222');
INSERT INTO num_exp_div VALUES (6,2,'-.00273458651128995823');
INSERT INTO num_exp_add VALUES (6,3,'93905.88763026');
INSERT INTO num_exp_sub VALUES (6,3,'93897.26763026');
INSERT INTO num_exp_mul VALUES (6,3,'404715.7995864206');
INSERT INTO num_exp_div VALUES (6,3,'21786.90896293735498839907');
INSERT INTO num_exp_add VALUES (6,4,'7893362.98953026');
INSERT INTO num_exp_sub VALUES (6,4,'-7705559.83426974');
INSERT INTO num_exp_mul VALUES (6,4,'732381731243.745115764094');
INSERT INTO num_exp_div VALUES (6,4,'.01203949512295682469');
INSERT INTO num_exp_add VALUES (6,5,'110298.61612126');
INSERT INTO num_exp_sub VALUES (6,5,'77504.53913926');
INSERT INTO num_exp_mul VALUES (6,5,'1539707782.76899778633766');
INSERT INTO num_exp_div VALUES (6,5,'5.72674008674192359679');
INSERT INTO num_exp_add VALUES (6,6,'187803.15526052');
INSERT INTO num_exp_sub VALUES (6,6,'0');
INSERT INTO num_exp_mul VALUES (6,6,'8817506281.4517452372676676');
INSERT INTO num_exp_div VALUES (6,6,'1.00000000000000000000');
INSERT INTO num_exp_add VALUES (6,7,'-82934583.42236974');
INSERT INTO num_exp_sub VALUES (6,7,'83122386.57763026');
INSERT INTO num_exp_mul VALUES (6,7,'-7796505729750.37795610');
INSERT INTO num_exp_div VALUES (6,7,'-.00113095617281538980');
INSERT INTO num_exp_add VALUES (6,8,'168782.57763026');
INSERT INTO num_exp_sub VALUES (6,8,'19020.57763026');
INSERT INTO num_exp_mul VALUES (6,8,'7031444034.53149906');
INSERT INTO num_exp_div VALUES (6,8,'1.25401073209839612184');
INSERT INTO num_exp_add VALUES (6,9,'-24832902.467417160');
INSERT INTO num_exp_sub VALUES (6,9,'25020705.622677680');
INSERT INTO num_exp_mul VALUES (6,9,'-2340666225110.29929521292692920');
INSERT INTO num_exp_div VALUES (6,9,'-.00376709254265256789');
INSERT INTO num_exp_add VALUES (7,0,'-83028485');
INSERT INTO num_exp_sub VALUES (7,0,'-83028485');
INSERT INTO num_exp_mul VALUES (7,0,'0');
-- INSERT INTO num_exp_div VALUES (7,0,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (7,1,'-83028485');
INSERT INTO num_exp_sub VALUES (7,1,'-83028485');
INSERT INTO num_exp_mul VALUES (7,1,'0');
-- INSERT INTO num_exp_div VALUES (7,1,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (7,2,'-117366977.215397047');
INSERT INTO num_exp_sub VALUES (7,2,'-48689992.784602953');
INSERT INTO num_exp_mul VALUES (7,2,'2851072985828710.485883795');
INSERT INTO num_exp_div VALUES (7,2,'2.41794207151503385700');
INSERT INTO num_exp_add VALUES (7,3,'-83028480.69');
INSERT INTO num_exp_sub VALUES (7,3,'-83028489.31');
INSERT INTO num_exp_mul VALUES (7,3,'-357852770.35');
INSERT INTO num_exp_div VALUES (7,3,'-19264149.65197215777262180974');
INSERT INTO num_exp_add VALUES (7,4,'-75229023.5881');
INSERT INTO num_exp_sub VALUES (7,4,'-90827946.4119');
INSERT INTO num_exp_mul VALUES (7,4,'-647577464846017.9715');
INSERT INTO num_exp_div VALUES (7,4,'-10.64541262725136247686');
INSERT INTO num_exp_add VALUES (7,5,'-83012087.961509');
INSERT INTO num_exp_sub VALUES (7,5,'-83044882.038491');
INSERT INTO num_exp_mul VALUES (7,5,'-1361421264394.416135');
INSERT INTO num_exp_div VALUES (7,5,'-5063.62688881730941836574');
INSERT INTO num_exp_add VALUES (7,6,'-82934583.42236974');
INSERT INTO num_exp_sub VALUES (7,6,'-83122386.57763026');
INSERT INTO num_exp_mul VALUES (7,6,'-7796505729750.37795610');
INSERT INTO num_exp_div VALUES (7,6,'-884.20756174009028770294');
INSERT INTO num_exp_add VALUES (7,7,'-166056970');
INSERT INTO num_exp_sub VALUES (7,7,'0');
INSERT INTO num_exp_mul VALUES (7,7,'6893729321395225');
INSERT INTO num_exp_div VALUES (7,7,'1.00000000000000000000');
INSERT INTO num_exp_add VALUES (7,8,'-82953604');
INSERT INTO num_exp_sub VALUES (7,8,'-83103366');
INSERT INTO num_exp_mul VALUES (7,8,'-6217255985285');
INSERT INTO num_exp_div VALUES (7,8,'-1108.80577182462841041118');
INSERT INTO num_exp_add VALUES (7,9,'-107955289.045047420');
INSERT INTO num_exp_sub VALUES (7,9,'-58101680.954952580');
INSERT INTO num_exp_mul VALUES (7,9,'2069634775752159.035758700');
INSERT INTO num_exp_div VALUES (7,9,'3.33089171198810413382');
INSERT INTO num_exp_add VALUES (8,0,'74881');
INSERT INTO num_exp_sub VALUES (8,0,'74881');
INSERT INTO num_exp_mul VALUES (8,0,'0');
-- INSERT INTO num_exp_div VALUES (8,0,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (8,1,'74881');
INSERT INTO num_exp_sub VALUES (8,1,'74881');
INSERT INTO num_exp_mul VALUES (8,1,'0');
-- INSERT INTO num_exp_div VALUES (8,1,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (8,2,'-34263611.215397047');
INSERT INTO num_exp_sub VALUES (8,2,'34413373.215397047');
INSERT INTO num_exp_mul VALUES (8,2,'-2571300635581.146276407');
INSERT INTO num_exp_div VALUES (8,2,'-.00218067233500788615');
INSERT INTO num_exp_add VALUES (8,3,'74885.31');
INSERT INTO num_exp_sub VALUES (8,3,'74876.69');
INSERT INTO num_exp_mul VALUES (8,3,'322737.11');
INSERT INTO num_exp_div VALUES (8,3,'17373.78190255220417633410');
INSERT INTO num_exp_add VALUES (8,4,'7874342.4119');
INSERT INTO num_exp_sub VALUES (8,4,'-7724580.4119');
INSERT INTO num_exp_mul VALUES (8,4,'584031469984.4839');
INSERT INTO num_exp_div VALUES (8,4,'.00960079113741758956');
INSERT INTO num_exp_add VALUES (8,5,'91278.038491');
INSERT INTO num_exp_sub VALUES (8,5,'58483.961509');
INSERT INTO num_exp_mul VALUES (8,5,'1227826639.244571');
INSERT INTO num_exp_div VALUES (8,5,'4.56673929509287019456');
INSERT INTO num_exp_add VALUES (8,6,'168782.57763026');
INSERT INTO num_exp_sub VALUES (8,6,'-19020.57763026');
INSERT INTO num_exp_mul VALUES (8,6,'7031444034.53149906');
INSERT INTO num_exp_div VALUES (8,6,'.79744134113322314424');
INSERT INTO num_exp_add VALUES (8,7,'-82953604');
INSERT INTO num_exp_sub VALUES (8,7,'83103366');
INSERT INTO num_exp_mul VALUES (8,7,'-6217255985285');
INSERT INTO num_exp_div VALUES (8,7,'-.00090187120721280172');
INSERT INTO num_exp_add VALUES (8,8,'149762');
INSERT INTO num_exp_sub VALUES (8,8,'0');
INSERT INTO num_exp_mul VALUES (8,8,'5607164161');
INSERT INTO num_exp_div VALUES (8,8,'1.00000000000000000000');
INSERT INTO num_exp_add VALUES (8,9,'-24851923.045047420');
INSERT INTO num_exp_sub VALUES (8,9,'25001685.045047420');
INSERT INTO num_exp_mul VALUES (8,9,'-1866544013697.195857020');
INSERT INTO num_exp_div VALUES (8,9,'-.00300403532938582735');
INSERT INTO num_exp_add VALUES (9,0,'-24926804.045047420');
INSERT INTO num_exp_sub VALUES (9,0,'-24926804.045047420');
INSERT INTO num_exp_mul VALUES (9,0,'0');
-- INSERT INTO num_exp_div VALUES (9,0,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (9,1,'-24926804.045047420');
INSERT INTO num_exp_sub VALUES (9,1,'-24926804.045047420');
INSERT INTO num_exp_mul VALUES (9,1,'0');
-- INSERT INTO num_exp_div VALUES (9,1,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_add VALUES (9,2,'-59265296.260444467');
INSERT INTO num_exp_sub VALUES (9,2,'9411688.170349627');
INSERT INTO num_exp_mul VALUES (9,2,'855948866655588.453741509242968740');
INSERT INTO num_exp_div VALUES (9,2,'.72591434384152961526');
INSERT INTO num_exp_add VALUES (9,3,'-24926799.735047420');
INSERT INTO num_exp_sub VALUES (9,3,'-24926808.355047420');
INSERT INTO num_exp_mul VALUES (9,3,'-107434525.43415438020');
INSERT INTO num_exp_div VALUES (9,3,'-5783481.21694835730858468677');
INSERT INTO num_exp_add VALUES (9,4,'-17127342.633147420');
INSERT INTO num_exp_sub VALUES (9,4,'-32726265.456947420');
INSERT INTO num_exp_mul VALUES (9,4,'-194415646271340.1815956522980');
INSERT INTO num_exp_div VALUES (9,4,'-3.19596478892958416484');
INSERT INTO num_exp_add VALUES (9,5,'-24910407.006556420');
INSERT INTO num_exp_sub VALUES (9,5,'-24943201.083538420');
INSERT INTO num_exp_mul VALUES (9,5,'-408725765384.257043660243220');
INSERT INTO num_exp_div VALUES (9,5,'-1520.20159364322004505807');
INSERT INTO num_exp_add VALUES (9,6,'-24832902.467417160');
INSERT INTO num_exp_sub VALUES (9,6,'-25020705.622677680');
INSERT INTO num_exp_mul VALUES (9,6,'-2340666225110.29929521292692920');
INSERT INTO num_exp_div VALUES (9,6,'-265.45671195426965751280');
INSERT INTO num_exp_add VALUES (9,7,'-107955289.045047420');
INSERT INTO num_exp_sub VALUES (9,7,'58101680.954952580');
INSERT INTO num_exp_mul VALUES (9,7,'2069634775752159.035758700');
INSERT INTO num_exp_div VALUES (9,7,'.30021990699995814689');
INSERT INTO num_exp_add VALUES (9,8,'-24851923.045047420');
INSERT INTO num_exp_sub VALUES (9,8,'-25001685.045047420');
INSERT INTO num_exp_mul VALUES (9,8,'-1866544013697.195857020');
INSERT INTO num_exp_div VALUES (9,8,'-332.88556569820675471748');
INSERT INTO num_exp_add VALUES (9,9,'-49853608.090094840');
INSERT INTO num_exp_sub VALUES (9,9,'0');
INSERT INTO num_exp_mul VALUES (9,9,'621345559900192.420120630048656400');
INSERT INTO num_exp_div VALUES (9,9,'1.00000000000000000000');
COMMIT TRANSACTION;
BEGIN TRANSACTION;
INSERT INTO num_exp_sqrt VALUES (0,'0');
INSERT INTO num_exp_sqrt VALUES (1,'0');
INSERT INTO num_exp_sqrt VALUES (2,'5859.90547836712524903505');
INSERT INTO num_exp_sqrt VALUES (3,'2.07605394920266944396');
INSERT INTO num_exp_sqrt VALUES (4,'2792.75158435189147418923');
INSERT INTO num_exp_sqrt VALUES (5,'128.05092147657509145473');
INSERT INTO num_exp_sqrt VALUES (6,'306.43364311096782703406');
INSERT INTO num_exp_sqrt VALUES (7,'9111.99676251039939975230');
INSERT INTO num_exp_sqrt VALUES (8,'273.64392922189960397542');
INSERT INTO num_exp_sqrt VALUES (9,'4992.67503899937593364766');
COMMIT TRANSACTION;
BEGIN TRANSACTION;
-- INSERT INTO num_exp_ln VALUES (0,'NaN'); TODO: Enable after ENG-4645
-- INSERT INTO num_exp_ln VALUES (1,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_ln VALUES (2,'17.35177750493897715514');
INSERT INTO num_exp_ln VALUES (3,'1.46093790411565641971');
INSERT INTO num_exp_ln VALUES (4,'15.86956523951936572464');
INSERT INTO num_exp_ln VALUES (5,'9.70485601768871834038');
INSERT INTO num_exp_ln VALUES (6,'11.45000246622944403127');
INSERT INTO num_exp_ln VALUES (7,'18.23469429965478772991');
INSERT INTO num_exp_ln VALUES (8,'11.22365546576315513668');
INSERT INTO num_exp_ln VALUES (9,'17.03145425013166006962');
COMMIT TRANSACTION;
BEGIN TRANSACTION;
-- INSERT INTO num_exp_log10 VALUES (0,'NaN'); TODO: Enable after ENG-4645
-- INSERT INTO num_exp_log10 VALUES (1,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_log10 VALUES (2,'7.53578122160797276459');
INSERT INTO num_exp_log10 VALUES (3,'.63447727016073160075');
INSERT INTO num_exp_log10 VALUES (4,'6.89206461372691743345');
INSERT INTO num_exp_log10 VALUES (5,'4.21476541614777768626');
INSERT INTO num_exp_log10 VALUES (6,'4.97267288886207207671');
INSERT INTO num_exp_log10 VALUES (7,'7.91922711353275546914');
INSERT INTO num_exp_log10 VALUES (8,'4.87437163556421004138');
INSERT INTO num_exp_log10 VALUES (9,'7.39666659961986567059');
COMMIT TRANSACTION;
BEGIN TRANSACTION;
-- INSERT INTO num_exp_power_10_ln VALUES (0,'NaN'); TODO: Enable after ENG-4645
-- INSERT INTO num_exp_power_10_ln VALUES (1,'NaN'); TODO: Enable after ENG-4645
INSERT INTO num_exp_power_10_ln VALUES (2,'224790267919917955.13261618583642653184');
INSERT INTO num_exp_power_10_ln VALUES (3,'28.90266599445155957393');
INSERT INTO num_exp_power_10_ln VALUES (4,'7405685069594999.07733999469386277636');
INSERT INTO num_exp_power_10_ln VALUES (5,'5068226527.32127265408584640098');
INSERT INTO num_exp_power_10_ln VALUES (6,'281839893606.99372343357047819067');
INSERT INTO num_exp_power_10_ln VALUES (7,'1716699575118597095.42330819910640247627');
INSERT INTO num_exp_power_10_ln VALUES (8,'167361463828.07491320069016125952');
INSERT INTO num_exp_power_10_ln VALUES (9,'107511333880052007.04141124673540337457');
COMMIT TRANSACTION;
BEGIN TRANSACTION;
INSERT INTO num_data VALUES (0, '0');
INSERT INTO num_data VALUES (1, '0');
INSERT INTO num_data VALUES (2, '-34338492.215397047');
INSERT INTO num_data VALUES (3, '4.31');
INSERT INTO num_data VALUES (4, '7799461.4119');
INSERT INTO num_data VALUES (5, '16397.038491');
INSERT INTO num_data VALUES (6, '93901.57763026');
INSERT INTO num_data VALUES (7, '-83028485');
INSERT INTO num_data VALUES (8, '74881');
INSERT INTO num_data VALUES (9, '-24926804.045047420');
COMMIT TRANSACTION;
-- ******************************
-- * Create indices for faster checks
-- ******************************
-- TODO(Alex): Uncomment this and remove index creation at the beginning if/when we start supporting
-- creating indexes on populated tablea
-- CREATE UNIQUE INDEX num_exp_add_idx ON num_exp_add (id1, id2);
-- CREATE UNIQUE INDEX num_exp_sub_idx ON num_exp_sub (id1, id2);
-- CREATE UNIQUE INDEX num_exp_div_idx ON num_exp_div (id1, id2);
-- CREATE UNIQUE INDEX num_exp_mul_idx ON num_exp_mul (id1, id2);
-- CREATE UNIQUE INDEX num_exp_sqrt_idx ON num_exp_sqrt (id);
-- CREATE UNIQUE INDEX num_exp_ln_idx ON num_exp_ln (id);
-- CREATE UNIQUE INDEX num_exp_log10_idx ON num_exp_log10 (id);
-- CREATE UNIQUE INDEX num_exp_power_10_ln_idx ON num_exp_power_10_ln (id);
--
-- TODO: Enable if/when we start supporting ANALYZE
--
-- VACUUM ANALYZE num_exp_add;
-- VACUUM ANALYZE num_exp_sub;
-- VACUUM ANALYZE num_exp_div;
-- VACUUM ANALYZE num_exp_mul;
-- VACUUM ANALYZE num_exp_sqrt;
-- VACUUM ANALYZE num_exp_ln;
-- VACUUM ANALYZE num_exp_log10;
-- VACUUM ANALYZE num_exp_power_10_ln;
--
-- ******************************
-- * Now check the behaviour of the NUMERIC type
-- ******************************
-- ******************************
-- * Addition check
-- ******************************
DELETE FROM num_result;
INSERT INTO num_result SELECT t1.id, t2.id, t1.val + t2.val
FROM num_data t1, num_data t2;
SELECT t1.id1, t1.id2, t1.result, t2.expected
FROM num_result t1, num_exp_add t2
WHERE t1.id1 = t2.id1 AND t1.id2 = t2.id2
AND t1.result != t2.expected;
DELETE FROM num_result;
INSERT INTO num_result SELECT t1.id, t2.id, round(t1.val + t2.val, 10)
FROM num_data t1, num_data t2;
SELECT t1.id1, t1.id2, t1.result, round(t2.expected, 10) as expected
FROM num_result t1, num_exp_add t2
WHERE t1.id1 = t2.id1 AND t1.id2 = t2.id2
AND t1.result != round(t2.expected, 10);
-- ******************************
-- * Subtraction check
-- ******************************
DELETE FROM num_result;
INSERT INTO num_result SELECT t1.id, t2.id, t1.val - t2.val
FROM num_data t1, num_data t2;
SELECT t1.id1, t1.id2, t1.result, t2.expected
FROM num_result t1, num_exp_sub t2
WHERE t1.id1 = t2.id1 AND t1.id2 = t2.id2
AND t1.result != t2.expected;
DELETE FROM num_result;
INSERT INTO num_result SELECT t1.id, t2.id, round(t1.val - t2.val, 40)
FROM num_data t1, num_data t2;
SELECT t1.id1, t1.id2, t1.result, round(t2.expected, 40)
FROM num_result t1, num_exp_sub t2
WHERE t1.id1 = t2.id1 AND t1.id2 = t2.id2
AND t1.result != round(t2.expected, 40);
-- ******************************
-- * Multiply check
-- ******************************
DELETE FROM num_result;
INSERT INTO num_result SELECT t1.id, t2.id, t1.val * t2.val
FROM num_data t1, num_data t2;
SELECT t1.id1, t1.id2, t1.result, t2.expected
FROM num_result t1, num_exp_mul t2
WHERE t1.id1 = t2.id1 AND t1.id2 = t2.id2
AND t1.result != t2.expected;
DELETE FROM num_result;
INSERT INTO num_result SELECT t1.id, t2.id, round(t1.val * t2.val, 30)
FROM num_data t1, num_data t2;
SELECT t1.id1, t1.id2, t1.result, round(t2.expected, 30) as expected
FROM num_result t1, num_exp_mul t2
WHERE t1.id1 = t2.id1 AND t1.id2 = t2.id2
AND t1.result != round(t2.expected, 30);
-- ******************************
-- * Division check
-- ******************************
DELETE FROM num_result;
INSERT INTO num_result SELECT t1.id, t2.id, t1.val / t2.val
FROM num_data t1, num_data t2
WHERE t2.val != '0.0';
SELECT t1.id1, t1.id2, t1.result, t2.expected
FROM num_result t1, num_exp_div t2
WHERE t1.id1 = t2.id1 AND t1.id2 = t2.id2
AND t1.result != t2.expected;
DELETE FROM num_result;
INSERT INTO num_result SELECT t1.id, t2.id, round(t1.val / t2.val, 80)
FROM num_data t1, num_data t2
WHERE t2.val != '0.0';
SELECT t1.id1, t1.id2, t1.result, round(t2.expected, 80) as expected
FROM num_result t1, num_exp_div t2
WHERE t1.id1 = t2.id1 AND t1.id2 = t2.id2
AND t1.result != round(t2.expected, 80);
-- ******************************
-- * Square root check
-- ******************************
DELETE FROM num_result;
INSERT INTO num_result SELECT id, 0, SQRT(ABS(val))
FROM num_data;
SELECT t1.id1, t1.result, t2.expected
FROM num_result t1, num_exp_sqrt t2
WHERE t1.id1 = t2.id
AND t1.result != t2.expected;
-- ******************************
-- * Natural logarithm check
-- ******************************
DELETE FROM num_result;
INSERT INTO num_result SELECT id, 0, LN(ABS(val))
FROM num_data
WHERE val != '0.0';
SELECT t1.id1, t1.result, t2.expected
FROM num_result t1, num_exp_ln t2
WHERE t1.id1 = t2.id
AND t1.result != t2.expected;
-- ******************************
-- * Logarithm base 10 check
-- ******************************
DELETE FROM num_result;
INSERT INTO num_result SELECT id, 0, LOG(numeric '10', ABS(val))
FROM num_data
WHERE val != '0.0';
SELECT t1.id1, t1.result, t2.expected
FROM num_result t1, num_exp_log10 t2
WHERE t1.id1 = t2.id
AND t1.result != t2.expected;
-- ******************************
-- * POWER(10, LN(value)) check
-- ******************************
DELETE FROM num_result;
INSERT INTO num_result SELECT id, 0, POWER(numeric '10', LN(ABS(round(val,200))))
FROM num_data
WHERE val != '0.0';
SELECT t1.id1, t1.result, t2.expected
FROM num_result t1, num_exp_power_10_ln t2
WHERE t1.id1 = t2.id
AND t1.result != t2.expected;
-- ******************************
-- * miscellaneous checks for things that have been broken in the past...
-- ******************************
-- numeric AVG used to fail on some platforms
SELECT AVG(val) FROM num_data;
SELECT STDDEV(val) FROM num_data;
SELECT VARIANCE(val) FROM num_data;
-- ASC/DESC check
SELECT * FROM num_data ORDER BY val ASC, id ASC;
SELECT * FROM num_data ORDER BY val DESC, id DESC;
-- Check for appropriate rounding and overflow
CREATE TABLE fract_only (id int, val numeric(4,4));
INSERT INTO fract_only VALUES (1, '0.0');
INSERT INTO fract_only VALUES (2, '0.1');
INSERT INTO fract_only VALUES (3, '1.0'); -- should fail
INSERT INTO fract_only VALUES (4, '-0.9999');
INSERT INTO fract_only VALUES (5, '0.99994');
INSERT INTO fract_only VALUES (6, '0.99995'); -- should fail
INSERT INTO fract_only VALUES (7, '0.00001');
INSERT INTO fract_only VALUES (8, '0.00017');
SELECT * FROM fract_only ORDER BY id;
DROP TABLE fract_only;
-- Check inf/nan conversion behavior
SELECT 'NaN'::float8::numeric;
SELECT 'Infinity'::float8::numeric;
SELECT '-Infinity'::float8::numeric;
SELECT 'NaN'::float4::numeric;
SELECT 'Infinity'::float4::numeric;
SELECT '-Infinity'::float4::numeric;
-- Simple check that ceil(), floor(), and round() work correctly
CREATE TABLE ceil_floor_round (a numeric);
INSERT INTO ceil_floor_round VALUES ('-5.5');
INSERT INTO ceil_floor_round VALUES ('-5.499999');
INSERT INTO ceil_floor_round VALUES ('9.5');
INSERT INTO ceil_floor_round VALUES ('9.4999999');
INSERT INTO ceil_floor_round VALUES ('0.0');
INSERT INTO ceil_floor_round VALUES ('0.0000001');
INSERT INTO ceil_floor_round VALUES ('-0.000001');
SELECT a, ceil(a), ceiling(a), floor(a), round(a) FROM ceil_floor_round ORDER BY a;
DROP TABLE ceil_floor_round;
-- Check rounding, it should round ties away from zero.
SELECT i as pow,
round((-2.5 * 10 ^ i)::numeric, -i),
round((-1.5 * 10 ^ i)::numeric, -i),
round((-0.5 * 10 ^ i)::numeric, -i),
round((0.5 * 10 ^ i)::numeric, -i),
round((1.5 * 10 ^ i)::numeric, -i),
round((2.5 * 10 ^ i)::numeric, -i)
FROM generate_series(-5,5) AS t(i) ORDER BY pow;
-- Testing for width_bucket(). For convenience, we test both the
-- numeric and float8 versions of the function in this file.
-- errors
SELECT width_bucket(5.0, 3.0, 4.0, 0);
SELECT width_bucket(5.0, 3.0, 4.0, -5);
SELECT width_bucket(3.5, 3.0, 3.0, 888);
SELECT width_bucket(5.0::float8, 3.0::float8, 4.0::float8, 0);
SELECT width_bucket(5.0::float8, 3.0::float8, 4.0::float8, -5);
SELECT width_bucket(3.5::float8, 3.0::float8, 3.0::float8, 888);
SELECT width_bucket('NaN', 3.0, 4.0, 888);
SELECT width_bucket(0::float8, 'NaN', 4.0::float8, 888);
-- normal operation
CREATE TABLE width_bucket_test (operand_num numeric, operand_f8 float8);
COPY width_bucket_test (operand_num) FROM stdin;
-5.2
-0.0000000001
0.000000000001
1
1.99999999999999
2
2.00000000000001
3
4
4.5
5
5.5
6
7
8
9
9.99999999999999
10
10.0000000000001
\.
-- TODO: Reenable when https://github.com/YugaByte/yugabyte-db/issues/848 gets fixed
--
-- UPDATE width_bucket_test SET operand_f8 = operand_num::float8;
--
-- SELECT
-- operand_num,
-- width_bucket(operand_num, 0, 10, 5) AS wb_1,
-- width_bucket(operand_f8, 0, 10, 5) AS wb_1f,
-- width_bucket(operand_num, 10, 0, 5) AS wb_2,
-- width_bucket(operand_f8, 10, 0, 5) AS wb_2f,
-- width_bucket(operand_num, 2, 8, 4) AS wb_3,
-- width_bucket(operand_f8, 2, 8, 4) AS wb_3f,
-- width_bucket(operand_num, 5.0, 5.5, 20) AS wb_4,
-- width_bucket(operand_f8, 5.0, 5.5, 20) AS wb_4f,
-- width_bucket(operand_num, -25, 25, 10) AS wb_5,
-- width_bucket(operand_f8, -25, 25, 10) AS wb_5f
-- FROM width_bucket_test
-- ORDER BY operand_num;
-- operand_num | wb_1 | wb_1f | wb_2 | wb_2f | wb_3 | wb_3f | wb_4 | wb_4f | wb_5 | wb_5f
-- ------------------+------+-------+------+-------+------+-------+------+-------+------+-------
-- -5.2 | 0 | 0 | 6 | 6 | 0 | 0 | 0 | 0 | 4 | 4
-- -0.0000000001 | 0 | 0 | 6 | 6 | 0 | 0 | 0 | 0 | 5 | 5
-- 0.000000000001 | 1 | 1 | 5 | 5 | 0 | 0 | 0 | 0 | 6 | 6
-- 1 | 1 | 1 | 5 | 5 | 0 | 0 | 0 | 0 | 6 | 6
-- 1.99999999999999 | 1 | 1 | 5 | 5 | 0 | 0 | 0 | 0 | 6 | 6
-- 2 | 2 | 2 | 5 | 5 | 1 | 1 | 0 | 0 | 6 | 6
-- 2.00000000000001 | 2 | 2 | 4 | 4 | 1 | 1 | 0 | 0 | 6 | 6
-- 3 | 2 | 2 | 4 | 4 | 1 | 1 | 0 | 0 | 6 | 6
-- 4 | 3 | 3 | 4 | 4 | 2 | 2 | 0 | 0 | 6 | 6
-- 4.5 | 3 | 3 | 3 | 3 | 2 | 2 | 0 | 0 | 6 | 6
-- 5 | 3 | 3 | 3 | 3 | 3 | 3 | 1 | 1 | 7 | 7
-- 5.5 | 3 | 3 | 3 | 3 | 3 | 3 | 21 | 21 | 7 | 7
-- 6 | 4 | 4 | 3 | 3 | 3 | 3 | 21 | 21 | 7 | 7
-- 7 | 4 | 4 | 2 | 2 | 4 | 4 | 21 | 21 | 7 | 7
-- 8 | 5 | 5 | 2 | 2 | 5 | 5 | 21 | 21 | 7 | 7
-- 9 | 5 | 5 | 1 | 1 | 5 | 5 | 21 | 21 | 7 | 7
-- 9.99999999999999 | 5 | 5 | 1 | 1 | 5 | 5 | 21 | 21 | 7 | 7
-- 10 | 6 | 6 | 1 | 1 | 5 | 5 | 21 | 21 | 8 | 8
-- 10.0000000000001 | 6 | 6 | 0 | 0 | 5 | 5 | 21 | 21 | 8 | 8
-- (19 rows)
--
-- for float8 only, check positive and negative infinity: we require
-- finite bucket bounds, but allow an infinite operand
SELECT width_bucket(0.0::float8, 'Infinity'::float8, 5, 10); -- error
SELECT width_bucket(0.0::float8, 5, '-Infinity'::float8, 20); -- error
SELECT width_bucket('Infinity'::float8, 1, 10, 10),
width_bucket('-Infinity'::float8, 1, 10, 10);
DROP TABLE width_bucket_test;
--
-- TO_CHAR()
--
SET LC_NUMERIC TO 'en_US.UTF-8';
SET LC_MONETARY TO 'en_US.UTF-8';
SELECT '' AS to_char_1, to_char(val, '9G999G999G999G999G999') FROM num_data ORDER BY val;
SELECT '' AS to_char_2, to_char(val, '9G999G999G999G999G999D999G999G999G999G999') FROM num_data ORDER BY val;
SELECT '' AS to_char_3, to_char(val, '9999999999999999.999999999999999PR') FROM num_data ORDER BY val;
SELECT '' AS to_char_4, to_char(val, '9999999999999999.999999999999999S') FROM num_data ORDER BY val;
SELECT '' AS to_char_5, to_char(val, 'MI9999999999999999.999999999999999') FROM num_data ORDER BY val;
SELECT '' AS to_char_6, to_char(val, 'FMS9999999999999999.999999999999999') FROM num_data ORDER BY val;
SELECT '' AS to_char_7, to_char(val, 'FM9999999999999999.999999999999999THPR') FROM num_data ORDER BY val;
SELECT '' AS to_char_8, to_char(val, 'SG9999999999999999.999999999999999th') FROM num_data ORDER BY val;
SELECT '' AS to_char_9, to_char(val, '0999999999999999.999999999999999') FROM num_data ORDER BY val;
SELECT '' AS to_char_10, to_char(val, 'S0999999999999999.999999999999999') FROM num_data ORDER BY val;
SELECT '' AS to_char_11, to_char(val, 'FM0999999999999999.999999999999999') FROM num_data ORDER BY val;
SELECT '' AS to_char_12, to_char(val, 'FM9999999999999999.099999999999999') FROM num_data ORDER BY val;
SELECT '' AS to_char_13, to_char(val, 'FM9999999999990999.990999999999999') FROM num_data ORDER BY val;
SELECT '' AS to_char_14, to_char(val, 'FM0999999999999999.999909999999999') FROM num_data ORDER BY val;
SELECT '' AS to_char_15, to_char(val, 'FM9999999990999999.099999999999999') FROM num_data ORDER BY val;
SELECT '' AS to_char_16, to_char(val, 'L9999999999999999.099999999999999') FROM num_data ORDER BY val;
SELECT '' AS to_char_17, to_char(val, 'FM9999999999999999.99999999999999') FROM num_data ORDER BY val;
SELECT '' AS to_char_18, to_char(val, 'S 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 . 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9') FROM num_data ORDER BY val;
SELECT '' AS to_char_19, to_char(val, 'FMS 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 . 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9') FROM num_data ORDER BY val;
SELECT '' AS to_char_20, to_char(val, E'99999 "text" 9999 "9999" 999 "\\"text between quote marks\\"" 9999') FROM num_data ORDER BY val;
SELECT '' AS to_char_21, to_char(val, '999999SG9999999999') FROM num_data ORDER BY val;
SELECT '' AS to_char_22, to_char(val, 'FM9999999999999999.999999999999999') FROM num_data ORDER BY val;
SELECT '' AS to_char_23, to_char(val, '9.999EEEE') FROM num_data ORDER BY val;
SELECT '' AS to_char_24, to_char('100'::numeric, 'FM999.9');
SELECT '' AS to_char_25, to_char('100'::numeric, 'FM999.');
SELECT '' AS to_char_26, to_char('100'::numeric, 'FM999');
-- Test scientific notation with various exponents
WITH v(exp) AS
(VALUES(-16379),(-16378),(-1234),(-789),(-45),(-5),(-4),(-3),(-2),(-1),(0),
(1),(2),(3),(4),(5),(38),(275),(2345),(45678),(131070),(131071))
SELECT exp,
to_char(('1.2345e'||exp)::numeric, '9.999EEEE') as numeric
FROM v;
-- TO_NUMBER()
--
SELECT '' AS to_number_1, to_number('-34,338,492', '99G999G999');
SELECT '' AS to_number_2, to_number('-34,338,492.654,878', '99G999G999D999G999');
SELECT '' AS to_number_3, to_number('<564646.654564>', '999999.999999PR');
SELECT '' AS to_number_4, to_number('0.00001-', '9.999999S');
SELECT '' AS to_number_5, to_number('5.01-', 'FM9.999999S');
SELECT '' AS to_number_5, to_number('5.01-', 'FM9.999999MI');
SELECT '' AS to_number_7, to_number('5 4 4 4 4 8 . 7 8', '9 9 9 9 9 9 . 9 9');
SELECT '' AS to_number_8, to_number('.01', 'FM9.99');
SELECT '' AS to_number_9, to_number('.0', '99999999.99999999');
SELECT '' AS to_number_10, to_number('0', '99.99');
SELECT '' AS to_number_11, to_number('.-01', 'S99.99');
SELECT '' AS to_number_12, to_number('.01-', '99.99S');
SELECT '' AS to_number_13, to_number(' . 0 1-', ' 9 9 . 9 9 S');
--
-- Input syntax
--
CREATE TABLE num_input_test (n1 numeric);
-- good inputs
INSERT INTO num_input_test(n1) VALUES (' 123');
INSERT INTO num_input_test(n1) VALUES (' 3245874 ');
INSERT INTO num_input_test(n1) VALUES (' -93853');
INSERT INTO num_input_test(n1) VALUES ('555.50');
INSERT INTO num_input_test(n1) VALUES ('-555.50');
INSERT INTO num_input_test(n1) VALUES ('NaN ');
INSERT INTO num_input_test(n1) VALUES (' nan ');
-- bad inputs
INSERT INTO num_input_test(n1) VALUES (' ');
INSERT INTO num_input_test(n1) VALUES (' 1234 %');
INSERT INTO num_input_test(n1) VALUES ('xyz');
INSERT INTO num_input_test(n1) VALUES ('- 1234');
INSERT INTO num_input_test(n1) VALUES ('5 . 0');
INSERT INTO num_input_test(n1) VALUES ('5. 0 ');
INSERT INTO num_input_test(n1) VALUES ('');
INSERT INTO num_input_test(n1) VALUES (' N aN ');
SELECT * FROM num_input_test ORDER BY n1;
--
-- Test some corner cases for multiplication
--
select 4790999999999999999999999999999999999999999999999999999999999999999999999999999999999999 * 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999;
select 4789999999999999999999999999999999999999999999999999999999999999999999999999999999999999 * 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999;
select 4770999999999999999999999999999999999999999999999999999999999999999999999999999999999999 * 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999;
select 4769999999999999999999999999999999999999999999999999999999999999999999999999999999999999 * 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999;
--
-- Test some corner cases for division
--
select 999999999999999999999::numeric/1000000000000000000000;
select div(999999999999999999999::numeric,1000000000000000000000);
select mod(999999999999999999999::numeric,1000000000000000000000);
select div(-9999999999999999999999::numeric,1000000000000000000000);
select mod(-9999999999999999999999::numeric,1000000000000000000000);
select div(-9999999999999999999999::numeric,1000000000000000000000)*1000000000000000000000 + mod(-9999999999999999999999::numeric,1000000000000000000000);
select mod (70.0,70) ;
select div (70.0,70) ;
select 70.0 / 70 ;
select 12345678901234567890 % 123;
select 12345678901234567890 / 123;
select div(12345678901234567890, 123);
select div(12345678901234567890, 123) * 123 + 12345678901234567890 % 123;
--
-- Test code path for raising to integer powers
--
select 10.0 ^ -2147483648 as rounds_to_zero;
select 10.0 ^ -2147483647 as rounds_to_zero;
select 10.0 ^ 2147483647 as overflows;
select 117743296169.0 ^ 1000000000 as overflows;
-- cases that used to return inaccurate results
select 3.789 ^ 21;
select 3.789 ^ 35;
select 1.2 ^ 345;
select 0.12 ^ (-20);
-- cases that used to error out
select 0.12 ^ (-25);
select 0.5678 ^ (-85);
--
-- Tests for raising to non-integer powers
--
-- special cases
select 0.0 ^ 0.0;
select (-12.34) ^ 0.0;
select 12.34 ^ 0.0;
select 0.0 ^ 12.34;
-- invalid inputs
select 0.0 ^ (-12.34);
select (-12.34) ^ 1.2;
-- cases that used to generate inaccurate results
select 32.1 ^ 9.8;
select 32.1 ^ (-9.8);
select 12.3 ^ 45.6;
select 12.3 ^ (-45.6);
-- big test
select 1.234 ^ 5678;
--
-- Tests for EXP()
--
-- special cases
select exp(0.0);
select exp(1.0);
select exp(1.0::numeric(71,70));
-- cases that used to generate inaccurate results
select exp(32.999);
select exp(-32.999);
select exp(123.456);
select exp(-123.456);
-- big test
select exp(1234.5678);
--
-- Tests for generate_series
--
select * from generate_series(0.0::numeric, 4.0::numeric);
select * from generate_series(0.1::numeric, 4.0::numeric, 1.3::numeric);
select * from generate_series(4.0::numeric, -1.5::numeric, -2.2::numeric);
-- Trigger errors
select * from generate_series(-100::numeric, 100::numeric, 0::numeric);
select * from generate_series(-100::numeric, 100::numeric, 'nan'::numeric);
select * from generate_series('nan'::numeric, 100::numeric, 10::numeric);
select * from generate_series(0::numeric, 'nan'::numeric, 10::numeric);
-- Checks maximum, output is truncated
select (i / (10::numeric ^ 131071))::numeric(1,0)
from generate_series(6 * (10::numeric ^ 131071),
9 * (10::numeric ^ 131071),
10::numeric ^ 131071) as a(i);
-- Check usage with variables
select * from generate_series(1::numeric, 3::numeric) i, generate_series(i,3) j;
select * from generate_series(1::numeric, 3::numeric) i, generate_series(1,i) j;
select * from generate_series(1::numeric, 3::numeric) i, generate_series(1,5,i) j;
--
-- Tests for LN()
--
-- Invalid inputs
select ln(-12.34);
select ln(0.0);
-- Some random tests
select ln(1.2345678e-28);
select ln(0.0456789);
select ln(0.349873948359354029493948309745709580730482050975);
select ln(0.99949452);
select ln(1.00049687395);
select ln(1234.567890123456789);
select ln(5.80397490724e5);
select ln(9.342536355e34);
--
-- Tests for LOG() (base 10)
--
-- invalid inputs
select log(-12.34);
select log(0.0);
-- some random tests
select log(1.234567e-89);
select log(3.4634998359873254962349856073435545);
select log(9.999999999999999999);
select log(10.00000000000000000);
select log(10.00000000000000001);
select log(590489.45235237);
--
-- Tests for LOG() (arbitrary base)
--
-- invalid inputs
select log(-12.34, 56.78);
select log(-12.34, -56.78);
select log(12.34, -56.78);
select log(0.0, 12.34);
select log(12.34, 0.0);
select log(1.0, 12.34);
-- some random tests
select log(1.23e-89, 6.4689e45);
select log(0.99923, 4.58934e34);
select log(1.000016, 8.452010e18);
select log(3.1954752e47, 9.4792021e-73);
--
-- Tests for scale()
--
select scale(numeric 'NaN');
select scale(NULL::numeric);
select scale(1.12);
select scale(0);
select scale(0.00);
select scale(1.12345);
select scale(110123.12475871856128);
select scale(-1123.12471856128);
select scale(-13.000000000000000);
--
-- Tests for SUM()
--
-- cases that need carry propagation
SELECT SUM(9999::numeric) FROM generate_series(1, 100000);
SELECT SUM((-9999)::numeric) FROM generate_series(1, 100000);
--
-- Test for PRIMARY KEY
--
CREATE TABLE num_data_with_pk(id NUMERIC PRIMARY KEY, val numeric);
INSERT INTO num_data_with_pk VALUES ('1.1','-11.11');
INSERT INTO num_data_with_pk VALUES ('2.2','-22.22');
INSERT INTO num_data_with_pk VALUES ('3.3','-33.33');
SELECT * FROM num_data_with_pk ORDER BY id;
SELECT VAL FROM num_data_with_pk WHERE id = '2.2';
|
CREATE TABLE [dbo].[Departamento] (
[Cod] VARCHAR (10) NOT NULL,
[Nombre] TEXT NOT NULL,
[Num] VARCHAR (2) NULL,
[Piso] VARCHAR (2) NULL,
PRIMARY KEY CLUSTERED ([Cod] ASC),
CONSTRAINT [DepartamentoAula] FOREIGN KEY ([Num], [Piso]) REFERENCES [dbo].[Aula] ([Num], [Piso]) ON DELETE CASCADE ON UPDATE CASCADE
);
|
select
matches.id,
matches.sentence_id,
sentences.document_id,
matches.data "match_data",
sentences.data as "sentence_data"
from
matches
left join sentences on matches.sentence_id = sentences.id;
|
-- @testpoint: 字节长度设定为负数,合理报错
-- @modify at: 2020-11-17
drop table if exists test_varchar_03;
create table test_varchar_03 (name varchar(-1));
|
# --- Created by Ebean DDL
# To stop Ebean DDL generation, remove this comment and start using Evolutions
# --- !Ups
create table evento (
id bigint not null,
nombre varchar(255),
fecha timestamp,
constraint pk_evento primary key (id)
);
create sequence EventoSequence;
create table musico (
id bigint not null,
nombre varchar(255),
biografia varchar(255),
correo varchar(255),
tipo varchar(255),
url_imagen varchar(255),
constraint pk_musico primary key (id)
);
create sequence MusicoSequence;
create table propuestamusical (
id bigint not null,
constraint pk_propuestamusical primary key (id)
);
create sequence PropuestaMusicalSequence;
# --- !Downs
drop table if exists evento cascade;
drop sequence if exists EventoSequence;
drop table if exists musico cascade;
drop sequence if exists MusicoSequence;
drop table if exists propuestamusical cascade;
drop sequence if exists PropuestaMusicalSequence;
|
with age_gender as (
select * from {{ref('fb_ads_insights_age_gender')}}
)
select
date_day,
account_id,
account_name,
ad_id,
adset_id,
campaign_id,
max(objective) as objective,
'gender' as segment_type,
gender as segment,
sum(impressions) as impressions,
sum(clicks) as clicks,
sum(spend) as spend,
sum(app_store_clicks) as app_store_clicks,
sum(call_to_action_clicks) as call_to_action_clicks,
sum(deeplink_clicks) as deeplink_clicks,
sum(inline_link_clicks) as inline_link_clicks,
sum(social_clicks) as social_clicks,
sum(social_impressions) as social_impressions,
sum(total_action_value) as total_action_value,
sum(total_actions) as total_actions,
sum(website_clicks) as website_clicks
from
age_gender
group by
1, 2, 3, 4, 5, 6, 8, 9
|
/*
Navicat Premium Data Transfer
Source Server : 127.0.0.1
Source Server Type : MySQL
Source Server Version : 50722
Source Host : 127.0.0.1:3306
Source Schema : zuihou_column
Target Server Type : MySQL
Target Server Version : 50722
File Encoding : 65001
Date: 05/09/2020 17:34:02
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for c_auth_application
-- ----------------------------
DROP TABLE IF EXISTS `c_auth_application`;
CREATE TABLE `c_auth_application` (
`id` bigint(20) NOT NULL COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`client_id` varchar(24) DEFAULT NULL COMMENT '客户端ID',
`client_secret` varchar(32) DEFAULT NULL COMMENT '客户端密码',
`website` varchar(100) DEFAULT '' COMMENT '官网',
`name` varchar(255) NOT NULL DEFAULT '' COMMENT '应用名称',
`icon` varchar(255) DEFAULT '' COMMENT '应用图标',
`app_type` varchar(10) DEFAULT NULL COMMENT '类型\n#{SERVER:服务应用;APP:手机应用;PC:PC网页应用;WAP:手机网页应用}\n',
`describe_` varchar(200) DEFAULT '' COMMENT '备注',
`status` bit(1) DEFAULT b'1' COMMENT '是否启用',
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人id',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(20) DEFAULT NULL COMMENT '更新人id',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE,
KEY `UN_APP_KEY` (`client_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='应用';
-- ----------------------------
-- Records of c_auth_application
-- ----------------------------
BEGIN;
INSERT INTO `c_auth_application` VALUES (1, '0000', 'zuihou_ui', 'zuihou_ui_secret', 'http://tangyh.top:10000/zuihou-ui/', 'SaaS微服务管理后台', '', 'PC', '内置', b'1', 1, '2020-04-02 15:05:14', 1, '2020-04-02 15:05:17');
INSERT INTO `c_auth_application` VALUES (2, '0000', 'zuihou_admin_ui', 'zuihou_admin_ui_secret', 'http://tangyh.top:180/zuihou-admin-ui/', 'SaaS微服务超级管理后台', '', 'PC', '内置', b'1', 1, '2020-04-02 15:05:22', 1, '2020-04-02 15:05:19');
COMMIT;
-- ----------------------------
-- Table structure for c_auth_menu
-- ----------------------------
DROP TABLE IF EXISTS `c_auth_menu`;
CREATE TABLE `c_auth_menu` (
`id` bigint(20) NOT NULL COMMENT '主键',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`label` varchar(20) NOT NULL DEFAULT '' COMMENT '名称',
`describe_` varchar(200) DEFAULT '' COMMENT '描述',
`is_public` bit(1) DEFAULT b'0' COMMENT '公共菜单\nTrue是无需分配所有人就可以访问的',
`path` varchar(255) DEFAULT '' COMMENT '路径',
`component` varchar(255) DEFAULT NULL COMMENT '组件',
`is_enable` bit(1) DEFAULT b'1' COMMENT '状态',
`sort_value` int(11) DEFAULT '1' COMMENT '排序',
`icon` varchar(255) DEFAULT '' COMMENT '菜单图标',
`group_` varchar(20) DEFAULT '' COMMENT '分组',
`parent_id` bigint(20) DEFAULT '0' COMMENT '父级菜单ID',
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人id',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(20) DEFAULT NULL COMMENT '更新人id',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE,
KEY `INX_STATUS` (`is_enable`,`is_public`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='菜单';
-- ----------------------------
-- Records of c_auth_menu
-- ----------------------------
BEGIN;
INSERT INTO `c_auth_menu` VALUES (101, '0000', '用户中心', '用户组织机构', b'0', '/user', 'Layout', b'1', 1, 'el-icon-user-solid', '', 0, 1, '2019-07-25 15:35:12', 3, '2019-11-11 14:32:02');
INSERT INTO `c_auth_menu` VALUES (102, '0000', '权限管理', '管理权限相关', b'0', '/auth', 'Layout', b'1', 2, 'el-icon-lock', '', 0, 1, '2019-07-27 11:48:49', 3, '2019-11-11 14:35:39');
INSERT INTO `c_auth_menu` VALUES (103, '0000', '基础配置', '基础的配置', b'0', '/base', 'Layout', b'1', 3, 'el-icon-set-up', '', 0, 1, '2019-11-11 14:38:29', 3, '2019-11-11 14:35:42');
INSERT INTO `c_auth_menu` VALUES (104, '0000', '开发者管理', '开发者', b'0', '/developer', 'Layout', b'1', 4, 'el-icon-user-solid', '', 0, 1, '2019-11-11 14:38:34', 3, '2019-11-11 14:35:44');
INSERT INTO `c_auth_menu` VALUES (105, '0000', '消息中心', '站内信', b'0', '/msgs', 'Layout', b'1', 5, 'el-icon-chat-line-square', '', 0, 1, '2019-11-11 14:38:32', 3, '2019-11-11 14:35:47');
INSERT INTO `c_auth_menu` VALUES (106, '0000', '短信中心', '短信接口', b'0', '/sms', 'Layout', b'1', 6, 'el-icon-chat-line-round', '', 0, 1, '2019-11-11 14:38:36', 3, '2019-11-11 14:35:49');
INSERT INTO `c_auth_menu` VALUES (107, '0000', '文件中心', '附件接口', b'0', '/file', 'Layout', b'1', 7, 'el-icon-folder-add', '', 0, 1, '2019-11-11 14:38:38', 3, '2019-11-11 14:35:51');
INSERT INTO `c_auth_menu` VALUES (603976297063910529, '0000', '菜单配置', '', b'0', '/auth/menu', 'zuihou/auth/menu/Index', b'1', 0, '', '', 102, 1, '2019-07-25 15:46:11', 3, '2019-11-11 14:31:52');
INSERT INTO `c_auth_menu` VALUES (603981723864141121, '0000', '角色管理', '', b'0', '/auth/role', 'zuihou/auth/role/Index', b'1', 1, '', '', 102, 1, '2019-07-25 16:07:45', 3, '2019-11-11 14:31:57');
INSERT INTO `c_auth_menu` VALUES (603982542332235201, '0000', '组织管理', '', b'0', '/user/org', 'zuihou/user/org/Index', b'1', 0, '', '', 101, 1, '2019-07-25 16:11:00', 3, '2019-11-11 14:28:40');
INSERT INTO `c_auth_menu` VALUES (603982713849908801, '0000', '岗位管理', '', b'0', '/user/station', 'zuihou/user/station/Index', b'1', 1, '', '', 101, 1, '2019-07-25 16:11:41', 3, '2019-11-11 14:28:43');
INSERT INTO `c_auth_menu` VALUES (603983082961243905, '0000', '用户管理', '', b'0', '/user/user', 'zuihou/user/user/Index', b'1', 2, '', '', 101, 1, '2019-07-25 16:13:09', 3, '2019-11-11 14:28:49');
INSERT INTO `c_auth_menu` VALUES (605078371293987105, '0000', '数据字典维护', '', b'0', '/base/dict', 'zuihou/base/dict/Index', b'1', 0, '', '', 103, 1, '2019-07-28 16:45:26', 3, '2019-11-11 14:34:23');
INSERT INTO `c_auth_menu` VALUES (605078463069552993, '0000', '地区信息维护', '', b'0', '/base/area', 'zuihou/base/area/Index', b'1', 1, '', '', 103, 1, '2019-07-28 16:45:48', 3, '2019-11-11 14:34:26');
INSERT INTO `c_auth_menu` VALUES (605078538881597857, '0000', '应用管理', '', b'0', '/developer/application', 'zuihou/developer/application/Index', b'1', 0, '', '', 104, 1, '2019-07-28 16:46:06', 3, '2019-12-25 16:19:43');
INSERT INTO `c_auth_menu` VALUES (605078672772170209, '0000', '操作日志', '', b'0', '/developer/optLog', 'zuihou/developer/optLog/Index', b'1', 3, '', '', 104, 1, '2019-07-28 16:46:38', 3, '2019-11-11 14:35:14');
INSERT INTO `c_auth_menu` VALUES (605078979149300257, '0000', '数据库监控', '', b'0', '/developer/db', 'zuihou/developer/db/Index', b'1', 2, '', '', 104, 1, '2019-07-28 16:47:51', 3, '2019-11-16 16:35:50');
INSERT INTO `c_auth_menu` VALUES (605079239015793249, '0000', '接口文档', '', b'0', 'http://127.0.0.1:8760/api/gate/doc.html', 'Layout', b'1', 5, '', '', 104, 1, '2019-07-28 16:48:53', 3, '2019-11-16 10:55:03');
INSERT INTO `c_auth_menu` VALUES (605079411338773153, '0000', '注册&配置中心', '', b'0', 'http://127.0.0.1:8848/nacos', 'Layout', b'1', 6, '', '', 104, 1, '2019-07-28 16:49:34', 3, '2019-11-16 10:55:06');
INSERT INTO `c_auth_menu` VALUES (605079545585861345, '0000', '缓存监控', '', b'0', 'http://www.baidu.com', 'Layout', b'1', 7, '', '', 104, 1, '2019-07-28 16:50:06', 3, '2019-11-16 10:55:08');
INSERT INTO `c_auth_menu` VALUES (605079658416833313, '0000', '服务器监控', '', b'0', 'http://127.0.0.1:8762/zuihou-monitor', 'Layout', b'1', 8, '', '', 104, 1, '2019-07-28 16:50:33', 3, '2019-11-16 10:55:15');
INSERT INTO `c_auth_menu` VALUES (605079751035454305, '0000', '消息推送', '', b'0', '/msgs/sendMsgs', 'zuihou/msgs/sendMsgs/Index', b'1', 0, '', '', 105, 1, '2019-07-28 16:50:55', 3, '2019-11-11 14:28:30');
INSERT INTO `c_auth_menu` VALUES (605080023753294753, '0000', '我的消息', '', b'0', '/msgs/myMsgs', 'zuihou/msgs/myMsgs/Index', b'1', 1, '', '', 105, 1, '2019-07-28 16:52:00', 3, '2019-11-11 14:28:27');
INSERT INTO `c_auth_menu` VALUES (605080107379327969, '0000', '账号配置', '', b'0', '/sms/template', 'zuihou/sms/template/Index', b'1', 1, '', '', 106, 1, '2019-07-28 16:52:20', 3, '2019-11-21 19:53:17');
INSERT INTO `c_auth_menu` VALUES (605080359394083937, '0000', '短信管理', '', b'0', '/sms/manage', 'zuihou/sms/manage/Index', b'1', 0, '', '', 106, 1, '2019-07-28 16:53:20', 3, '2019-11-21 19:53:09');
INSERT INTO `c_auth_menu` VALUES (605080648767505601, '0000', '附件列表', '', b'0', '/file/attachment', 'zuihou/file/attachment/Index', b'1', 0, '', '', 107, 1, '2019-07-28 16:54:29', 3, '2019-11-11 14:28:07');
INSERT INTO `c_auth_menu` VALUES (605080816296396097, '0000', '定时调度中心', '', b'0', 'http://127.0.0.1:8767/zuihou-jobs-server', 'Layout', b'1', 9, '', '', 104, 1, '2019-07-28 16:55:09', 3, '2019-11-16 10:55:18');
INSERT INTO `c_auth_menu` VALUES (643464272629728001, '0000', '务必详看', '', b'1', '/doc', 'zuihou/doc/Index', b'1', 0, 'el-icon-notebook-1', '', 0, 3, '2019-11-11 14:57:18', 3, '2019-11-11 15:01:31');
INSERT INTO `c_auth_menu` VALUES (643464392888812545, '0000', '后端代码', '', b'1', 'https://github.com/zuihou/zuihou-admin-cloud', 'Layout', b'1', 1, '', '', 643464272629728001, 3, '2019-11-11 14:57:46', 3, '2019-11-11 15:00:05');
INSERT INTO `c_auth_menu` VALUES (643464517879071841, '0000', '租户平台-前端代码', '', b'1', 'https://github.com/zuihou/zuihou-ui', 'Layout', b'1', 2, '', '', 643464272629728001, 3, '2019-11-11 14:58:16', 3, '2019-11-11 15:00:09');
INSERT INTO `c_auth_menu` VALUES (643464706228487361, '0000', '运营平台-前端代码', '', b'1', 'https://github.com/zuihou/zuihou-admin-ui', 'Layout', b'1', 3, '', '', 643464272629728001, 3, '2019-11-11 14:59:01', 3, '2019-11-11 15:00:11');
INSERT INTO `c_auth_menu` VALUES (643464953478514081, '0000', '在线文档', '', b'1', 'https://www.kancloud.cn/zuihou/zuihou-admin-cloud', 'Layout', b'1', 0, '', '', 643464272629728001, 3, '2019-11-11 15:00:00', 3, '2019-11-11 15:01:36');
INSERT INTO `c_auth_menu` VALUES (643874916004790785, '0000', '运营平台演示地址', NULL, b'1', 'http://127.0.0.1:8081/zuihou-admin-ui', 'Layout', b'1', 4, NULL, NULL, 643464272629728001, 3, '2019-11-12 18:09:03', 641577229343523041, '2019-12-04 16:20:13');
INSERT INTO `c_auth_menu` VALUES (644111530555611361, '0000', '链路调用监控', '', b'0', 'http://127.0.0.1:8772/zipkin', 'Layout', b'1', 10, '', '', 104, 3, '2019-11-13 09:49:16', 3, '2019-11-13 09:56:51');
INSERT INTO `c_auth_menu` VALUES (645215230518909025, '0000', '登录日志', '', b'0', '/developer/loginLog', 'zuihou/developer/loginLog/Index', b'1', 4, '', '', 104, 3, '2019-11-16 10:54:59', 3, '2019-11-16 10:54:59');
INSERT INTO `c_auth_menu` VALUES (1225042542827929600, '0000', '参数配置', '', b'0', '/base/parameter', 'zuihou/base/parameter/Index', b'1', 3, '', '', 103, 3, '2020-02-05 21:04:37', 3, '2020-02-05 21:04:37');
INSERT INTO `c_auth_menu` VALUES (1291625710699413504, '0000', '网关管理', '', b'0', '/gateway', 'zuihou/gateway/Index', b'1', 10, 'el-icon-odometer', '', 0, 3, '2020-08-07 14:42:21', 3, '2020-08-07 14:42:21');
INSERT INTO `c_auth_menu` VALUES (1291625997229096960, '0000', '限流规则', '', b'0', '/gateway/ratelimiter', 'zuihou/gateway/ratelimiter/Index', b'1', 1, '', '', 1291625710699413504, 3, '2020-08-07 14:43:30', 3, '2020-08-07 14:57:56');
INSERT INTO `c_auth_menu` VALUES (1291626135842455552, '0000', '阻止访问', '', b'0', '/gateway/blocklist', 'zuihou/gateway/blocklist/Index', b'1', 2, '', '', 1291625710699413504, 3, '2020-08-07 14:44:03', 3, '2020-08-07 14:44:03');
COMMIT;
-- ----------------------------
-- Table structure for c_auth_resource
-- ----------------------------
DROP TABLE IF EXISTS `c_auth_resource`;
CREATE TABLE `c_auth_resource` (
`id` bigint(20) NOT NULL COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`code` varchar(50) DEFAULT '' COMMENT '编码\n规则:\n链接:\n数据列:\n按钮:',
`name` varchar(255) NOT NULL DEFAULT '' COMMENT '名称',
`menu_id` bigint(20) DEFAULT NULL COMMENT '菜单ID\n#c_auth_menu',
`describe_` varchar(255) DEFAULT '' COMMENT '描述',
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人id',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(20) DEFAULT NULL COMMENT '更新人id',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `UN_CODE` (`code`,`tenant_code`) USING BTREE COMMENT '编码唯一'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='资源';
-- ----------------------------
-- Records of c_auth_resource
-- ----------------------------
BEGIN;
INSERT INTO `c_auth_resource` VALUES (643444685339100193, '0000', 'org:add', '添加', 603982542332235201, '', 3, '2019-11-11 13:39:28', 3, '2019-11-11 13:39:50');
INSERT INTO `c_auth_resource` VALUES (643444685339100194, '0000', 'role:config', '配置', 603981723864141121, '', 3, '2019-11-11 13:39:28', 3, '2019-11-11 13:39:50');
INSERT INTO `c_auth_resource` VALUES (643444685339100195, '0000', 'resource:add', '添加', 603976297063910529, '', 3, '2019-11-11 13:39:28', 3, '2019-11-11 13:39:50');
INSERT INTO `c_auth_resource` VALUES (643444685339100196, '0000', 'resource:update', '修改', 603976297063910529, '', 3, '2019-11-11 13:39:28', 3, '2019-11-11 13:39:50');
INSERT INTO `c_auth_resource` VALUES (643444685339100197, '0000', 'resource:delete', '删除', 603976297063910529, '', 3, '2019-11-11 13:39:28', 3, '2019-11-11 13:39:50');
INSERT INTO `c_auth_resource` VALUES (643444685339100198, '0000', 'resource:view', '查看', 603976297063910529, '', 3, '2020-04-05 19:02:42', 3, '2020-04-05 19:02:46');
INSERT INTO `c_auth_resource` VALUES (643444819758154945, '0000', 'org:update', '修改', 603982542332235201, '', 3, '2019-11-11 13:40:00', 3, '2019-11-11 13:40:00');
INSERT INTO `c_auth_resource` VALUES (643444858974897441, '0000', 'org:delete', '删除', 603982542332235201, '', 3, '2019-11-11 13:40:09', 3, '2019-11-11 13:40:09');
INSERT INTO `c_auth_resource` VALUES (643444897201784193, '0000', 'org:view', '查询', 603982542332235201, '', 3, '2019-11-11 13:40:18', 3, '2019-11-11 13:40:18');
INSERT INTO `c_auth_resource` VALUES (643444992357959137, '0000', 'org:import', '导入', 603982542332235201, '', 3, '2019-11-11 13:40:41', 3, '2019-11-11 13:40:41');
INSERT INTO `c_auth_resource` VALUES (643445016773002817, '0000', 'org:export', '导出', 603982542332235201, '', 3, '2019-11-11 13:40:47', 3, '2019-11-11 13:40:47');
INSERT INTO `c_auth_resource` VALUES (643445116756821697, '0000', 'station:add', '添加', 603982713849908801, '', 3, '2019-11-11 13:41:11', 3, '2019-11-11 13:41:11');
INSERT INTO `c_auth_resource` VALUES (643445162915137313, '0000', 'station:update', '修改', 603982713849908801, '', 3, '2019-11-11 13:41:22', 3, '2019-11-11 13:41:22');
INSERT INTO `c_auth_resource` VALUES (643445197954353025, '0000', 'station:delete', '删除', 603982713849908801, '', 3, '2019-11-11 13:41:30', 3, '2019-11-11 13:41:30');
INSERT INTO `c_auth_resource` VALUES (643445229575210977, '0000', 'station:view', '查看', 603982713849908801, '', 3, '2019-11-11 13:41:38', 3, '2019-11-11 13:41:38');
INSERT INTO `c_auth_resource` VALUES (643445262110427201, '0000', 'station:export', '导出', 603982713849908801, '', 3, '2019-11-11 13:41:45', 3, '2019-11-11 13:41:45');
INSERT INTO `c_auth_resource` VALUES (643445283996305569, '0000', 'station:import', '导入', 603982713849908801, '', 3, '2019-11-11 13:41:51', 3, '2019-11-11 13:41:51');
INSERT INTO `c_auth_resource` VALUES (643445352703199521, '0000', 'user:add', '添加', 603983082961243905, '', 3, '2019-11-11 13:42:07', 3, '2019-11-11 13:42:07');
INSERT INTO `c_auth_resource` VALUES (643445412774021505, '0000', 'user:update', '修改', 603983082961243905, '', 3, '2019-11-11 13:42:21', 3, '2019-11-11 13:42:21');
INSERT INTO `c_auth_resource` VALUES (643445448081672673, '0000', 'user:delete', '删除', 603983082961243905, '', 3, '2019-11-11 13:42:30', 3, '2019-11-11 13:42:30');
INSERT INTO `c_auth_resource` VALUES (643445477274028609, '0000', 'user:view', '查看', 603983082961243905, '', 3, '2019-11-11 13:42:37', 3, '2019-11-11 13:42:37');
INSERT INTO `c_auth_resource` VALUES (643445514607528609, '0000', 'user:import', '导入', 603983082961243905, '', 3, '2019-11-11 13:42:46', 3, '2019-11-11 13:42:46');
INSERT INTO `c_auth_resource` VALUES (643445542076025601, '0000', 'user:export', '导出', 603983082961243905, '', 3, '2019-11-11 13:42:52', 3, '2019-11-11 13:42:52');
INSERT INTO `c_auth_resource` VALUES (643445641149680705, '0000', 'menu:add', '添加', 603976297063910529, '', 3, '2019-11-11 13:43:16', 3, '2019-11-11 13:43:16');
INSERT INTO `c_auth_resource` VALUES (643445674330819745, '0000', 'menu:update', '修改', 603976297063910529, '', 3, '2019-11-11 13:43:24', 3, '2019-11-11 13:43:24');
INSERT INTO `c_auth_resource` VALUES (643445704177487105, '0000', 'menu:delete', '删除', 603976297063910529, '', 3, '2019-11-11 13:43:31', 3, '2019-11-11 13:43:31');
INSERT INTO `c_auth_resource` VALUES (643445747320098145, '0000', 'menu:view', '查看', 603976297063910529, '', 3, '2019-11-11 13:43:41', 3, '2019-11-11 13:43:41');
INSERT INTO `c_auth_resource` VALUES (643445774687931841, '0000', 'menu:export', '导出', 603976297063910529, '', 3, '2019-11-11 13:43:48', 3, '2019-11-11 13:43:48');
INSERT INTO `c_auth_resource` VALUES (643445802106097185, '0000', 'menu:import', '导入', 603976297063910529, '', 3, '2019-11-11 13:43:54', 3, '2019-11-11 13:43:54');
INSERT INTO `c_auth_resource` VALUES (643448338154263521, '0000', 'role:add', '添加', 603981723864141121, '', 3, '2019-11-11 13:53:59', 3, '2019-11-11 13:53:59');
INSERT INTO `c_auth_resource` VALUES (643448369779315777, '0000', 'role:update', '修改', 603981723864141121, '', 3, '2019-11-11 13:54:06', 3, '2019-11-11 13:54:06');
INSERT INTO `c_auth_resource` VALUES (643448507767723169, '0000', 'role:delete', '删除', 603981723864141121, '', 3, '2019-11-11 13:54:39', 3, '2019-11-11 13:54:39');
INSERT INTO `c_auth_resource` VALUES (643448611161511169, '0000', 'role:view', '查看', 603981723864141121, '', 3, '2019-11-11 13:55:04', 3, '2019-11-11 13:55:04');
INSERT INTO `c_auth_resource` VALUES (643448656451605857, '0000', 'role:export', '导出', 603981723864141121, '', 3, '2019-11-11 13:55:15', 3, '2019-11-11 13:55:15');
INSERT INTO `c_auth_resource` VALUES (643448730950833601, '0000', 'role:import', '导入', 603981723864141121, '', 3, '2019-11-11 13:55:32', 3, '2019-11-11 13:55:32');
INSERT INTO `c_auth_resource` VALUES (643448826945869409, '0000', 'role:auth', '授权', 603981723864141121, '', 3, '2019-11-11 13:55:55', 3, '2019-11-11 13:55:55');
INSERT INTO `c_auth_resource` VALUES (643449540959016737, '0000', 'dict:add', '添加', 605078371293987105, '', 3, '2019-11-11 13:58:45', 3, '2019-11-11 13:58:45');
INSERT INTO `c_auth_resource` VALUES (643449573045442433, '0000', 'dict:update', '修改', 605078371293987105, '', 3, '2019-11-11 13:58:53', 3, '2019-11-11 13:58:53');
INSERT INTO `c_auth_resource` VALUES (643449629173618657, '0000', 'dict:view', '查看', 605078371293987105, '', 3, '2019-11-11 13:59:07', 3, '2019-11-11 13:59:07');
INSERT INTO `c_auth_resource` VALUES (643449944866297985, '0000', 'dict:delete', '删除', 605078371293987105, '', 3, '2019-11-11 14:00:22', 3, '2019-11-11 14:00:22');
INSERT INTO `c_auth_resource` VALUES (643449998909905121, '0000', 'dict:export', '导出', 605078371293987105, '', 3, '2019-11-11 14:00:35', 3, '2019-11-11 14:00:35');
INSERT INTO `c_auth_resource` VALUES (643450072595437889, '0000', 'dict:import', '导入', 605078371293987105, '', 3, '2019-11-11 14:00:52', 3, '2019-11-11 14:00:52');
INSERT INTO `c_auth_resource` VALUES (643450171333548481, '0000', 'area:add', '添加', 605078463069552993, '', 3, '2019-11-11 14:01:16', 3, '2019-11-11 14:01:16');
INSERT INTO `c_auth_resource` VALUES (643450210449627681, '0000', 'area:update', '修改', 605078463069552993, '', 3, '2019-11-11 14:01:25', 3, '2019-11-11 14:01:25');
INSERT INTO `c_auth_resource` VALUES (643450295858240129, '0000', 'area:delete', '删除', 605078463069552993, '', 3, '2019-11-11 14:01:45', 3, '2019-11-11 14:01:45');
INSERT INTO `c_auth_resource` VALUES (643450326619265761, '0000', 'area:view', '查看', 605078463069552993, '', 3, '2019-11-11 14:01:53', 3, '2019-11-11 14:01:53');
INSERT INTO `c_auth_resource` VALUES (643450551291353921, '0000', 'area:export', '导出', 605078463069552993, '', 3, '2019-11-11 14:02:46', 3, '2019-11-11 14:02:46');
INSERT INTO `c_auth_resource` VALUES (643450602218593185, '0000', 'area:import', '导入', 605078463069552993, '', 3, '2019-11-11 14:02:59', 3, '2019-11-11 14:02:59');
INSERT INTO `c_auth_resource` VALUES (643450770317909249, '0000', 'optLog:view', '查看', 605078672772170209, '', 3, '2019-11-11 14:03:39', 3, '2019-11-11 14:03:39');
INSERT INTO `c_auth_resource` VALUES (643450853134441825, '0000', 'optLog:export', '导出', 605078672772170209, '', 3, '2019-11-11 14:03:58', 3, '2019-11-11 14:03:58');
INSERT INTO `c_auth_resource` VALUES (643451893279892129, '0000', 'msgs:view', '查看', 605080023753294753, '', 3, '2019-11-11 14:08:06', 3, '2019-11-11 14:08:06');
INSERT INTO `c_auth_resource` VALUES (643451945020826369, '0000', 'msgs:delete', '删除', 605080023753294753, '', 3, '2019-11-11 14:08:19', 3, '2019-11-11 14:08:19');
INSERT INTO `c_auth_resource` VALUES (643451994945626977, '0000', 'msgs:update', '修改', 605080023753294753, '', 3, '2019-11-11 14:08:31', 3, '2019-11-11 14:08:31');
INSERT INTO `c_auth_resource` VALUES (643452086981239745, '0000', 'msgs:export', '导出', 605080023753294753, '', 3, '2019-11-11 14:08:53', 3, '2019-11-11 14:08:53');
INSERT INTO `c_auth_resource` VALUES (643452393857492033, '0000', 'sms:template:add', '添加', 605080107379327969, '', 3, '2019-11-11 14:10:06', 3, '2019-11-11 14:10:06');
INSERT INTO `c_auth_resource` VALUES (643452429496493217, '0000', 'sms:template:update', '修改', 605080107379327969, '', 3, '2019-11-11 14:10:14', 3, '2019-11-11 14:10:14');
INSERT INTO `c_auth_resource` VALUES (643452458693043457, '0000', 'sms:template:view', '查看', 605080107379327969, '', 3, '2019-11-11 14:10:21', 3, '2019-11-11 14:10:21');
INSERT INTO `c_auth_resource` VALUES (643452488447436129, '0000', 'sms:template:delete', '删除', 605080107379327969, '', 3, '2019-11-11 14:10:28', 3, '2019-11-11 14:10:28');
INSERT INTO `c_auth_resource` VALUES (643452536954561985, '0000', 'sms:template:import', '导入', 605080107379327969, '', 3, '2019-11-11 14:10:40', 3, '2019-11-11 14:10:40');
INSERT INTO `c_auth_resource` VALUES (643452571645650465, '0000', 'sms:template:export', '导入', 605080107379327969, '', 3, '2019-11-11 14:10:48', 3, '2019-11-11 14:10:48');
INSERT INTO `c_auth_resource` VALUES (643454073500084577, '0000', 'sms:manage:add', '添加', 605080359394083937, '', 3, '2019-11-11 14:16:46', 3, '2019-11-11 14:16:46');
INSERT INTO `c_auth_resource` VALUES (643454110992968129, '0000', 'sms:manage:update', '修改', 605080359394083937, '', 3, '2019-11-11 14:16:55', 3, '2019-11-11 14:16:55');
INSERT INTO `c_auth_resource` VALUES (643454150905965089, '0000', 'sms:manage:view', '查看', 605080359394083937, '', 3, '2019-11-11 14:17:05', 3, '2019-11-11 14:17:05');
INSERT INTO `c_auth_resource` VALUES (643454825052252961, '0000', 'sms:manage:delete', '删除', 605080359394083937, '', 3, '2019-11-11 14:19:45', 3, '2019-11-11 14:19:45');
INSERT INTO `c_auth_resource` VALUES (643455175503129569, '0000', 'sms:manage:export', '导出', 605080359394083937, '', 3, '2019-11-11 14:21:09', 3, '2019-11-11 14:26:05');
INSERT INTO `c_auth_resource` VALUES (643455720519380097, '0000', 'sms:manage:import', '导入', 605080359394083937, '', 3, '2019-11-11 14:23:19', 3, '2019-11-11 14:23:19');
INSERT INTO `c_auth_resource` VALUES (643456690892582401, '0000', 'file:add', '添加', 605080648767505601, '', 3, '2019-11-11 14:27:10', 3, '2019-11-11 14:27:10');
INSERT INTO `c_auth_resource` VALUES (643456724186967649, '0000', 'file:update', '修改', 605080648767505601, '', 3, '2019-11-11 14:27:18', 3, '2019-11-11 14:27:18');
INSERT INTO `c_auth_resource` VALUES (643456761927315137, '0000', 'file:delete', '删除', 605080648767505601, '', 3, '2019-11-11 14:27:27', 3, '2019-11-11 14:27:27');
INSERT INTO `c_auth_resource` VALUES (643456789920100129, '0000', 'file:view', '查看', 605080648767505601, '', 3, '2019-11-11 14:27:34', 3, '2019-11-11 14:27:34');
INSERT INTO `c_auth_resource` VALUES (643456884694593409, '0000', 'file:download', '下载', 605080648767505601, '', 3, '2019-11-11 14:27:56', 3, '2019-11-11 14:27:56');
INSERT INTO `c_auth_resource` VALUES (645288214990422241, '0000', 'optLog:delete', '删除', 605078672772170209, '', 3, '2019-11-16 15:45:00', 3, '2019-11-16 15:45:00');
INSERT INTO `c_auth_resource` VALUES (645288283693121889, '0000', 'loginLog:delete', '删除', 645215230518909025, '', 3, '2019-11-16 15:45:16', 3, '2019-11-16 15:45:16');
INSERT INTO `c_auth_resource` VALUES (645288375300915649, '0000', 'loginLog:export', '导出', 645215230518909025, '', 3, '2019-11-16 15:45:38', 3, '2019-11-16 15:45:38');
INSERT INTO `c_auth_resource` VALUES (658002570005972001, '0000', 'msgs:add', '新增', 605080023753294753, '', 3, '2019-12-21 17:47:18', 3, '2019-12-21 17:47:18');
INSERT INTO `c_auth_resource` VALUES (658002632467547265, '0000', 'msgs:mark', '标记已读', 605080023753294753, '', 3, '2019-12-21 17:47:33', 3, '2019-12-21 17:47:33');
INSERT INTO `c_auth_resource` VALUES (659702641965662497, '0000', 'application:add', '新增', 605078538881597857, '', 3, '2019-12-26 10:22:47', 3, '2019-12-26 10:22:47');
INSERT INTO `c_auth_resource` VALUES (659702674622513537, '0000', 'application:update', '修改', 605078538881597857, '', 3, '2019-12-26 10:22:55', 3, '2019-12-26 10:22:55');
INSERT INTO `c_auth_resource` VALUES (659702756889592289, '0000', 'application:delete', '删除', 605078538881597857, '', 3, '2019-12-26 10:23:14', 3, '2019-12-26 10:23:14');
INSERT INTO `c_auth_resource` VALUES (659702791312245313, '0000', 'application:view', '查看', 605078538881597857, '', 3, '2019-12-26 10:23:22', 3, '2019-12-26 10:23:22');
INSERT INTO `c_auth_resource` VALUES (659702853945787041, '0000', 'application:export', '导出', 605078538881597857, '', 3, '2019-12-26 10:23:37', 3, '2019-12-26 10:23:37');
INSERT INTO `c_auth_resource` VALUES (1225042691843162112, '0000', 'parameter:add', '添加', 1225042542827929600, '', 3, '2020-02-05 21:05:13', 3, '2020-02-05 21:05:13');
INSERT INTO `c_auth_resource` VALUES (1225042821497487360, '0000', 'parameter:update', '修改', 1225042542827929600, '', 3, '2020-02-05 21:05:43', 3, '2020-02-05 21:05:43');
INSERT INTO `c_auth_resource` VALUES (1225042949172101120, '0000', 'parameter:delete', '删除', 1225042542827929600, '', 3, '2020-02-05 21:06:14', 3, '2020-02-05 21:06:14');
INSERT INTO `c_auth_resource` VALUES (1225043012455759872, '0000', 'parameter:export', '导出', 1225042542827929600, '', 3, '2020-02-05 21:06:29', 3, '2020-02-05 21:06:29');
INSERT INTO `c_auth_resource` VALUES (1237035586045345792, '0000', 'parameter:import', '导入', 1225042542827929600, '', 3, '2020-03-09 23:20:41', 3, '2020-03-09 23:20:41');
INSERT INTO `c_auth_resource` VALUES (1237035798587506688, '0000', 'msgs:import', '导入', 605080023753294753, '', 3, '2020-03-09 23:21:32', 3, '2020-03-09 23:21:32');
INSERT INTO `c_auth_resource` VALUES (1246066924136169472, '0000', 'parameter:view', '查看', 1225042542827929600, '', 3, '2020-04-03 21:28:00', 3, '2020-04-03 21:28:00');
INSERT INTO `c_auth_resource` VALUES (1246067318035841024, '0000', 'loginLog:view', '查看', 645215230518909025, '', 3, '2020-04-03 21:29:34', 3, '2020-04-03 21:29:34');
COMMIT;
-- ----------------------------
-- Table structure for c_auth_role
-- ----------------------------
DROP TABLE IF EXISTS `c_auth_role`;
CREATE TABLE `c_auth_role` (
`id` bigint(20) NOT NULL,
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`name` varchar(30) NOT NULL DEFAULT '' COMMENT '名称',
`code` varchar(20) DEFAULT '' COMMENT '编码',
`describe_` varchar(100) DEFAULT '' COMMENT '描述',
`status` bit(1) DEFAULT b'1' COMMENT '状态',
`readonly` bit(1) DEFAULT b'0' COMMENT '是否内置角色',
`ds_type` varchar(20) NOT NULL DEFAULT 'SELF' COMMENT '数据权限类型\n#DataScopeType{ALL:1,全部;THIS_LEVEL:2,本级;THIS_LEVEL_CHILDREN:3,本级以及子级;CUSTOMIZE:4,自定义;SELF:5,个人;}',
`create_user` bigint(20) DEFAULT '0' COMMENT '创建人id',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(20) DEFAULT '0' COMMENT '更新人id',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `UN_CODE` (`code`,`tenant_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色';
-- ----------------------------
-- Records of c_auth_role
-- ----------------------------
BEGIN;
INSERT INTO `c_auth_role` VALUES (100, '0000', '平台管理员', 'PT_ADMIN', '平台内置管理员', b'1', b'1', 'ALL', 1, '2019-10-25 13:46:00', 3, '2020-02-13 11:05:28');
COMMIT;
-- ----------------------------
-- Table structure for c_auth_role_authority
-- ----------------------------
DROP TABLE IF EXISTS `c_auth_role_authority`;
CREATE TABLE `c_auth_role_authority` (
`id` bigint(20) NOT NULL COMMENT '主键',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`authority_id` bigint(20) NOT NULL COMMENT '资源id\n#c_auth_resource\n#c_auth_menu',
`authority_type` varchar(10) NOT NULL DEFAULT 'MENU' COMMENT '权限类型\n#AuthorizeType{MENU:菜单;RESOURCE:资源;}',
`role_id` bigint(20) NOT NULL COMMENT '角色id\n#c_auth_role',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`create_user` bigint(20) DEFAULT '0' COMMENT '创建人',
PRIMARY KEY (`id`) USING BTREE,
KEY `IDX_KEY` (`role_id`,`authority_type`,`authority_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色的资源';
-- ----------------------------
-- Records of c_auth_role_authority
-- ----------------------------
BEGIN;
INSERT INTO `c_auth_role_authority` VALUES (643444685339100198, '0000', 643444685339100198, 'RESOURCE', 100, '2020-04-05 19:03:08', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572630093824, '0000', 643445116756821697, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572646871040, '0000', 643444685339100197, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572651065344, '0000', 643444685339100196, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572651065345, '0000', 643450072595437889, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572651065346, '0000', 643444685339100193, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572659453952, '0000', 643444685339100195, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572659453953, '0000', 659702853945787041, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572663648256, '0000', 643444685339100194, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572663648257, '0000', 1225042949172101120, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572667842560, '0000', 643445197954353025, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572667842561, '0000', 1246067318035841024, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572667842562, '0000', 1232574830335754240, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572672036864, '0000', 1225043012455759872, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572672036865, '0000', 643445262110427201, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572672036866, '0000', 643450853134441825, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572676231168, '0000', 643445774687931841, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572676231169, '0000', 1225984228617879552, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572676231170, '0000', 659702756889592289, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572680425472, '0000', 643450551291353921, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572680425473, '0000', 643452458693043457, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572680425474, '0000', 643454110992968129, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572684619776, '0000', 643445016773002817, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572684619777, '0000', 659430164874134689, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572684619778, '0000', 643445162915137313, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572688814080, '0000', 643445229575210977, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572688814081, '0000', 1225984389242945536, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572693008384, '0000', 643448369779315777, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572693008385, '0000', 643454825052252961, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572697202688, '0000', 643456884694593409, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572697202689, '0000', 643445704177487105, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572697202690, '0000', 659045058871296641, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572701396992, '0000', 658002570005972001, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572701396993, '0000', 643451893279892129, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572701396994, '0000', 643445283996305569, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572705591296, '0000', 643451994945626977, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572705591297, '0000', 643445542076025601, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572705591298, '0000', 645288214990422241, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572709785600, '0000', 643450602218593185, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572709785601, '0000', 643450326619265761, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572709785602, '0000', 643456724186967649, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572713979904, '0000', 643445448081672673, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572713979905, '0000', 643448611161511169, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572713979906, '0000', 643445802106097185, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572718174208, '0000', 643448826945869409, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572718174209, '0000', 643452536954561985, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572718174210, '0000', 1225984359173980160, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572718174211, '0000', 643445514607528609, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572722368512, '0000', 1246066924136169472, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572722368513, '0000', 643448507767723169, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572726562816, '0000', 643450295858240129, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572726562817, '0000', 643449998909905121, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572726562818, '0000', 645288283693121889, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572726562819, '0000', 643444897201784193, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572730757120, '0000', 643448730950833601, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572730757121, '0000', 643456690892582401, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572730757122, '0000', 643445412774021505, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572734951424, '0000', 1237035586045345792, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572734951425, '0000', 643448656451605857, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572734951426, '0000', 643450171333548481, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572734951427, '0000', 643456761927315137, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572739145728, '0000', 643445477274028609, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572739145729, '0000', 1225984257483079680, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572739145730, '0000', 643445352703199521, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572739145731, '0000', 643445747320098145, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572743340032, '0000', 643452571645650465, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572743340033, '0000', 643444858974897441, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572743340034, '0000', 643449944866297985, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572747534336, '0000', 643450770317909249, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572747534337, '0000', 1225984321857257472, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572747534338, '0000', 643455720519380097, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572751728640, '0000', 643450210449627681, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572751728641, '0000', 659045100646564577, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572751728642, '0000', 643444992357959137, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572755922944, '0000', 643456789920100129, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572755922945, '0000', 659702641965662497, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572755922946, '0000', 658002632467547265, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572760117248, '0000', 643445641149680705, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572760117249, '0000', 643444819758154945, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572764311552, '0000', 643449629173618657, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572764311553, '0000', 643451945020826369, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572764311554, '0000', 643448338154263521, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572768505856, '0000', 643449573045442433, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572768505857, '0000', 1225042691843162112, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572768505858, '0000', 659702791312245313, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572768505859, '0000', 659045207890723745, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572772700160, '0000', 643452429496493217, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572772700161, '0000', 643454073500084577, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572772700162, '0000', 643455175503129569, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572772700163, '0000', 643445674330819745, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572776894464, '0000', 643452393857492033, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572776894465, '0000', 1237035798587506688, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572776894466, '0000', 643454150905965089, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572781088768, '0000', 643452086981239745, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572781088769, '0000', 645288375300915649, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572781088770, '0000', 643452488447436129, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572781088771, '0000', 659702674622513537, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572785283072, '0000', 1225042821497487360, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572785283073, '0000', 659045145735332673, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572785283074, '0000', 643449540959016737, 'RESOURCE', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572785283075, '0000', 645215230518909025, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572789477376, '0000', 605079411338773153, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572789477377, '0000', 605080648767505601, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572789477378, '0000', 603983082961243905, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572793671680, '0000', 603982542332235201, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572793671681, '0000', 603981723864141121, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572793671682, '0000', 605424535633666945, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572797865984, '0000', 605078371293987105, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572797865985, '0000', 644111530555611361, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572797865986, '0000', 605079751035454305, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572802060288, '0000', 605080023753294753, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572802060289, '0000', 605079239015793249, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572802060290, '0000', 605078672772170209, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572802060291, '0000', 603976297063910529, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572806254592, '0000', 605079545585861345, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572806254593, '0000', 605080107379327969, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572806254594, '0000', 605078979149300257, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572806254595, '0000', 101, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572810448896, '0000', 605080359394083937, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572810448897, '0000', 102, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572810448898, '0000', 103, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572810448899, '0000', 104, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572814643200, '0000', 105, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572814643201, '0000', 106, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572814643202, '0000', 107, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572814643203, '0000', 605078463069552993, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572818837504, '0000', 605080816296396097, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572818837505, '0000', 1225042542827929600, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572818837506, '0000', 603982713849908801, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572823031808, '0000', 605079658416833313, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1246067572823031809, '0000', 605078538881597857, 'MENU', 100, '2020-04-03 21:30:35', 3);
INSERT INTO `c_auth_role_authority` VALUES (1291627753803612165, '0000', 1291626135842455552, 'MENU', 100, '2020-08-07 14:50:28', 3);
INSERT INTO `c_auth_role_authority` VALUES (1291627753853943808, '0000', 1291625710699413504, 'MENU', 100, '2020-08-07 14:50:28', 3);
INSERT INTO `c_auth_role_authority` VALUES (1291627753862332417, '0000', 1291625997229096960, 'MENU', 100, '2020-08-07 14:50:28', 3);
COMMIT;
-- ----------------------------
-- Table structure for c_auth_role_org
-- ----------------------------
DROP TABLE IF EXISTS `c_auth_role_org`;
CREATE TABLE `c_auth_role_org` (
`id` bigint(20) NOT NULL COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`role_id` bigint(20) DEFAULT NULL COMMENT '角色ID\n#c_auth_role',
`org_id` bigint(20) DEFAULT NULL COMMENT '部门ID\n#c_core_org',
`create_time` datetime DEFAULT NULL,
`create_user` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色组织关系';
-- ----------------------------
-- Records of c_auth_role_org
-- ----------------------------
BEGIN;
INSERT INTO `c_auth_role_org` VALUES (1227790863468331008, '0000', 100, 100, '2020-02-13 11:05:28', 3);
INSERT INTO `c_auth_role_org` VALUES (1227790863493496832, '0000', 100, 101, '2020-02-13 11:05:28', 3);
INSERT INTO `c_auth_role_org` VALUES (1227790863497691136, '0000', 100, 102, '2020-02-13 11:05:28', 3);
INSERT INTO `c_auth_role_org` VALUES (1227790863497691137, '0000', 100, 643775612976106881, '2020-02-13 11:05:28', 3);
INSERT INTO `c_auth_role_org` VALUES (1227790863501885440, '0000', 100, 643775664683486689, '2020-02-13 11:05:28', 3);
INSERT INTO `c_auth_role_org` VALUES (1227790863501885441, '0000', 100, 643775904077582049, '2020-02-13 11:05:28', 3);
INSERT INTO `c_auth_role_org` VALUES (1227790863506079744, '0000', 100, 643776324342648929, '2020-02-13 11:05:28', 3);
INSERT INTO `c_auth_role_org` VALUES (1227790863506079745, '0000', 100, 643776407691858113, '2020-02-13 11:05:28', 3);
INSERT INTO `c_auth_role_org` VALUES (1227790863510274048, '0000', 100, 643776508795556193, '2020-02-13 11:05:28', 3);
INSERT INTO `c_auth_role_org` VALUES (1227790863514468352, '0000', 100, 643776594376135105, '2020-02-13 11:05:28', 3);
INSERT INTO `c_auth_role_org` VALUES (1227790863514468353, '0000', 100, 643776633823564321, '2020-02-13 11:05:28', 3);
INSERT INTO `c_auth_role_org` VALUES (1227790863514468354, '0000', 100, 643776668917305985, '2020-02-13 11:05:28', 3);
INSERT INTO `c_auth_role_org` VALUES (1227790863518662656, '0000', 100, 643776713909605089, '2020-02-13 11:05:28', 3);
INSERT INTO `c_auth_role_org` VALUES (1227790863518662657, '0000', 100, 643776757199016769, '2020-02-13 11:05:28', 3);
COMMIT;
-- ----------------------------
-- Table structure for c_auth_user
-- ----------------------------
DROP TABLE IF EXISTS `c_auth_user`;
CREATE TABLE `c_auth_user` (
`id` bigint(20) NOT NULL COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`account` varchar(30) NOT NULL COMMENT '账号',
`name` varchar(50) NOT NULL COMMENT '姓名',
`org_id` bigint(20) DEFAULT NULL COMMENT '组织ID\n#c_core_org\n@InjectionField(api = ORG_ID_CLASS, method = ORG_ID_METHOD, beanClass = Org.class) RemoteData<Long, com.github.zuihou.authority.entity.core.Org>',
`station_id` bigint(20) DEFAULT NULL COMMENT '岗位ID\n#c_core_station\n@InjectionField(api = STATION_ID_CLASS, method = STATION_ID_NAME_METHOD) RemoteData<Long, String>',
`readonly` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否内置',
`email` varchar(255) DEFAULT NULL COMMENT '邮箱',
`mobile` varchar(20) DEFAULT '' COMMENT '手机',
`sex` varchar(1) DEFAULT 'N' COMMENT '性别\n#Sex{W:女;M:男;N:未知}',
`status` bit(1) DEFAULT b'0' COMMENT '状态 \n1启用 0禁用',
`avatar` varchar(255) DEFAULT '' COMMENT '头像',
`nation` varchar(20) DEFAULT NULL COMMENT '民族\n@InjectionField(api = DICTIONARY_ITEM_CLASS, method = DICTIONARY_ITEM_METHOD, dictType = DictionaryType.NATION) RemoteData<String, String>\n',
`education` varchar(20) DEFAULT NULL COMMENT '学历\n@InjectionField(api = DICTIONARY_ITEM_CLASS, method = DICTIONARY_ITEM_METHOD, dictType = DictionaryType.EDUCATION) RemoteData<String, String>',
`position_status` varchar(20) DEFAULT NULL COMMENT '职位状态\n@InjectionField(api = DICTIONARY_ITEM_CLASS, method = DICTIONARY_ITEM_METHOD, dictType = DictionaryType.POSITION_STATUS) RemoteData<String, String>',
`work_describe` varchar(255) DEFAULT '' COMMENT '工作描述\r\n比如: 市长、管理员、局长等等 用于登陆展示',
`password_error_last_time` datetime DEFAULT NULL COMMENT '最后一次输错密码时间',
`password_error_num` int(11) DEFAULT '0' COMMENT '密码错误次数',
`password_expire_time` datetime DEFAULT NULL COMMENT '密码过期时间',
`password` varchar(64) NOT NULL DEFAULT '' COMMENT '密码',
`last_login_time` datetime DEFAULT NULL COMMENT '最后登录时间',
`create_user` bigint(20) DEFAULT '0' COMMENT '创建人id',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(20) DEFAULT '0' COMMENT '更新人id',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `UN_ACCOUNT` (`account`,`tenant_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户';
-- ----------------------------
-- Records of c_auth_user
-- ----------------------------
BEGIN;
INSERT INTO `c_auth_user` VALUES (3, '0000', 'zuihou', '平台超管', 100, 100, b'0', '244387061@qq.com', '15218869991', 'W', b'1', 'cnrhVkzwxjPwAaCfPbdc.png', 'mz_hanz', 'BOSHI', 'WORKING', '疯狂加班111', '2020-04-04 18:59:08', 0, NULL, 'd9d17d88918aa72834289edaf38f42e2', '2020-04-04 18:59:08', 1, '2019-09-02 11:32:02', 3, '2020-04-03 22:01:34');
INSERT INTO `c_auth_user` VALUES (641577229343523041, '0000', 'test', '总经理', 102, 100, b'0', '', '', 'N', b'1', 'http://127.0.0.1:10000/file/0000/2019/11/c8df3238-ebca-42b3-baeb-37896468f028.png', 'mz_zz', 'COLLEGE', 'WORKING', '', '2019-12-21 16:45:13', 0, NULL, 'd9d17d88918aa72834289edaf38f42e2', '2019-12-21 16:45:14', 3, '2019-11-06 09:58:56', 3, '2019-11-26 11:02:42');
INSERT INTO `c_auth_user` VALUES (641590096981656001, '0000', 'manong', '码农', 643776594376135105, 642032719487828225, b'0', '', '', 'M', b'1', 'http://192.168.1.34:10000/file/0000/2019/11/6a759cd8-40f6-46d2-9487-6bd18a6695f2.jpg', 'mz_mz', 'ZHUANKE', 'LEAVE', '122', '2020-02-22 12:32:35', 0, NULL, 'd9d17d88918aa72834289edaf38f42e2', '2020-02-22 12:32:35', 3, '2019-11-06 10:50:01', 3, '2019-11-26 20:27:48');
COMMIT;
-- ----------------------------
-- Table structure for c_auth_user_role
-- ----------------------------
DROP TABLE IF EXISTS `c_auth_user_role`;
CREATE TABLE `c_auth_user_role` (
`id` bigint(20) NOT NULL,
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`role_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '角色ID\n#c_auth_role',
`user_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '用户ID\n#c_core_accou',
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人ID',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`) USING BTREE,
KEY `IDX_KEY` (`role_id`,`user_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色分配\r\n账号角色绑定';
-- ----------------------------
-- Records of c_auth_user_role
-- ----------------------------
BEGIN;
INSERT INTO `c_auth_user_role` VALUES (634707503061401697, '0000', 100, 3, 1, '2019-10-18 11:01:01');
COMMIT;
-- ----------------------------
-- Table structure for c_auth_user_token
-- ----------------------------
DROP TABLE IF EXISTS `c_auth_user_token`;
CREATE TABLE `c_auth_user_token` (
`id` bigint(20) NOT NULL COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`login_ip` varchar(50) DEFAULT NULL COMMENT '登录IP',
`location` varchar(50) DEFAULT NULL COMMENT '登录地点',
`client_id` varchar(24) DEFAULT NULL COMMENT '客户端Key',
`token` text COMMENT 'token',
`name` varchar(50) DEFAULT NULL COMMENT '姓名',
`expire_time` datetime DEFAULT NULL COMMENT '过期时间',
`account` varchar(30) DEFAULT NULL COMMENT '账号',
`create_time` datetime DEFAULT NULL,
`create_user` bigint(20) DEFAULT NULL COMMENT '登录人ID',
`update_time` datetime DEFAULT NULL,
`update_user` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='token';
-- ----------------------------
-- Table structure for c_common_area
-- ----------------------------
DROP TABLE IF EXISTS `c_common_area`;
CREATE TABLE `c_common_area` (
`id` bigint(20) NOT NULL COMMENT 'id',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`code` varchar(64) NOT NULL DEFAULT '' COMMENT '编码',
`label` varchar(255) NOT NULL DEFAULT '' COMMENT '名称',
`full_name` varchar(255) DEFAULT '' COMMENT '全名',
`sort_value` int(11) DEFAULT '1' COMMENT '排序',
`longitude` varchar(255) DEFAULT '' COMMENT '经度',
`latitude` varchar(255) DEFAULT '' COMMENT '维度',
`level` varchar(10) DEFAULT '' COMMENT '行政区级\n@InjectionField(api = DICTIONARY_ITEM_CLASS, method = DICTIONARY_ITEM_METHOD) RemoteData<String, String>\n\n',
`source_` varchar(255) DEFAULT NULL COMMENT '数据来源',
`parent_id` bigint(20) DEFAULT '0' COMMENT '父ID',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`create_user` bigint(20) DEFAULT '0' COMMENT '创建人',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
`update_user` bigint(20) DEFAULT '0' COMMENT '更新人',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `UN_CODE` (`tenant_code`,`code`) USING BTREE,
KEY `IDX_PARENT_ID` (`parent_id`,`label`) USING BTREE COMMENT '查询'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='地区表';
-- ----------------------------
-- Table structure for c_common_dictionary
-- ----------------------------
DROP TABLE IF EXISTS `c_common_dictionary`;
CREATE TABLE `c_common_dictionary` (
`id` bigint(20) NOT NULL,
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`type_` varchar(64) NOT NULL DEFAULT '' COMMENT '编码\r\n一颗树仅仅有一个统一的编码',
`name` varchar(64) NOT NULL DEFAULT '' COMMENT '名称',
`describe_` varchar(200) DEFAULT '' COMMENT '描述',
`status_` bit(1) DEFAULT b'1' COMMENT '状态',
`create_user` bigint(20) DEFAULT '0' COMMENT '创建人id',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(20) DEFAULT '0' COMMENT '更新人id',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='字典类型';
-- ----------------------------
-- Records of c_common_dictionary
-- ----------------------------
BEGIN;
INSERT INTO `c_common_dictionary` VALUES (1, '0000', 'NATION', '民族', '', b'1', 1, '2019-06-01 09:42:50', 1, '2019-06-01 09:42:54');
INSERT INTO `c_common_dictionary` VALUES (2, '0000', 'POSITION_STATUS', '在职状态', '', b'1', 1, '2019-06-04 11:37:15', 1, '2019-06-04 11:37:15');
INSERT INTO `c_common_dictionary` VALUES (3, '0000', 'EDUCATION', '学历', '', b'1', 1, '2019-06-04 11:33:52', 1, '2019-06-04 11:33:52');
INSERT INTO `c_common_dictionary` VALUES (4, '0000', 'AREA_LEVEL', '行政区级', '', b'1', 3, '2020-01-20 15:12:05', 3, '2020-01-20 15:12:05');
COMMIT;
-- ----------------------------
-- Table structure for c_common_dictionary_item
-- ----------------------------
DROP TABLE IF EXISTS `c_common_dictionary_item`;
CREATE TABLE `c_common_dictionary_item` (
`id` bigint(20) NOT NULL COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`dictionary_id` bigint(20) NOT NULL COMMENT '类型ID',
`dictionary_type` varchar(64) NOT NULL COMMENT '类型',
`code` varchar(64) NOT NULL DEFAULT '' COMMENT '编码',
`name` varchar(64) NOT NULL DEFAULT '' COMMENT '名称',
`status_` bit(1) DEFAULT b'1' COMMENT '状态',
`describe_` varchar(255) DEFAULT '' COMMENT '描述',
`sort_value` int(11) DEFAULT '1' COMMENT '排序',
`create_user` bigint(20) DEFAULT '0' COMMENT '创建人id',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(20) DEFAULT '0' COMMENT '更新人id',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE,
KEY `dict_code_item_code_uniq` (`dictionary_type`,`code`) USING BTREE COMMENT '字典编码与字典项目编码联合唯一'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='字典项';
-- ----------------------------
-- Records of c_common_dictionary_item
-- ----------------------------
BEGIN;
INSERT INTO `c_common_dictionary_item` VALUES (1, '0000', 4, 'AREA_LEVEL', 'COUNTRY', '国家', b'1', '', 1, 3, '2020-01-20 15:12:57', 3, '2020-01-20 15:12:57');
INSERT INTO `c_common_dictionary_item` VALUES (2, '0000', 4, 'AREA_LEVEL', 'PROVINCE', '省份/直辖市', b'1', '', 2, 3, '2020-01-20 15:13:45', 3, '2020-01-20 15:13:45');
INSERT INTO `c_common_dictionary_item` VALUES (3, '0000', 4, 'AREA_LEVEL', 'CITY', '地市', b'1', '', 3, 3, '2020-01-20 15:14:16', 3, '2020-01-20 15:14:16');
INSERT INTO `c_common_dictionary_item` VALUES (4, '0000', 4, 'AREA_LEVEL', 'COUNTY', '区县', b'1', '', 4, 3, '2020-01-20 15:14:54', 3, '2020-01-20 15:14:54');
INSERT INTO `c_common_dictionary_item` VALUES (38, '0000', 3, 'EDUCATION', 'ZHUANKE', '专科', b'1', '', 4, 1, '2019-06-04 11:36:29', 1, '2019-06-04 11:36:29');
INSERT INTO `c_common_dictionary_item` VALUES (39, '0000', 3, 'EDUCATION', 'COLLEGE', '本科', b'1', '', 5, 1, '2019-06-04 11:36:19', 1, '2019-06-04 11:36:19');
INSERT INTO `c_common_dictionary_item` VALUES (40, '0000', 3, 'EDUCATION', 'SUOSHI', '硕士', b'1', '', 6, 1, '2019-06-04 11:36:29', 1, '2019-06-04 11:36:29');
INSERT INTO `c_common_dictionary_item` VALUES (41, '0000', 3, 'EDUCATION', 'BOSHI', '博士', b'1', '', 7, 1, '2019-06-04 11:36:29', 1, '2019-06-04 11:36:29');
INSERT INTO `c_common_dictionary_item` VALUES (42, '0000', 3, 'EDUCATION', 'BOSHIHOU', '博士后', b'1', '', 8, 1, '2019-06-04 11:36:29', 1, '2019-06-04 11:36:29');
INSERT INTO `c_common_dictionary_item` VALUES (43, '0000', 1, 'NATION', 'mz_hanz', '汉族', b'1', '', 0, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (44, '0000', 1, 'NATION', 'mz_zz', '壮族', b'1', '', 1, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (45, '0000', 1, 'NATION', 'mz_mz', '满族', b'1', '', 2, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (46, '0000', 1, 'NATION', 'mz_hz', '回族', b'1', '', 3, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (47, '0000', 1, 'NATION', 'mz_miaoz', '苗族', b'1', '', 4, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (48, '0000', 1, 'NATION', 'mz_wwez', '维吾尔族', b'1', '', 5, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (49, '0000', 1, 'NATION', 'mz_tjz', '土家族', b'1', '', 6, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (50, '0000', 1, 'NATION', 'mz_yz', '彝族', b'1', '', 7, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (51, '0000', 1, 'NATION', 'mz_mgz', '蒙古族', b'1', '', 8, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (52, '0000', 1, 'NATION', 'mz_zhangz', '藏族', b'1', '', 9, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (53, '0000', 1, 'NATION', 'mz_byz', '布依族', b'1', '', 10, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (54, '0000', 1, 'NATION', 'mz_dz', '侗族', b'1', '', 11, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (55, '0000', 1, 'NATION', 'mz_yaoz', '瑶族', b'1', '', 12, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (56, '0000', 1, 'NATION', 'mz_cxz', '朝鲜族', b'1', '', 13, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (57, '0000', 1, 'NATION', 'mz_bz', '白族', b'1', '', 14, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (58, '0000', 1, 'NATION', 'mz_hnz', '哈尼族', b'1', '', 15, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (59, '0000', 1, 'NATION', 'mz_hskz', '哈萨克族', b'1', '', 16, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (60, '0000', 1, 'NATION', 'mz_lz', '黎族', b'1', '', 17, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (61, '0000', 1, 'NATION', 'mz_daiz', '傣族', b'1', '', 18, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (62, '0000', 1, 'NATION', 'mz_sz', '畲族', b'1', '', 19, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (63, '0000', 1, 'NATION', 'mz_llz', '傈僳族', b'1', '', 20, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (64, '0000', 1, 'NATION', 'mz_glz', '仡佬族', b'1', '', 21, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (65, '0000', 1, 'NATION', 'mz_dxz', '东乡族', b'1', '', 22, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (66, '0000', 1, 'NATION', 'mz_gsz', '高山族', b'1', '', 23, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (67, '0000', 1, 'NATION', 'mz_lhz', '拉祜族', b'1', '', 24, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (68, '0000', 1, 'NATION', 'mz_shuiz', '水族', b'1', '', 25, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (69, '0000', 1, 'NATION', 'mz_wz', '佤族', b'1', '', 26, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (70, '0000', 1, 'NATION', 'mz_nxz', '纳西族', b'1', '', 27, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (71, '0000', 1, 'NATION', 'mz_qz', '羌族', b'1', '', 28, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (72, '0000', 1, 'NATION', 'mz_tz', '土族', b'1', '', 29, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (73, '0000', 1, 'NATION', 'mz_zlz', '仫佬族', b'1', '', 30, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (74, '0000', 1, 'NATION', 'mz_xbz', '锡伯族', b'1', '', 31, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (75, '0000', 1, 'NATION', 'mz_kehzz', '柯尔克孜族', b'1', '', 32, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (76, '0000', 1, 'NATION', 'mz_dwz', '达斡尔族', b'1', '', 33, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (77, '0000', 1, 'NATION', 'mz_jpz', '景颇族', b'1', '', 34, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (78, '0000', 1, 'NATION', 'mz_mlz', '毛南族', b'1', '', 35, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (79, '0000', 1, 'NATION', 'mz_slz', '撒拉族', b'1', '', 36, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (80, '0000', 1, 'NATION', 'mz_tjkz', '塔吉克族', b'1', '', 37, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (81, '0000', 1, 'NATION', 'mz_acz', '阿昌族', b'1', '', 38, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (82, '0000', 1, 'NATION', 'mz_pmz', '普米族', b'1', '', 39, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (83, '0000', 1, 'NATION', 'mz_ewkz', '鄂温克族', b'1', '', 40, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (84, '0000', 1, 'NATION', 'mz_nz', '怒族', b'1', '', 41, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (85, '0000', 1, 'NATION', 'mz_jz', '京族', b'1', '', 42, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (86, '0000', 1, 'NATION', 'mz_jnz', '基诺族', b'1', '', 43, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (87, '0000', 1, 'NATION', 'mz_daz', '德昂族', b'1', '', 44, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (88, '0000', 1, 'NATION', 'mz_baz', '保安族', b'1', '', 45, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (89, '0000', 1, 'NATION', 'mz_elsz', '俄罗斯族', b'1', '', 46, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (90, '0000', 1, 'NATION', 'mz_ygz', '裕固族', b'1', '', 47, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (91, '0000', 1, 'NATION', 'mz_wzbkz', '乌兹别克族', b'1', '', 48, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (92, '0000', 1, 'NATION', 'mz_mbz', '门巴族', b'1', '', 49, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (93, '0000', 1, 'NATION', 'mz_elcz', '鄂伦春族', b'1', '', 50, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (94, '0000', 1, 'NATION', 'mz_dlz', '独龙族', b'1', '', 51, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (95, '0000', 1, 'NATION', 'mz_tkez', '塔塔尔族', b'1', '', 52, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (96, '0000', 1, 'NATION', 'mz_hzz', '赫哲族', b'1', '', 53, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (97, '0000', 1, 'NATION', 'mz_lbz', '珞巴族', b'1', '', 54, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (98, '0000', 1, 'NATION', 'mz_blz', '布朗族', b'1', '', 55, 1, '2018-03-15 20:11:01', 1, '2018-03-15 20:11:04');
INSERT INTO `c_common_dictionary_item` VALUES (99, '0000', 2, 'POSITION_STATUS', 'WORKING', '在职', b'1', '', 1, 1, '2019-06-04 11:38:16', 1, '2019-06-04 11:38:16');
INSERT INTO `c_common_dictionary_item` VALUES (100, '0000', 2, 'POSITION_STATUS', 'QUIT', '离职', b'1', '', 2, 1, '2019-06-04 11:38:50', 1, '2019-06-04 11:38:50');
INSERT INTO `c_common_dictionary_item` VALUES (1237038877428940800, '0000', 4, 'AREA_LEVEL', 'TOWNS', '乡镇', b'1', '', 5, 3, '2020-03-09 23:33:46', 3, '2020-03-09 23:33:46');
INSERT INTO `c_common_dictionary_item` VALUES (1237038991044247552, '0000', 3, 'EDUCATION', 'XIAOXUE', '小学', b'1', '', 1, 3, '2020-03-09 23:34:13', 3, '2020-03-09 23:34:13');
INSERT INTO `c_common_dictionary_item` VALUES (1237039071537135616, '0000', 3, 'EDUCATION', 'ZHONGXUE', '中学', b'1', '', 2, 3, '2020-03-09 23:34:32', 3, '2020-03-09 23:34:32');
INSERT INTO `c_common_dictionary_item` VALUES (1237039105171259392, '0000', 3, 'EDUCATION', 'GAOZHONG', '高中', b'1', '', 3, 3, '2020-03-09 23:34:40', 3, '2020-03-09 23:34:40');
INSERT INTO `c_common_dictionary_item` VALUES (1237039160271831040, '0000', 3, 'EDUCATION', 'QITA', '其他', b'1', '', 20, 3, '2020-03-09 23:34:54', 3, '2020-03-09 23:34:54');
INSERT INTO `c_common_dictionary_item` VALUES (1237040064488275968, '0000', 1, 'NATION', 'mz_qt', '其他', b'1', '', 100, 3, '2020-03-09 23:38:29', 3, '2020-03-09 23:38:29');
INSERT INTO `c_common_dictionary_item` VALUES (1237040319480987648, '0000', 2, 'POSITION_STATUS', 'LEAVE', '请假', b'1', '', 3, 3, '2020-03-09 23:39:30', 3, '2020-03-09 23:39:30');
COMMIT;
-- ----------------------------
-- Table structure for c_common_login_log
-- ----------------------------
DROP TABLE IF EXISTS `c_common_login_log`;
CREATE TABLE `c_common_login_log` (
`id` bigint(20) NOT NULL COMMENT '主键',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`request_ip` varchar(50) DEFAULT '' COMMENT '登录IP',
`user_id` bigint(20) DEFAULT NULL COMMENT '登录人ID',
`user_name` varchar(50) DEFAULT NULL COMMENT '登录人姓名',
`account` varchar(30) DEFAULT '' COMMENT '登录人账号',
`description` varchar(255) DEFAULT '' COMMENT '登录描述',
`login_date` date DEFAULT NULL COMMENT '登录时间',
`ua` varchar(500) DEFAULT '0' COMMENT '浏览器请求头',
`browser` varchar(255) DEFAULT NULL COMMENT '浏览器名称',
`browser_version` varchar(255) DEFAULT NULL COMMENT '浏览器版本',
`operating_system` varchar(255) DEFAULT NULL COMMENT '操作系统',
`location` varchar(50) DEFAULT '' COMMENT '登录地点',
`create_time` datetime DEFAULT NULL,
`create_user` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
KEY `IDX_BROWSER` (`browser`) USING BTREE,
KEY `IDX_OPERATING` (`operating_system`) USING BTREE,
KEY `IDX_LOGIN_DATE` (`login_date`,`account`) USING BTREE,
KEY `IDX_ACCOUNT_IP` (`account`,`request_ip`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='登录日志';
-- ----------------------------
-- Table structure for c_common_opt_log
-- ----------------------------
DROP TABLE IF EXISTS `c_common_opt_log`;
CREATE TABLE `c_common_opt_log` (
`id` bigint(20) NOT NULL COMMENT '主键',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`request_ip` varchar(50) DEFAULT '' COMMENT '操作IP',
`type` varchar(5) DEFAULT 'OPT' COMMENT '日志类型\n#LogType{OPT:操作类型;EX:异常类型}',
`user_name` varchar(50) DEFAULT '' COMMENT '操作人',
`description` varchar(255) DEFAULT '' COMMENT '操作描述',
`class_path` varchar(255) DEFAULT '' COMMENT '类路径',
`action_method` varchar(50) DEFAULT '' COMMENT '请求方法',
`request_uri` varchar(50) DEFAULT '' COMMENT '请求地址',
`http_method` varchar(10) DEFAULT 'GET' COMMENT '请求类型\n#HttpMethod{GET:GET请求;POST:POST请求;PUT:PUT请求;DELETE:DELETE请求;PATCH:PATCH请求;TRACE:TRACE请求;HEAD:HEAD请求;OPTIONS:OPTIONS请求;}',
`params` longtext COMMENT '请求参数',
`result` longtext COMMENT '返回值',
`ex_desc` longtext COMMENT '异常详情信息',
`ex_detail` longtext COMMENT '异常描述',
`start_time` timestamp NULL DEFAULT NULL COMMENT '开始时间',
`finish_time` timestamp NULL DEFAULT NULL COMMENT '完成时间',
`consuming_time` bigint(20) DEFAULT '0' COMMENT '消耗时间',
`ua` varchar(500) DEFAULT '' COMMENT '浏览器',
`create_time` datetime DEFAULT NULL,
`create_user` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
KEY `index_type` (`type`) USING BTREE COMMENT '日志类型'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='系统日志';
-- ----------------------------
-- Table structure for c_common_parameter
-- ----------------------------
DROP TABLE IF EXISTS `c_common_parameter`;
CREATE TABLE `c_common_parameter` (
`id` bigint(20) NOT NULL,
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`key_` varchar(255) NOT NULL DEFAULT '' COMMENT '参数键',
`name` varchar(255) NOT NULL DEFAULT '' COMMENT '参数名称',
`value` varchar(255) NOT NULL COMMENT '参数值',
`describe_` varchar(255) DEFAULT '' COMMENT '描述',
`status_` bit(1) DEFAULT b'1' COMMENT '状态',
`readonly_` bit(1) DEFAULT NULL COMMENT '只读',
`create_user` bigint(20) DEFAULT '0' COMMENT '创建人id',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(20) DEFAULT '0' COMMENT '更新人id',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `UN_KEY` (`tenant_code`,`key_`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='参数配置';
-- ----------------------------
-- Records of c_common_parameter
-- ----------------------------
BEGIN;
INSERT INTO `c_common_parameter` VALUES (1, '0000', 'LOGIN_POLICY', '登录策略', 'MANY', 'ONLY_ONE:一个用户只能登录一次; MANY:用户可以任意登录; ONLY_ONE_CLIENT:一个用户在一个应用只能登录一次', b'1', b'1', 1, '2020-04-02 21:56:19', 3, '2020-04-03 01:12:32');
COMMIT;
-- ----------------------------
-- Table structure for c_core_org
-- ----------------------------
DROP TABLE IF EXISTS `c_core_org`;
CREATE TABLE `c_core_org` (
`id` bigint(20) NOT NULL COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`label` varchar(255) NOT NULL DEFAULT '' COMMENT '名称',
`type_` char(2) DEFAULT '01' COMMENT '类型\n@InjectionField(api = DICTIONARY_ITEM_CLASS, method = DICTIONARY_ITEM_METHOD, dictType = DictionaryType.ORG_TYPE)',
`abbreviation` varchar(255) DEFAULT '' COMMENT '简称',
`parent_id` bigint(20) DEFAULT '0' COMMENT '父ID',
`tree_path` varchar(255) DEFAULT ',' COMMENT '树结构',
`sort_value` int(11) DEFAULT '1' COMMENT '排序',
`status` bit(1) DEFAULT b'1' COMMENT '状态',
`describe_` varchar(255) DEFAULT '' COMMENT '描述',
`create_time` datetime DEFAULT NULL,
`create_user` bigint(20) DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`update_user` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
FULLTEXT KEY `FU_PATH` (`tree_path`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='组织';
-- ----------------------------
-- Records of c_core_org
-- ----------------------------
BEGIN;
INSERT INTO `c_core_org` VALUES (100, '0000', '最后集团股份有限公司', '01', '最后集团2', 0, ',', 1, b'1', '初始化数据', '2019-07-10 17:02:18', 1, '2019-07-10 17:02:16', 1);
INSERT INTO `c_core_org` VALUES (101, '0000', '最后集团股份有限公司广州子公司', '01', '广州最后集团', 100, ',100,', 0, b'1', '初始化数据', '2019-08-06 09:10:53', 1, '2019-11-12 11:36:48', 3);
INSERT INTO `c_core_org` VALUES (102, '0000', '最后集团股份有限公司北京分公司', '01', '北京最后集团', 100, ',100,', 1, b'1', '初始化数据', '2019-11-07 16:13:09', 1, '2019-11-07 16:13:12', 1);
INSERT INTO `c_core_org` VALUES (643775612976106881, '0000', '综合部', '01', '', 101, ',100,101,', 0, b'1', '前台&HR', '2019-11-12 11:34:27', 3, '2019-11-12 11:34:27', 3);
INSERT INTO `c_core_org` VALUES (643775664683486689, '0000', '管理层', '01', '', 100, ',100,', 3, b'1', '', '2019-11-12 11:34:39', 3, '2019-11-12 11:36:16', 3);
INSERT INTO `c_core_org` VALUES (643775904077582049, '0000', '总经办', '01', '', 100, ',100,', 2, b'1', '', '2019-11-12 11:35:37', 3, '2019-11-12 11:36:52', 3);
INSERT INTO `c_core_org` VALUES (643776324342648929, '0000', '财务部', '01', '', 100, ',100,', 4, b'1', '', '2019-11-12 11:37:17', 3, '2019-11-12 11:37:40', 3);
INSERT INTO `c_core_org` VALUES (643776407691858113, '0000', '市场部', '01', '', 100, ',100,', 5, b'1', '', '2019-11-12 11:37:37', 3, '2019-11-12 11:37:37', 3);
INSERT INTO `c_core_org` VALUES (643776508795556193, '0000', '销售部', '01', '', 100, ',100,', 6, b'1', '', '2019-11-12 11:38:01', 3, '2019-11-12 11:38:01', 3);
INSERT INTO `c_core_org` VALUES (643776594376135105, '0000', '研发部', '01', '', 101, ',100,101,', 1, b'1', '', '2019-11-12 11:38:21', 3, '2019-11-12 11:38:21', 3);
INSERT INTO `c_core_org` VALUES (643776633823564321, '0000', '产品部', '01', '', 101, ',100,101,', 2, b'1', '', '2019-11-12 11:38:31', 3, '2019-11-12 11:38:31', 3);
INSERT INTO `c_core_org` VALUES (643776668917305985, '0000', '综合部', '01', '', 102, ',100,102,', 0, b'1', '', '2019-11-12 11:38:39', 3, '2019-11-12 11:38:39', 3);
INSERT INTO `c_core_org` VALUES (643776713909605089, '0000', '研发部', '01', '', 102, ',100,102,', 0, b'1', '', '2019-11-12 11:38:50', 3, '2019-11-12 11:38:50', 3);
INSERT INTO `c_core_org` VALUES (643776757199016769, '0000', '销售部', '01', '', 102, ',100,102,', 2, b'1', '', '2019-11-12 11:39:00', 3, '2019-11-12 11:39:00', 3);
COMMIT;
-- ----------------------------
-- Table structure for c_core_station
-- ----------------------------
DROP TABLE IF EXISTS `c_core_station`;
CREATE TABLE `c_core_station` (
`id` bigint(20) NOT NULL COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`name` varchar(255) NOT NULL DEFAULT '' COMMENT '名称',
`org_id` bigint(20) DEFAULT '0' COMMENT '组织ID\n#c_core_org',
`status` bit(1) DEFAULT b'1' COMMENT '状态',
`describe_` varchar(255) DEFAULT '' COMMENT '描述',
`create_time` datetime DEFAULT NULL,
`create_user` bigint(20) DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`update_user` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='岗位';
-- ----------------------------
-- Records of c_core_station
-- ----------------------------
BEGIN;
INSERT INTO `c_core_station` VALUES (100, '0000', '总经理', 643775904077582049, b'1', '总部-1把手', '2019-07-10 17:03:03', 1, '2019-11-16 09:59:17', 3);
INSERT INTO `c_core_station` VALUES (101, '0000', '副总经理', 643775904077582049, b'1', '总部-2把手', '2019-07-22 17:07:55', 1, '2019-11-16 09:59:21', 3);
INSERT INTO `c_core_station` VALUES (642032719487828225, '0000', '研发经理', 643776594376135105, b'1', '子公司-研发部老大', '2019-11-07 16:08:49', 3, '2019-11-16 09:53:42', 3);
INSERT INTO `c_core_station` VALUES (645199319300842081, '0000', '副总经理', 101, b'1', '子公司-老大', '2019-11-16 09:51:45', 3, '2019-11-16 09:53:50', 3);
INSERT INTO `c_core_station` VALUES (645199745026892801, '0000', '产品经理', 643776633823564321, b'1', '子公司-产品部老大', '2019-11-16 09:53:27', 3, '2019-11-16 09:54:01', 3);
INSERT INTO `c_core_station` VALUES (645200064280536545, '0000', '人事经理', 643775612976106881, b'1', '子公司-综合老大', '2019-11-16 09:54:43', 3, '2019-11-16 09:54:43', 3);
INSERT INTO `c_core_station` VALUES (645200151886964289, '0000', 'Java工程师', 643776594376135105, b'1', '普通员工', '2019-11-16 09:55:04', 3, '2019-11-16 09:55:04', 3);
INSERT INTO `c_core_station` VALUES (645200250243393185, '0000', '需求工程师', 643776633823564321, b'1', '普通员工', '2019-11-16 09:55:27', 3, '2019-11-16 09:55:27', 3);
INSERT INTO `c_core_station` VALUES (645200304014370561, '0000', 'UI工程师', 643776633823564321, b'1', '普通员工', '2019-11-16 09:55:40', 3, '2019-11-16 09:55:40', 3);
INSERT INTO `c_core_station` VALUES (645200358959753057, '0000', '运维工程师', 643776594376135105, b'1', '普通员工', '2019-11-16 09:55:53', 3, '2019-11-16 09:55:53', 3);
INSERT INTO `c_core_station` VALUES (645200405453612993, '0000', '前台小姐姐', 643775612976106881, b'1', '普通员工', '2019-11-16 09:56:04', 3, '2019-11-16 09:56:04', 3);
INSERT INTO `c_core_station` VALUES (645200545698555937, '0000', '人事经理', 643776668917305985, b'1', '北京分公司-综合部老大', '2019-11-16 09:56:38', 3, '2019-11-16 09:56:38', 3);
INSERT INTO `c_core_station` VALUES (645200670781089921, '0000', '研发经理', 643776713909605089, b'1', '北京分公司-研发部老大', '2019-11-16 09:57:07', 3, '2019-11-16 09:57:07', 3);
INSERT INTO `c_core_station` VALUES (645200806559099105, '0000', '销售经理', 643776757199016769, b'1', '北京销售部老大', '2019-11-16 09:57:40', 3, '2019-11-16 09:57:40', 3);
INSERT INTO `c_core_station` VALUES (645200885772724545, '0000', '行政', 643776668917305985, b'1', '普通员工', '2019-11-16 09:57:59', 3, '2019-11-16 09:57:59', 3);
INSERT INTO `c_core_station` VALUES (645200938289605025, '0000', '大前端工程师', 643776713909605089, b'1', '普通员工', '2019-11-16 09:58:11', 3, '2019-11-16 09:58:11', 3);
INSERT INTO `c_core_station` VALUES (645201064705927681, '0000', '销售员工', 643776757199016769, b'1', '普通员工', '2019-11-16 09:58:41', 3, '2019-11-16 09:58:41', 3);
INSERT INTO `c_core_station` VALUES (645201184268757601, '0000', '销售总监', 643775664683486689, b'1', '总部2把手', '2019-11-16 09:59:10', 3, '2019-11-16 09:59:10', 3);
INSERT INTO `c_core_station` VALUES (645201307765844833, '0000', '财务总监', 643776324342648929, b'1', '总部2把手', '2019-11-16 09:59:39', 3, '2019-11-16 09:59:39', 3);
INSERT INTO `c_core_station` VALUES (645201405757369281, '0000', '市场经理', 643776407691858113, b'1', '总部市场部老大', '2019-11-16 10:00:03', 3, '2019-11-16 10:00:03', 3);
INSERT INTO `c_core_station` VALUES (645201481133206561, '0000', '销售总监', 643776508795556193, b'1', '总部销售部老大', '2019-11-16 10:00:21', 3, '2019-11-16 10:00:21', 3);
INSERT INTO `c_core_station` VALUES (645201573391117441, '0000', '前端工程师', 643776594376135105, b'1', '普通员工', '2019-11-16 10:00:43', 3, '2019-11-16 10:00:43', 3);
COMMIT;
-- ----------------------------
-- Table structure for f_attachment
-- ----------------------------
DROP TABLE IF EXISTS `f_attachment`;
CREATE TABLE `f_attachment` (
`id` bigint(20) NOT NULL COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`biz_id` varchar(64) DEFAULT NULL COMMENT '业务ID',
`biz_type` varchar(255) DEFAULT NULL COMMENT '业务类型\n#AttachmentType',
`data_type` varchar(255) DEFAULT 'IMAGE' COMMENT '数据类型\n#DataType{DIR:目录;IMAGE:图片;VIDEO:视频;AUDIO:音频;DOC:文档;OTHER:其他}',
`submitted_file_name` varchar(255) DEFAULT '' COMMENT '原始文件名',
`group_` varchar(255) DEFAULT '' COMMENT 'FastDFS返回的组\n用于FastDFS',
`path` varchar(255) DEFAULT '' COMMENT 'FastDFS的远程文件名\n用于FastDFS',
`relative_path` varchar(255) DEFAULT '' COMMENT '文件相对路径',
`url` varchar(255) DEFAULT '' COMMENT '文件访问链接\n需要通过nginx配置路由,才能访问',
`file_md5` varchar(255) DEFAULT NULL COMMENT '文件md5值',
`context_type` varchar(255) DEFAULT '' COMMENT '文件上传类型\n取上传文件的值',
`filename` varchar(255) DEFAULT '' COMMENT '唯一文件名',
`ext` varchar(64) DEFAULT '' COMMENT '后缀\n (没有.)',
`size` bigint(20) DEFAULT '0' COMMENT '大小',
`org_id` bigint(20) DEFAULT NULL COMMENT '组织ID\n#c_core_org',
`icon` varchar(64) DEFAULT '' COMMENT '图标',
`create_month` varchar(10) DEFAULT NULL COMMENT '创建年月\n格式:yyyy-MM 用于统计',
`create_week` varchar(10) DEFAULT NULL COMMENT '创建时处于当年的第几周\nyyyy-ww 用于统计',
`create_day` varchar(12) DEFAULT NULL COMMENT '创建年月日\n格式: yyyy-MM-dd 用于统计',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`create_user` bigint(11) DEFAULT NULL COMMENT '创建人',
`update_time` datetime DEFAULT NULL COMMENT '最后修改时间',
`update_user` bigint(11) DEFAULT NULL COMMENT '最后修改人',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='附件';
-- ----------------------------
-- Table structure for f_file
-- ----------------------------
DROP TABLE IF EXISTS `f_file`;
CREATE TABLE `f_file` (
`id` bigint(20) NOT NULL COMMENT '主键',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`data_type` varchar(255) DEFAULT 'IMAGE' COMMENT '数据类型\n#DataType{DIR:目录;IMAGE:图片;VIDEO:视频;AUDIO:音频;DOC:文档;OTHER:其他}',
`submitted_file_name` varchar(255) DEFAULT '' COMMENT '原始文件名',
`tree_path` varchar(255) DEFAULT ',' COMMENT '父目录层级关系',
`grade` int(11) DEFAULT '1' COMMENT '层级等级\n从1开始计算',
`is_delete` bit(1) DEFAULT b'0' COMMENT '是否删除\n#BooleanStatus{TRUE:1,已删除;FALSE:0,未删除}',
`folder_id` bigint(20) DEFAULT '0' COMMENT '父文件夹ID',
`url` varchar(1000) DEFAULT '' COMMENT '文件访问链接\n需要通过nginx配置路由,才能访问',
`size` bigint(20) DEFAULT '0' COMMENT '文件大小\n单位字节',
`folder_name` varchar(255) DEFAULT '' COMMENT '父文件夹名称',
`group_` varchar(255) DEFAULT '' COMMENT 'FastDFS组\n用于FastDFS',
`path` varchar(255) DEFAULT '' COMMENT 'FastDFS远程文件名\n用于FastDFS',
`relative_path` varchar(255) DEFAULT '' COMMENT '文件的相对路径 ',
`file_md5` varchar(255) DEFAULT '' COMMENT 'md5值',
`context_type` varchar(255) DEFAULT '' COMMENT '文件类型\n取上传文件的值',
`filename` varchar(255) DEFAULT '' COMMENT '唯一文件名',
`ext` varchar(64) DEFAULT '' COMMENT '文件名后缀 \n(没有.)',
`icon` varchar(64) DEFAULT '' COMMENT '文件图标\n用于云盘显示',
`create_month` varchar(10) DEFAULT NULL COMMENT '创建时年月\n格式:yyyy-MM 用于统计',
`create_week` varchar(10) DEFAULT NULL COMMENT '创建时年周\nyyyy-ww 用于统计',
`create_day` varchar(12) DEFAULT NULL COMMENT '创建时年月日\n格式: yyyy-MM-dd 用于统计',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人',
`update_time` datetime DEFAULT NULL COMMENT '最后修改时间',
`update_user` bigint(20) DEFAULT NULL COMMENT '最后修改人',
PRIMARY KEY (`id`) USING BTREE,
FULLTEXT KEY `FU_TREE_PATH` (`tree_path`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='文件表';
-- ----------------------------
-- Table structure for g_block_list
-- ----------------------------
DROP TABLE IF EXISTS `g_block_list`;
CREATE TABLE `g_block_list` (
`id` bigint(20) NOT NULL COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT NULL COMMENT '租户编码',
`ip` varchar(20) DEFAULT '' COMMENT '黑名单ip',
`request_uri` varchar(255) DEFAULT '' COMMENT '请求URI',
`request_method` varchar(10) DEFAULT 'ALL' COMMENT '请求方法\n如果为ALL则表示对所有方法生效',
`limit_start` varchar(8) DEFAULT '' COMMENT '限制时间起',
`limit_end` varchar(8) DEFAULT '' COMMENT '限制时间止',
`status` bit(1) DEFAULT b'1' COMMENT '状态',
`create_time` datetime DEFAULT NULL,
`create_user` bigint(20) DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`update_user` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
FULLTEXT KEY `FU_PATH` (`limit_start`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='黑名单\n';
-- ----------------------------
-- Table structure for g_rate_limiter
-- ----------------------------
DROP TABLE IF EXISTS `g_rate_limiter`;
CREATE TABLE `g_rate_limiter` (
`id` bigint(20) NOT NULL COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT NULL COMMENT '租户编码',
`count` int(10) DEFAULT '0' COMMENT '次数',
`request_uri` varchar(255) DEFAULT '' COMMENT '请求URI',
`request_method` varchar(10) DEFAULT 'ALL' COMMENT '请求方法\n如果为ALL则表示对所有方法生效',
`limit_start` varchar(8) DEFAULT '' COMMENT '限制时间起',
`limit_end` varchar(8) DEFAULT '' COMMENT '限制时间止',
`status` bit(1) DEFAULT b'1' COMMENT '状态',
`interval_sec` bigint(20) DEFAULT '0' COMMENT '时间窗口',
`create_time` datetime DEFAULT NULL,
`create_user` bigint(20) DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`update_user` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
FULLTEXT KEY `FU_PATH` (`limit_start`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='限流';
-- ----------------------------
-- Table structure for m_order
-- ----------------------------
DROP TABLE IF EXISTS `m_order`;
CREATE TABLE `m_order` (
`id` bigint(20) NOT NULL,
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`name` varchar(255) DEFAULT NULL COMMENT '名称',
`education` varchar(255) DEFAULT NULL COMMENT '学历\n@InjectionField(api = "orderServiceImpl", method = DICTIONARY_ITEM_METHOD, dictType = DictionaryType.EDUCATION) RemoteData<String, String>',
`nation` varchar(255) DEFAULT NULL COMMENT '民族\n@InjectionField(api = DICTIONARY_ITEM_FEIGN_CLASS, method = DICTIONARY_ITEM_METHOD, dictType = DictionaryType.NATION) RemoteData<String, String>\n',
`org_id` bigint(20) DEFAULT NULL COMMENT '组织ID\n#c_core_org\n@InjectionField(api = ORG_ID_FEIGN_CLASS, method = ORG_ID_NAME_METHOD) RemoteData<Long, String>',
`code` varchar(255) DEFAULT NULL COMMENT '编号',
`create_time` datetime DEFAULT NULL,
`create_user` bigint(20) DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`update_user` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='订单(用于测试)';
-- ----------------------------
-- Table structure for m_product
-- ----------------------------
DROP TABLE IF EXISTS `m_product`;
CREATE TABLE `m_product` (
`id` bigint(20) NOT NULL,
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`name` varchar(255) DEFAULT NULL COMMENT '名称',
`stock` int(11) DEFAULT NULL COMMENT '库存',
`create_time` datetime DEFAULT NULL,
`create_user` bigint(20) DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`update_user` bigint(20) DEFAULT NULL,
`type_` text COMMENT '商品类型\n#ProductType{ordinary:普通;gift:赠品}',
`type2` longtext COMMENT '商品类型2\n#{ordinary:普通;gift:赠品;}',
`type3` varchar(255) DEFAULT NULL COMMENT '学历\n@InjectionField(api = DICTIONARY_ITEM_FEIGN_CLASS, method = DICTIONARY_ITEM_METHOD, dictType = DictionaryType.EDUCATION) RemoteData<String, String>\n',
`status` bit(1) DEFAULT NULL COMMENT '状态',
`test4` tinyint(10) DEFAULT NULL,
`test5` date DEFAULT NULL COMMENT '时间',
`test6` datetime DEFAULT NULL COMMENT '日期',
`parent_id` bigint(20) DEFAULT NULL,
`label` varchar(255) DEFAULT NULL COMMENT '名称',
`sort_value` int(11) DEFAULT NULL,
`test7` char(10) DEFAULT NULL COMMENT 'xxx\n@InjectionField(api = “userApi”, method = USER_ID_NAME_METHOD) RemoteData<Long, String>',
`user_id` bigint(20) DEFAULT NULL COMMENT '用户\n@InjectionField(api = USER_ID_FEIGN_CLASS, method = USER_ID_NAME_METHOD) RemoteData<Long, String>',
`org_id` bigint(20) DEFAULT NULL COMMENT '组织\n@InjectionField(api = ORG_ID_FEIGN_CLASS, method = "findOrgNameByIds") RemoteData<Long, String>',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='商品(用于测试)';
-- ----------------------------
-- Table structure for mail_provider
-- ----------------------------
DROP TABLE IF EXISTS `mail_provider`;
CREATE TABLE `mail_provider` (
`id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`mail_type` varchar(10) DEFAULT 'TENCENT' COMMENT '邮箱类型\n#MailType{SINA:新浪;QQ:腾讯;WY163:网易}',
`username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '邮箱账号',
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '邮箱授权码',
`host` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '主机',
`port` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '端口',
`protocol` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '协议',
`auth` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否进行用户名密码校验',
`name` varchar(60) DEFAULT NULL COMMENT '名称',
`description` varchar(300) DEFAULT NULL COMMENT '描述',
`properties` varchar(500) DEFAULT NULL COMMENT '属性',
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(20) DEFAULT NULL COMMENT '修改人',
`update_time` datetime DEFAULT NULL COMMENT '修改时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='邮件供应商';
-- ----------------------------
-- Table structure for mail_send_status
-- ----------------------------
DROP TABLE IF EXISTS `mail_send_status`;
CREATE TABLE `mail_send_status` (
`id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`task_id` bigint(20) NOT NULL COMMENT '任务id\n#mail_task',
`email` varchar(64) NOT NULL COMMENT '收件邮箱',
`mail_status` varchar(255) NOT NULL DEFAULT 'UNREAD' COMMENT '邮件状态\r\n#MailStatus{UNREAD:未读;READ:已读;DELETED:已删除;ABNORMAL:异常;VIRUSES:病毒;TRASH:垃圾}',
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人id',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(20) DEFAULT NULL COMMENT '更新人id',
`update_time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='邮件发送状态';
-- ----------------------------
-- Table structure for mail_task
-- ----------------------------
DROP TABLE IF EXISTS `mail_task`;
CREATE TABLE `mail_task` (
`id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`status` varchar(10) DEFAULT 'WAITING' COMMENT '执行状态\r\n#TaskStatus{WAITING:等待执行;SUCCESS:执行成功;FAIL:执行失败}',
`provider_id` bigint(20) DEFAULT NULL COMMENT '发件人id\n#mail_provider',
`to` varchar(500) DEFAULT '' COMMENT '收件人\n多个,号分割',
`cc` varchar(255) DEFAULT '' COMMENT '抄送人\n多个,分割',
`bcc` varchar(255) DEFAULT '' COMMENT '密送人\n多个,分割',
`subject` varchar(255) DEFAULT '' COMMENT '主题',
`body` text CHARACTER SET utf8 COMMENT '正文',
`err_msg` varchar(500) DEFAULT '' COMMENT '发送失败原因',
`sender_code` varchar(64) DEFAULT '' COMMENT '发送商编码',
`plan_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '计划发送时间\n(默认当前时间,可定时发送)',
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(20) DEFAULT NULL COMMENT '修改人',
`update_time` datetime DEFAULT NULL COMMENT '修改时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='邮件任务';
-- ----------------------------
-- Table structure for msgs_center_info
-- ----------------------------
DROP TABLE IF EXISTS `msgs_center_info`;
CREATE TABLE `msgs_center_info` (
`id` bigint(20) NOT NULL COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`biz_id` varchar(64) DEFAULT NULL COMMENT '业务ID\n业务表的唯一id',
`biz_type` varchar(64) DEFAULT NULL COMMENT '业务类型\n#MsgsBizType{USER_LOCK:账号锁定;USER_REG:账号申请;WORK_APPROVAL:考勤审批;}',
`msgs_center_type` varchar(20) NOT NULL DEFAULT 'NOTIFY' COMMENT '消息类型\n#MsgsCenterType{WAIT:待办;NOTIFY:通知;PUBLICITY:公告;WARN:预警;}',
`title` varchar(255) DEFAULT '' COMMENT '标题',
`content` text COMMENT '内容',
`author` varchar(50) DEFAULT '' COMMENT '发布人',
`handler_url` varchar(255) DEFAULT '' COMMENT '处理地址\n以http开头时直接跳转,否则与#c_application表拼接后跳转\nhttp可带参数',
`handler_params` varchar(400) DEFAULT '' COMMENT '处理参数',
`is_single_handle` bit(1) DEFAULT b'1' COMMENT '是否单人处理',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`create_user` bigint(20) DEFAULT '0' COMMENT '创建人id',
`update_time` datetime DEFAULT NULL COMMENT '最后修改时间',
`update_user` bigint(20) DEFAULT '0' COMMENT '最后修改人',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='消息中心表';
-- ----------------------------
-- Table structure for msgs_center_info_receive
-- ----------------------------
DROP TABLE IF EXISTS `msgs_center_info_receive`;
CREATE TABLE `msgs_center_info_receive` (
`id` bigint(20) NOT NULL COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`msgs_center_id` bigint(20) NOT NULL COMMENT '消息中心ID\n#msgs_center_info',
`user_id` bigint(20) NOT NULL COMMENT '接收人ID\n#c_user',
`is_read` bit(1) DEFAULT b'0' COMMENT '是否已读\n#BooleanStatus',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`create_user` bigint(20) DEFAULT '0' COMMENT '创建人',
`update_user` bigint(20) DEFAULT '0' COMMENT '最后修改人',
`update_time` datetime DEFAULT NULL COMMENT '最后修改时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='消息中心接收表';
-- ----------------------------
-- Table structure for sms_send_status
-- ----------------------------
DROP TABLE IF EXISTS `sms_send_status`;
CREATE TABLE `sms_send_status` (
`id` bigint(20) NOT NULL COMMENT 'ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`task_id` bigint(20) NOT NULL COMMENT '任务ID\n#sms_task',
`send_status` varchar(10) NOT NULL DEFAULT 'WAITING' COMMENT '发送状态\n#SendStatus{WAITING:等待发送;SUCCESS:发送成功;FAIL:发送失败}',
`receiver` varchar(20) NOT NULL COMMENT '接收者手机号\n单个手机号',
`biz_id` varchar(255) DEFAULT '' COMMENT '发送回执ID\n阿里:发送回执ID,可根据该ID查询具体的发送状态 腾讯:sid 标识本次发送id,标识一次短信下发记录 百度:requestId 短信发送请求唯一流水ID',
`ext` varchar(255) DEFAULT '' COMMENT '发送返回\n阿里:RequestId 请求ID 腾讯:ext:用户的session内容,腾讯server回包中会原样返回 百度:无',
`code` varchar(255) DEFAULT '' COMMENT '状态码\n阿里:返回OK代表请求成功,其他错误码详见错误码列表 腾讯:0表示成功(计费依据),非0表示失败 百度:1000 表示成功',
`message` varchar(500) DEFAULT '' COMMENT '状态码的描述',
`fee` int(11) DEFAULT '0' COMMENT '短信计费的条数\n腾讯专用',
`create_month` varchar(7) DEFAULT '' COMMENT '创建时年月\n格式:yyyy-MM 用于统计',
`create_week` varchar(10) DEFAULT '' COMMENT '创建时年周\n创建时处于当年的第几周 yyyy-ww 用于统计',
`create_date` varchar(10) DEFAULT '' COMMENT '创建时年月日\n格式: yyyy-MM-dd 用于统计',
`create_user` bigint(20) DEFAULT '0' COMMENT '创建人',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(20) DEFAULT '0' COMMENT '最后修改人',
`update_time` datetime DEFAULT NULL COMMENT '最后修改时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='短信发送状态';
-- ----------------------------
-- Table structure for sms_task
-- ----------------------------
DROP TABLE IF EXISTS `sms_task`;
CREATE TABLE `sms_task` (
`id` bigint(20) NOT NULL COMMENT '短信记录ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`template_id` bigint(20) NOT NULL COMMENT '模板ID\n#sms_template',
`status` varchar(10) DEFAULT 'WAITING' COMMENT '执行状态\n(手机号具体发送状态看sms_send_status表) \n#TaskStatus{WAITING:等待执行;SUCCESS:执行成功;FAIL:执行失败}',
`source_type` varchar(10) DEFAULT 'APP' COMMENT '来源类型\n#SourceType{APP:应用;SERVICE:服务}\n',
`receiver` text COMMENT '接收者手机号\n群发用英文逗号分割.\n支持2种格式:\n1: 手机号,手机号 \n2: 姓名<手机号>,姓名<手机号>',
`topic` varchar(255) DEFAULT '' COMMENT '主题',
`template_params` varchar(500) DEFAULT '' COMMENT '参数 \n需要封装为{‘key’:’value’, ...}格式\n且key必须有序\n\n',
`send_time` datetime DEFAULT NULL COMMENT '发送时间',
`content` varchar(500) DEFAULT '' COMMENT '发送内容\n需要封装正确格式化: 您好,张三,您有一个新的快递。',
`draft` bit(1) DEFAULT b'0' COMMENT '是否草稿',
`create_user` bigint(20) DEFAULT '0' COMMENT '创建人ID',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(20) DEFAULT '0' COMMENT '最后修改人',
`update_time` datetime DEFAULT NULL COMMENT '最后修改时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='发送任务\n所有的短息发送调用,都视为是一次短信任务,任务表只保存数据和执行状态等信息,\n具体的发送状态查看发送状态(#sms_send_status)表';
-- ----------------------------
-- Table structure for sms_template
-- ----------------------------
DROP TABLE IF EXISTS `sms_template`;
CREATE TABLE `sms_template` (
`id` bigint(20) NOT NULL COMMENT '模板ID',
`tenant_code` varchar(20) DEFAULT '' COMMENT '租户编码',
`provider_type` varchar(10) NOT NULL COMMENT '供应商类型\n#ProviderType{ALI:OK,阿里云短信;TENCENT:0,腾讯云短信;BAIDU:1000,百度云短信}',
`app_id` varchar(255) NOT NULL COMMENT '应用ID',
`app_secret` varchar(255) NOT NULL COMMENT '应用密码',
`url` varchar(255) DEFAULT '' COMMENT 'SMS服务域名\n百度、其他厂商会用',
`custom_code` varchar(20) NOT NULL DEFAULT '' COMMENT '模板编码\n用于api发送',
`name` varchar(255) DEFAULT '' COMMENT '模板名称',
`content` varchar(255) NOT NULL DEFAULT '' COMMENT '模板内容',
`template_params` varchar(255) NOT NULL DEFAULT '' COMMENT '模板参数',
`template_code` varchar(50) NOT NULL DEFAULT '' COMMENT '模板CODE',
`sign_name` varchar(100) DEFAULT '' COMMENT '签名',
`template_describe` varchar(255) DEFAULT '' COMMENT '备注',
`create_user` bigint(20) DEFAULT '0' COMMENT '创建人ID',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(20) DEFAULT '0' COMMENT '最后修改人',
`update_time` datetime DEFAULT NULL COMMENT '最后修改时间',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `UN_CODE` (`custom_code`,`tenant_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='短信模板';
-- ----------------------------
-- Table structure for undo_log
-- ----------------------------
DROP TABLE IF EXISTS `undo_log`;
CREATE TABLE `undo_log` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'increment id',
`branch_id` bigint(20) NOT NULL COMMENT 'branch transaction id',
`xid` varchar(100) NOT NULL COMMENT 'global transaction id',
`context` varchar(128) NOT NULL COMMENT 'undo_log context,such as serialization',
`rollback_info` longblob NOT NULL COMMENT 'rollback info',
`log_status` int(11) NOT NULL COMMENT '0:normal status,1:defense status',
`log_created` datetime NOT NULL COMMENT 'create datetime',
`log_modified` datetime NOT NULL COMMENT 'modify datetime',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `ux_undo_log` (`xid`,`branch_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='AT transaction mode undo table';
SET FOREIGN_KEY_CHECKS = 1;
|
DROP INDEX IF EXISTS LOCAL_DELIVERY_UNIT_IDX1;
DROP TABLE IF EXISTS LOCAL_DELIVERY_UNIT;
CREATE TABLE LOCAL_DELIVERY_UNIT
(
LOCAL_DELIVERY_UNIT_ID UUID PRIMARY KEY,
CODE VARCHAR(126) NOT NULL,
FUNCTIONAL_MAILBOX VARCHAR(126) NOT NULL,
CREATE_DATE_TIME TIMESTAMP NOT NULL,
CREATE_USER_ID VARCHAR(32) NOT NULL,
MODIFY_DATE_TIME TIMESTAMP,
MODIFY_USER_ID VARCHAR(32)
);
GRANT SELECT, INSERT, UPDATE, DELETE ON LOCAL_DELIVERY_UNIT TO probation_teams;
CREATE UNIQUE INDEX LOCAL_DELIVERY_UNIT_IDX1 ON LOCAL_DELIVERY_UNIT(CODE);
COMMENT ON TABLE LOCAL_DELIVERY_UNIT IS 'Holds information about a Local Delivery Unit';
COMMENT ON COLUMN LOCAL_DELIVERY_UNIT.LOCAL_DELIVERY_UNIT_ID IS 'Surrogate key';
COMMENT ON COLUMN LOCAL_DELIVERY_UNIT.CODE IS 'Local Delivery Unit Code. Business key';
|
-- phpMyAdmin SQL Dump
-- version 4.8.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 21, 2019 at 04:38 AM
-- Server version: 10.1.37-MariaDB
-- PHP Version: 5.6.40
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `online`
--
-- --------------------------------------------------------
--
-- Table structure for table `todo`
--
CREATE TABLE `todo` (
`id` int(11) NOT NULL,
`trip_id` varchar(50) NOT NULL,
`name` varchar(255) NOT NULL,
`description` text NOT NULL,
`status` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `todo`
--
INSERT INTO `todo` (`id`, `trip_id`, `name`, `description`, `status`) VALUES
(1, '1', 'test 1', 'for testing 123', '0'),
(2, '1', 'test 2', 'for testing 2', '2'),
(3, 'undefined', 'undefined', 'undefined', '1'),
(4, '2', 'Trip 2', 'Book Air Ticket', '1'),
(5, '2', 'trip 2.1', 'Book hotel', '1'),
(6, '2', 'Trip 2.2', 'Book Bus', '1'),
(7, '2', 'Trip 3.3', 'Book Tour', '1'),
(8, '2', 'Trip 3.4', 'Book Restaurant ', '1');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `todo`
--
ALTER TABLE `todo`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `todo`
--
ALTER TABLE `todo`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
-- @testpoint: 插入空值
-- @modify at: 2020-11-04
--创建表
DROP TABLE IF EXISTS test_blob09;
CREATE TABLE test_blob09 (name blob);
--插入数据
INSERT INTO test_blob09 VALUES (null);
--插入成功,查看数据
select * from test_blob09;
--清理环境
DROP TABLE test_blob09;
|
INSERT INTO CREDENTIALS (USER_NAME, PASSWORD)
VALUES
('hugo', '$2a$10$iNZser2g65z6gMT2C7OiZ.nQYpw2dyu.fAUasO..Ej8tpbUqddSq.'),
('paco', '$2a$10$iNZser2g65z6gMT2C7OiZ.nQYpw2dyu.fAUasO..Ej8tpbUqddSq.'),
('luis', '$2a$10$iNZser2g65z6gMT2C7OiZ.nQYpw2dyu.fAUasO..Ej8tpbUqddSq.'),
('pato', '$2a$10$iNZser2g65z6gMT2C7OiZ.nQYpw2dyu.fAUasO..Ej8tpbUqddSq.');
INSERT INTO ROLES (ROLE_ID,DESCRIPTION)
VALUES
('ROLE_USER', 'Regular system user'),
('ROLE_ADMIN', 'Admin user'),
('ROLE_DBA', 'DBA user');
INSERT INTO USER_ACCOUNT (USER_UUID, USER_NAME, DISPLAY_NAME)
VALUES
('uuid1', 'hugo', 'Hugo Boss'),
('uuid2', 'paco', 'Paco-merte mejor'),
('uuid3', 'luis', 'Su nombre artistico es'),
('uuid4', 'pato', 'Pato mio');
INSERT INTO USER_ROLES (USER_UUID, ROLE_ID)
VALUES
('uuid1', 'ROLE_USER'),
('uuid2', 'ROLE_ADMIN'),
('uuid3', 'ROLE_DBA'),
('uuid3', 'ROLE_ADMIN'),
('uuid4', 'ROLE_DBA');
|
SELECT
store, quarter, item, avg(sales) as "Average"
FROM
?SCHEMA?.transactions
GROUP BY store, quarter, item
|
set foreign_key_checks = 0;
delete from city;
delete from cuisine;
delete from family_permission;
delete from family;
delete from restaurant_payment_method;
delete from restaurant;
delete from product;
delete from permission;
delete from payment_method;
delete from state;
delete from user;
delete from user_group;
set foreign_key_checks = 1;
alter table city auto_increment = 1;
alter table cuisine auto_increment = 1;
alter table family auto_increment = 1;
alter table restaurant auto_increment = 1;
alter table product auto_increment = 1;
alter table permission auto_increment = 1;
alter table payment_method auto_increment = 1;
alter table state auto_increment = 1;
alter table user auto_increment = 1;
INSERT INTO state (id, name) VALUES (1, 'São Paulo'),(2, 'Bahia'),(3, 'Pernambuco');
INSERT INTO city (id, name, state_id) VALUES (1, 'São Paulo', 1),(2, 'Salvador', 2),(3, 'Recife', 3);
INSERT INTO cuisine (id, name) VALUES (1, 'Italian'),(2, 'Brazilian');
INSERT INTO restaurant (name, freight_rate, cuisine_id, registration_date,update_date, address_zipcode, address_street, address_number, address_city_id, address_district, address_complement, active) VALUES('Pecorino', 16.9, 1, utc_timestamp, utc_timestamp, '04285-001', 'Rua Elba','909', 1, 'Vila Moinho Velho', 'Casa 2', true);
INSERT INTO restaurant (name, freight_rate, cuisine_id, registration_date,update_date, address_zipcode, address_street, address_number, address_city_id, address_district, address_complement, active) VALUES('Soho', 30, 2, utc_timestamp, utc_timestamp,'40015-160', 'Rua Lafayete Coutinho','1010', 2, 'Bahia Marina', '', true);
INSERT INTO product (name, description, price, active, restaurant_id) VALUES ('Bruschetta', 'Delicious Italian delicacy with melted cheese.', 8, 1,1);
INSERT INTO product (name, description, price, active, restaurant_id) VALUES ('Fish Moqueca', 'Moqueca is a unique Brazilian delicacy.', 100, 1,2);
INSERT INTO payment_method (id, description) VALUES (1, 'Credit Card'),(2, 'Debit Card'),(3, 'Money');
INSERT INTO permission (id, name, description) VALUES (1, 'CONSULT', 'Allows you consult cuisines');
INSERT INTO permission (id, name, description) VALUES (2, 'EDIT', 'Allows you to edit cuisines');
INSERT INTO restaurant_payment_method (restaurant_id, payment_method_id) VALUES (1, 1),(1, 2),(1, 3),(2, 3);
INSERT INTO family (name) VALUES ('TESTE1'), ('TESTE2'), ('TESTE3'), ('TESTE4');
INSERT INTO user (id, name, email, password, registration_date) VALUES
(1, 'João da Silva', 'joao.ger@gmail.com', '123', utc_timestamp),
(2, 'Maria Joaquina', 'maria.vnd@gmail.com', '123', utc_timestamp),
(3, 'José Souza', 'jose.aux@gmail.com', '123', utc_timestamp),
(4, 'Sebastião Martins', 'sebastiao.cad@gmail.com', '123', utc_timestamp);
INSERT INTO product (name, description, price, active, restaurant_id) VALUES ('Food 1 - Restaurant 1', 'A', 78.90, 1, 1);
INSERT INTO product (name, description, price, active, restaurant_id) VALUES ('Food 2 - Restaurant 1', 'B', 110, 1, 1);
INSERT INTO product (name, description, price, active, restaurant_id) VALUES ('Food 3 - Restaurant 1', 'C', 87.20, 1, 1);
INSERT INTO product (name, description, price, active, restaurant_id) VALUES ('Food 4 - Restaurant 1', 'D', 21, 1, 1);
INSERT INTO product (name, description, price, active, restaurant_id) VALUES ('Food 1 - Restaurant 2', 'A', 43, 1, 2);
INSERT INTO product (name, description, price, active, restaurant_id) VALUES ('Food 2 - Restaurant 2', 'B', 79, 1, 2);
INSERT INTO product (name, description, price, active, restaurant_id) VALUES ('Food 3 - Restaurant 2', 'C', 89, 1, 2);
INSERT INTO product (name, description, price, active, restaurant_id) VALUES ('Food 4 - Restaurant 2', 'D', 19, 1, 2);
INSERT INTO product (name, description, price, active, restaurant_id) VALUES ('Food 5 - Restaurant 2', 'E', 8, 1, 2);
|
/* Create Tables */
-- 文章表
CREATE TABLE js_cms_article
(
id varchar2(64) NOT NULL,
category_code varchar2(64) NOT NULL,
module_type varchar2(50),
title nvarchar2(255) NOT NULL,
href nvarchar2(1000),
color varchar2(50),
image nvarchar2(1000),
keywords nvarchar2(500),
description nvarchar2(500),
weight number(10) DEFAULT 0,
weight_date timestamp,
source char(1),
copyfrom nvarchar2(255),
hits number(20) DEFAULT 0,
hits_plus number(10),
hits_minus number(10),
word_count number(10),
custom_content_view varchar2(255),
view_config nvarchar2(1000),
status char(1) DEFAULT '0' NOT NULL,
create_by varchar2(64) NOT NULL,
create_date timestamp NOT NULL,
update_by varchar2(64) NOT NULL,
update_date timestamp NOT NULL,
remarks nvarchar2(500),
corp_code varchar2(64) DEFAULT '0' NOT NULL,
corp_name nvarchar2(100) DEFAULT 'JeeSite' NOT NULL,
PRIMARY KEY (id)
);
-- 文章详情表
CREATE TABLE js_cms_article_data
(
id varchar2(64) NOT NULL,
content clob,
relation varchar2(1000),
is_can_comment char(1),
extend_s1 nvarchar2(500),
extend_s2 nvarchar2(500),
extend_s3 nvarchar2(500),
extend_s4 nvarchar2(500),
extend_s5 nvarchar2(500),
extend_s6 nvarchar2(500),
extend_s7 nvarchar2(500),
extend_s8 nvarchar2(500),
extend_i1 number(19),
extend_i2 number(19),
extend_i3 number(19),
extend_i4 number(19),
extend_f1 number(19,4),
extend_f2 number(19,4),
extend_f3 number(19,4),
extend_f4 number(19,4),
extend_d1 timestamp,
extend_d2 timestamp,
extend_d3 timestamp,
extend_d4 timestamp,
PRIMARY KEY (id)
);
-- 文章推荐位
CREATE TABLE js_cms_article_posid
(
article_id varchar2(64) NOT NULL,
postid char(1) NOT NULL
);
-- 文章与标签关系
CREATE TABLE js_cms_article_tag
(
article_id varchar2(64) NOT NULL,
tag_name nvarchar2(200) NOT NULL
);
-- 栏目表
CREATE TABLE js_cms_category
(
category_code varchar2(64) NOT NULL,
parent_code varchar2(64) NOT NULL,
parent_codes varchar2(1000) NOT NULL,
tree_sort number(10) NOT NULL,
tree_sorts varchar2(1000) NOT NULL,
tree_leaf char(1) NOT NULL,
tree_level number(4) NOT NULL,
tree_names nvarchar2(1000) NOT NULL,
category_name nvarchar2(100) NOT NULL,
site_code varchar2(64) NOT NULL,
module_type varchar2(50),
image varchar2(255),
href varchar2(255),
target varchar2(20),
keywords nvarchar2(500),
description nvarchar2(500),
in_menu char(1),
in_list char(1),
show_modes char(1),
is_need_audit char(1),
is_can_comment char(1),
custom_list_view varchar2(255),
custom_content_view varchar2(255),
view_config nvarchar2(1000),
status char(1) DEFAULT '0' NOT NULL,
create_by varchar2(64) NOT NULL,
create_date timestamp NOT NULL,
update_by varchar2(64) NOT NULL,
update_date timestamp NOT NULL,
remarks nvarchar2(500),
extend_s1 nvarchar2(500),
extend_s2 nvarchar2(500),
extend_s3 nvarchar2(500),
extend_s4 nvarchar2(500),
extend_s5 nvarchar2(500),
extend_s6 nvarchar2(500),
extend_s7 nvarchar2(500),
extend_s8 nvarchar2(500),
extend_i1 number(19),
extend_i2 number(19),
extend_i3 number(19),
extend_i4 number(19),
extend_f1 number(19,4),
extend_f2 number(19,4),
extend_f3 number(19,4),
extend_f4 number(19,4),
extend_d1 timestamp,
extend_d2 timestamp,
extend_d3 timestamp,
extend_d4 timestamp,
PRIMARY KEY (category_code)
);
-- 栏目与角色关联表
CREATE TABLE js_cms_category_role
(
category_code varchar2(64) NOT NULL,
role_code varchar2(64) NOT NULL,
ctrl_type varchar2(32),
PRIMARY KEY (category_code, role_code)
);
-- 文章评论表
CREATE TABLE js_cms_comment
(
id varchar2(64) NOT NULL,
category_code varchar2(64) NOT NULL,
article_id varchar2(64) NOT NULL,
parent_id varchar2(64),
article_title nvarchar2(255) NOT NULL,
content nvarchar2(255) NOT NULL,
name nvarchar2(50),
ip varchar2(100),
create_by varchar2(64),
create_date timestamp NOT NULL,
audit_user_code varchar2(64),
audit_date timestamp,
audit_comment nvarchar2(200),
hits_plus number(10),
hits_minus number(10),
status char(1) NOT NULL,
corp_code varchar2(64) DEFAULT '0' NOT NULL,
corp_name nvarchar2(100) DEFAULT 'JeeSite' NOT NULL,
PRIMARY KEY (id)
);
-- 留言板表
CREATE TABLE js_cms_guestbook
(
id varchar2(64) NOT NULL,
type char(1) NOT NULL,
content varchar2(255) NOT NULL,
name varchar2(100) NOT NULL,
email varchar2(100) NOT NULL,
phone varchar2(100) NOT NULL,
workunit varchar2(100) NOT NULL,
ip varchar2(100) NOT NULL,
create_by varchar2(64),
create_date timestamp,
re_user_code varchar2(64),
re_date timestamp,
re_content varchar2(100),
status char(1) NOT NULL,
corp_code varchar2(64) DEFAULT '0' NOT NULL,
corp_name nvarchar2(100) DEFAULT 'JeeSite' NOT NULL,
PRIMARY KEY (id)
);
-- 内容举报表
CREATE TABLE js_cms_report
(
id varchar2(64) NOT NULL,
report_source char(1),
report_content nvarchar2(500),
report_url nvarchar2(1000),
report_type char(1),
report_cause nvarchar2(500),
PRIMARY KEY (id)
);
-- 站点表
CREATE TABLE js_cms_site
(
site_code varchar2(64) NOT NULL,
site_name nvarchar2(100) NOT NULL,
site_sort number(10),
title nvarchar2(100) NOT NULL,
logo nvarchar2(1000),
domain nvarchar2(500),
keywords nvarchar2(500),
description nvarchar2(500),
theme nvarchar2(500),
copyright nvarchar2(1000),
custom_index_view varchar2(500),
status char(1) DEFAULT '0' NOT NULL,
create_by varchar2(64) NOT NULL,
create_date timestamp NOT NULL,
update_by varchar2(64) NOT NULL,
update_date timestamp NOT NULL,
remarks nvarchar2(500),
PRIMARY KEY (site_code)
);
-- 内容标签
CREATE TABLE js_cms_tag
(
tag_name nvarchar2(200) NOT NULL,
clicknum number(10) NOT NULL,
PRIMARY KEY (tag_name)
);
-- 访问日志表
CREATE TABLE js_cms_visit_log
(
id varchar2(64) NOT NULL,
request_url nvarchar2(1000),
request_url_host varchar2(128),
source_referer nvarchar2(1000),
source_referer_host varchar2(128),
source_type char(1),
search_engine varchar2(200),
search_word nvarchar2(200),
remote_addr varchar2(50),
user_agent nvarchar2(500),
user_language varchar2(32),
user_screen_size varchar2(32),
user_device varchar2(32),
user_os_name varchar2(32),
user_browser varchar2(32),
user_browser_version varchar2(16),
unique_visit_id varchar2(64),
visit_date char(8),
visit_time timestamp,
is_new_visit char(1),
first_visit_time number(20),
prev_remain_time number(20),
total_remain_time number(20),
site_code varchar2(64),
site_name nvarchar2(100),
category_code varchar2(64),
category_name nvarchar2(100),
content_id varchar2(64),
content_title nvarchar2(255),
visit_user_code varchar2(100),
visit_user_name varchar2(100),
corp_code varchar2(64) DEFAULT '0' NOT NULL,
corp_name nvarchar2(100) DEFAULT 'JeeSite' NOT NULL,
PRIMARY KEY (id)
);
/* Create Indexes */
CREATE INDEX idx_cms_article_cb ON js_cms_article (create_by);
CREATE INDEX idx_cms_article_cc ON js_cms_article (category_code);
CREATE INDEX idx_cms_article_corp_code ON js_cms_article (corp_code);
CREATE INDEX idx_cms_article_status ON js_cms_article (status);
CREATE INDEX idx_cms_article_ud ON js_cms_article (update_date);
CREATE INDEX idx_cms_article_weight ON js_cms_article (weight);
CREATE INDEX idx_cms_category_pc ON js_cms_category (parent_code);
CREATE INDEX idx_cms_category_ts ON js_cms_category (tree_sort);
CREATE INDEX idx_cms_category_status ON js_cms_category (status);
CREATE INDEX idx_cms_category_tss ON js_cms_category (tree_sorts);
CREATE INDEX idx_cms_comment_catc ON js_cms_comment (category_code);
CREATE INDEX idx_cms_comment_ai ON js_cms_comment (article_id);
CREATE INDEX idx_cms_comment_cc ON js_cms_comment (corp_code);
CREATE INDEX idx_cms_comment_status ON js_cms_comment (status);
CREATE INDEX idx_cms_guestbook_cc ON js_cms_guestbook (corp_code);
CREATE INDEX idx_cms_guestbook_status ON js_cms_guestbook (status);
CREATE INDEX idx_cms_guestbook_type ON js_cms_guestbook (type);
CREATE INDEX idx_cms_site_status ON js_cms_site (status);
CREATE INDEX cms_visit_log_cc ON js_cms_visit_log (category_code);
CREATE INDEX cms_visit_log_ci ON js_cms_visit_log (content_id);
CREATE INDEX cms_visit_log_fvt ON js_cms_visit_log (first_visit_time);
CREATE INDEX cms_visit_log_inv ON js_cms_visit_log (is_new_visit);
CREATE INDEX cms_visit_log_ra ON js_cms_visit_log (remote_addr);
CREATE INDEX cms_visit_log_sc ON js_cms_visit_log (site_code);
CREATE INDEX cms_visit_log_uvid ON js_cms_visit_log (unique_visit_id);
CREATE INDEX cms_visit_log_vd ON js_cms_visit_log (visit_date);
CREATE INDEX cms_visit_log_vt ON js_cms_visit_log (visit_time);
CREATE INDEX idx_cms_visit_log_corpc ON js_cms_visit_log (corp_code);
/* Comments */
COMMENT ON TABLE js_cms_article IS '文章表';
COMMENT ON COLUMN js_cms_article.id IS '编号';
COMMENT ON COLUMN js_cms_article.category_code IS '栏目编码';
COMMENT ON COLUMN js_cms_article.module_type IS '模块类型';
COMMENT ON COLUMN js_cms_article.title IS '内容标题';
COMMENT ON COLUMN js_cms_article.href IS '外部链接';
COMMENT ON COLUMN js_cms_article.color IS '标题颜色';
COMMENT ON COLUMN js_cms_article.image IS '内容图片';
COMMENT ON COLUMN js_cms_article.keywords IS '关键字';
COMMENT ON COLUMN js_cms_article.description IS '描述';
COMMENT ON COLUMN js_cms_article.weight IS '权重,越大越靠前';
COMMENT ON COLUMN js_cms_article.weight_date IS '权重期限';
COMMENT ON COLUMN js_cms_article.source IS '来源(转载/原创)';
COMMENT ON COLUMN js_cms_article.copyfrom IS '文章来源出处';
COMMENT ON COLUMN js_cms_article.hits IS '点击数';
COMMENT ON COLUMN js_cms_article.hits_plus IS '支持数';
COMMENT ON COLUMN js_cms_article.hits_minus IS '反对数';
COMMENT ON COLUMN js_cms_article.word_count IS '字数(不包含html)';
COMMENT ON COLUMN js_cms_article.custom_content_view IS '自定义内容视图';
COMMENT ON COLUMN js_cms_article.view_config IS '视图配置';
COMMENT ON COLUMN js_cms_article.status IS '状态(0正常 1删除 2停用)';
COMMENT ON COLUMN js_cms_article.create_by IS '创建者';
COMMENT ON COLUMN js_cms_article.create_date IS '创建时间';
COMMENT ON COLUMN js_cms_article.update_by IS '更新者';
COMMENT ON COLUMN js_cms_article.update_date IS '更新时间';
COMMENT ON COLUMN js_cms_article.remarks IS '备注信息';
COMMENT ON COLUMN js_cms_article.corp_code IS '租户代码';
COMMENT ON COLUMN js_cms_article.corp_name IS '租户名称';
COMMENT ON TABLE js_cms_article_data IS '文章详情表';
COMMENT ON COLUMN js_cms_article_data.id IS '编号';
COMMENT ON COLUMN js_cms_article_data.content IS '文章内容';
COMMENT ON COLUMN js_cms_article_data.relation IS '相关文章';
COMMENT ON COLUMN js_cms_article_data.is_can_comment IS '是否允许评论';
COMMENT ON COLUMN js_cms_article_data.extend_s1 IS '扩展 String 1';
COMMENT ON COLUMN js_cms_article_data.extend_s2 IS '扩展 String 2';
COMMENT ON COLUMN js_cms_article_data.extend_s3 IS '扩展 String 3';
COMMENT ON COLUMN js_cms_article_data.extend_s4 IS '扩展 String 4';
COMMENT ON COLUMN js_cms_article_data.extend_s5 IS '扩展 String 5';
COMMENT ON COLUMN js_cms_article_data.extend_s6 IS '扩展 String 6';
COMMENT ON COLUMN js_cms_article_data.extend_s7 IS '扩展 String 7';
COMMENT ON COLUMN js_cms_article_data.extend_s8 IS '扩展 String 8';
COMMENT ON COLUMN js_cms_article_data.extend_i1 IS '扩展 Integer 1';
COMMENT ON COLUMN js_cms_article_data.extend_i2 IS '扩展 Integer 2';
COMMENT ON COLUMN js_cms_article_data.extend_i3 IS '扩展 Integer 3';
COMMENT ON COLUMN js_cms_article_data.extend_i4 IS '扩展 Integer 4';
COMMENT ON COLUMN js_cms_article_data.extend_f1 IS '扩展 Float 1';
COMMENT ON COLUMN js_cms_article_data.extend_f2 IS '扩展 Float 2';
COMMENT ON COLUMN js_cms_article_data.extend_f3 IS '扩展 Float 3';
COMMENT ON COLUMN js_cms_article_data.extend_f4 IS '扩展 Float 4';
COMMENT ON COLUMN js_cms_article_data.extend_d1 IS '扩展 Date 1';
COMMENT ON COLUMN js_cms_article_data.extend_d2 IS '扩展 Date 2';
COMMENT ON COLUMN js_cms_article_data.extend_d3 IS '扩展 Date 3';
COMMENT ON COLUMN js_cms_article_data.extend_d4 IS '扩展 Date 4';
COMMENT ON TABLE js_cms_article_posid IS '文章推荐位';
COMMENT ON COLUMN js_cms_article_posid.article_id IS '内容编号';
COMMENT ON COLUMN js_cms_article_posid.postid IS '推荐位置(1轮播图 2首页推荐 3栏目页面)';
COMMENT ON TABLE js_cms_article_tag IS '文章与标签关系';
COMMENT ON COLUMN js_cms_article_tag.article_id IS '内容编号';
COMMENT ON COLUMN js_cms_article_tag.tag_name IS '标签名称';
COMMENT ON TABLE js_cms_category IS '栏目表';
COMMENT ON COLUMN js_cms_category.category_code IS '栏目编码';
COMMENT ON COLUMN js_cms_category.parent_code IS '父级编号';
COMMENT ON COLUMN js_cms_category.parent_codes IS '所有父级编号';
COMMENT ON COLUMN js_cms_category.tree_sort IS '本级排序号(升序)';
COMMENT ON COLUMN js_cms_category.tree_sorts IS '所有级别排序号';
COMMENT ON COLUMN js_cms_category.tree_leaf IS '是否最末级';
COMMENT ON COLUMN js_cms_category.tree_level IS '层次级别';
COMMENT ON COLUMN js_cms_category.tree_names IS '全节点名';
COMMENT ON COLUMN js_cms_category.category_name IS '栏目名称';
COMMENT ON COLUMN js_cms_category.site_code IS '站点编码';
COMMENT ON COLUMN js_cms_category.module_type IS '模块类型';
COMMENT ON COLUMN js_cms_category.image IS '栏目图片';
COMMENT ON COLUMN js_cms_category.href IS '链接';
COMMENT ON COLUMN js_cms_category.target IS '目标';
COMMENT ON COLUMN js_cms_category.keywords IS '关键字';
COMMENT ON COLUMN js_cms_category.description IS '描述';
COMMENT ON COLUMN js_cms_category.in_menu IS '是否在导航中显示';
COMMENT ON COLUMN js_cms_category.in_list IS '是否在分类页中显示列表';
COMMENT ON COLUMN js_cms_category.show_modes IS '展现模式';
COMMENT ON COLUMN js_cms_category.is_need_audit IS '是否需要审核';
COMMENT ON COLUMN js_cms_category.is_can_comment IS '是否允许评论';
COMMENT ON COLUMN js_cms_category.custom_list_view IS '自定义列表视图';
COMMENT ON COLUMN js_cms_category.custom_content_view IS '自定义内容视图';
COMMENT ON COLUMN js_cms_category.view_config IS '视图配置';
COMMENT ON COLUMN js_cms_category.status IS '状态(0正常 1删除 2停用)';
COMMENT ON COLUMN js_cms_category.create_by IS '创建者';
COMMENT ON COLUMN js_cms_category.create_date IS '创建时间';
COMMENT ON COLUMN js_cms_category.update_by IS '更新者';
COMMENT ON COLUMN js_cms_category.update_date IS '更新时间';
COMMENT ON COLUMN js_cms_category.remarks IS '备注信息';
COMMENT ON COLUMN js_cms_category.extend_s1 IS '扩展 String 1';
COMMENT ON COLUMN js_cms_category.extend_s2 IS '扩展 String 2';
COMMENT ON COLUMN js_cms_category.extend_s3 IS '扩展 String 3';
COMMENT ON COLUMN js_cms_category.extend_s4 IS '扩展 String 4';
COMMENT ON COLUMN js_cms_category.extend_s5 IS '扩展 String 5';
COMMENT ON COLUMN js_cms_category.extend_s6 IS '扩展 String 6';
COMMENT ON COLUMN js_cms_category.extend_s7 IS '扩展 String 7';
COMMENT ON COLUMN js_cms_category.extend_s8 IS '扩展 String 8';
COMMENT ON COLUMN js_cms_category.extend_i1 IS '扩展 Integer 1';
COMMENT ON COLUMN js_cms_category.extend_i2 IS '扩展 Integer 2';
COMMENT ON COLUMN js_cms_category.extend_i3 IS '扩展 Integer 3';
COMMENT ON COLUMN js_cms_category.extend_i4 IS '扩展 Integer 4';
COMMENT ON COLUMN js_cms_category.extend_f1 IS '扩展 Float 1';
COMMENT ON COLUMN js_cms_category.extend_f2 IS '扩展 Float 2';
COMMENT ON COLUMN js_cms_category.extend_f3 IS '扩展 Float 3';
COMMENT ON COLUMN js_cms_category.extend_f4 IS '扩展 Float 4';
COMMENT ON COLUMN js_cms_category.extend_d1 IS '扩展 Date 1';
COMMENT ON COLUMN js_cms_category.extend_d2 IS '扩展 Date 2';
COMMENT ON COLUMN js_cms_category.extend_d3 IS '扩展 Date 3';
COMMENT ON COLUMN js_cms_category.extend_d4 IS '扩展 Date 4';
COMMENT ON TABLE js_cms_category_role IS '栏目与角色关联表';
COMMENT ON COLUMN js_cms_category_role.category_code IS '栏目编码';
COMMENT ON COLUMN js_cms_category_role.role_code IS '角色编码';
COMMENT ON COLUMN js_cms_category_role.ctrl_type IS '控制类型(view查看、edit编辑)';
COMMENT ON TABLE js_cms_comment IS '文章评论表';
COMMENT ON COLUMN js_cms_comment.id IS '编号';
COMMENT ON COLUMN js_cms_comment.category_code IS '栏目编码';
COMMENT ON COLUMN js_cms_comment.article_id IS '内容编号';
COMMENT ON COLUMN js_cms_comment.parent_id IS '父级评论';
COMMENT ON COLUMN js_cms_comment.article_title IS '内容标题';
COMMENT ON COLUMN js_cms_comment.content IS '评论内容';
COMMENT ON COLUMN js_cms_comment.name IS '评论姓名';
COMMENT ON COLUMN js_cms_comment.ip IS '评论IP';
COMMENT ON COLUMN js_cms_comment.create_by IS '创建者';
COMMENT ON COLUMN js_cms_comment.create_date IS '创建时间';
COMMENT ON COLUMN js_cms_comment.audit_user_code IS '审核人';
COMMENT ON COLUMN js_cms_comment.audit_date IS '审核时间';
COMMENT ON COLUMN js_cms_comment.audit_comment IS '审核意见';
COMMENT ON COLUMN js_cms_comment.hits_plus IS '支持数';
COMMENT ON COLUMN js_cms_comment.hits_minus IS '反对数';
COMMENT ON COLUMN js_cms_comment.status IS '状态(0正常 1删除 2停用)';
COMMENT ON COLUMN js_cms_comment.corp_code IS '租户代码';
COMMENT ON COLUMN js_cms_comment.corp_name IS '租户名称';
COMMENT ON TABLE js_cms_guestbook IS '留言板表';
COMMENT ON COLUMN js_cms_guestbook.id IS '编号';
COMMENT ON COLUMN js_cms_guestbook.type IS '留言分类';
COMMENT ON COLUMN js_cms_guestbook.content IS '留言内容';
COMMENT ON COLUMN js_cms_guestbook.name IS '姓名';
COMMENT ON COLUMN js_cms_guestbook.email IS '邮箱';
COMMENT ON COLUMN js_cms_guestbook.phone IS '电话';
COMMENT ON COLUMN js_cms_guestbook.workunit IS '单位';
COMMENT ON COLUMN js_cms_guestbook.ip IS 'IP';
COMMENT ON COLUMN js_cms_guestbook.create_by IS '创建者';
COMMENT ON COLUMN js_cms_guestbook.create_date IS '创建时间';
COMMENT ON COLUMN js_cms_guestbook.re_user_code IS '回复人';
COMMENT ON COLUMN js_cms_guestbook.re_date IS '回复时间';
COMMENT ON COLUMN js_cms_guestbook.re_content IS '回复内容';
COMMENT ON COLUMN js_cms_guestbook.status IS '状态(0正常 1删除 2停用)';
COMMENT ON COLUMN js_cms_guestbook.corp_code IS '租户代码';
COMMENT ON COLUMN js_cms_guestbook.corp_name IS '租户名称';
COMMENT ON TABLE js_cms_report IS '内容举报表';
COMMENT ON COLUMN js_cms_report.id IS '编号';
COMMENT ON COLUMN js_cms_report.report_source IS '举报来源(1文章、2评论)';
COMMENT ON COLUMN js_cms_report.report_content IS '举报内容(文章标题 评论内容)';
COMMENT ON COLUMN js_cms_report.report_url IS '举报的URL';
COMMENT ON COLUMN js_cms_report.report_type IS '举报类型(色情 政治...)';
COMMENT ON COLUMN js_cms_report.report_cause IS '举报原因';
COMMENT ON TABLE js_cms_site IS '站点表';
COMMENT ON COLUMN js_cms_site.site_code IS '站点编码';
COMMENT ON COLUMN js_cms_site.site_name IS '站点名称';
COMMENT ON COLUMN js_cms_site.site_sort IS '站点排序号';
COMMENT ON COLUMN js_cms_site.title IS '站点标题';
COMMENT ON COLUMN js_cms_site.logo IS '站点Logo';
COMMENT ON COLUMN js_cms_site.domain IS '站点域名';
COMMENT ON COLUMN js_cms_site.keywords IS '关键字';
COMMENT ON COLUMN js_cms_site.description IS '描述';
COMMENT ON COLUMN js_cms_site.theme IS '主题';
COMMENT ON COLUMN js_cms_site.copyright IS '版权信息';
COMMENT ON COLUMN js_cms_site.custom_index_view IS '自定义站点首页视图';
COMMENT ON COLUMN js_cms_site.status IS '状态(0正常 1删除 2停用)';
COMMENT ON COLUMN js_cms_site.create_by IS '创建者';
COMMENT ON COLUMN js_cms_site.create_date IS '创建时间';
COMMENT ON COLUMN js_cms_site.update_by IS '更新者';
COMMENT ON COLUMN js_cms_site.update_date IS '更新时间';
COMMENT ON COLUMN js_cms_site.remarks IS '备注信息';
COMMENT ON TABLE js_cms_tag IS '内容标签';
COMMENT ON COLUMN js_cms_tag.tag_name IS '标签名称';
COMMENT ON COLUMN js_cms_tag.clicknum IS '点击次数';
COMMENT ON TABLE js_cms_visit_log IS '访问日志表';
COMMENT ON COLUMN js_cms_visit_log.id IS '编号';
COMMENT ON COLUMN js_cms_visit_log.request_url IS '请求的URL地址';
COMMENT ON COLUMN js_cms_visit_log.request_url_host IS '受访域名';
COMMENT ON COLUMN js_cms_visit_log.source_referer IS '来源页面/上一个页面';
COMMENT ON COLUMN js_cms_visit_log.source_referer_host IS '来源域名';
COMMENT ON COLUMN js_cms_visit_log.source_type IS '访问来源类型(1直接访问 2搜索引擎 3外部链接 4内部访问)';
COMMENT ON COLUMN js_cms_visit_log.search_engine IS '使用的搜索引擎';
COMMENT ON COLUMN js_cms_visit_log.search_word IS '搜索的关键词';
COMMENT ON COLUMN js_cms_visit_log.remote_addr IS '客户IP地址';
COMMENT ON COLUMN js_cms_visit_log.user_agent IS '用户代理字符串';
COMMENT ON COLUMN js_cms_visit_log.user_language IS '客户机语言';
COMMENT ON COLUMN js_cms_visit_log.user_screen_size IS '客户机屏幕大小0x0';
COMMENT ON COLUMN js_cms_visit_log.user_device IS '客户机设备类型(电脑、平板、手机、未知)';
COMMENT ON COLUMN js_cms_visit_log.user_os_name IS '客户机操作系统';
COMMENT ON COLUMN js_cms_visit_log.user_browser IS '客户机浏览器';
COMMENT ON COLUMN js_cms_visit_log.user_browser_version IS '浏览器版本';
COMMENT ON COLUMN js_cms_visit_log.unique_visit_id IS '唯一访问标识';
COMMENT ON COLUMN js_cms_visit_log.visit_date IS '本次访问日期(年月日)';
COMMENT ON COLUMN js_cms_visit_log.visit_time IS '本次访问时间';
COMMENT ON COLUMN js_cms_visit_log.is_new_visit IS '是否新访问(30分内)';
COMMENT ON COLUMN js_cms_visit_log.first_visit_time IS '首次访问时间戳(30分钟内)';
COMMENT ON COLUMN js_cms_visit_log.prev_remain_time IS '上页面停留时间(秒)';
COMMENT ON COLUMN js_cms_visit_log.total_remain_time IS '本次访问总停留时间(秒)';
COMMENT ON COLUMN js_cms_visit_log.site_code IS '站点编码';
COMMENT ON COLUMN js_cms_visit_log.site_name IS '站点名称';
COMMENT ON COLUMN js_cms_visit_log.category_code IS '栏目编码';
COMMENT ON COLUMN js_cms_visit_log.category_name IS '栏目名称';
COMMENT ON COLUMN js_cms_visit_log.content_id IS '栏目内容编号';
COMMENT ON COLUMN js_cms_visit_log.content_title IS '访问页面标题';
COMMENT ON COLUMN js_cms_visit_log.visit_user_code IS '访问用户编码';
COMMENT ON COLUMN js_cms_visit_log.visit_user_name IS '访问用户姓名';
COMMENT ON COLUMN js_cms_visit_log.corp_code IS '租户代码';
COMMENT ON COLUMN js_cms_visit_log.corp_name IS '租户名称';
|
-- phpMyAdmin SQL Dump
-- version 4.6.4
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Feb 04, 2019 at 01:36 PM
-- Server version: 5.6.33
-- PHP Version: 7.0.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `wpu_rest`
--
-- --------------------------------------------------------
--
-- Table structure for table `mahasiswa`
--
CREATE TABLE `mahasiswa` (
`id` int(11) NOT NULL,
`nrp` char(9) NOT NULL,
`nama` varchar(250) NOT NULL,
`email` varchar(250) DEFAULT NULL,
`jurusan` varchar(64) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `mahasiswa`
--
INSERT INTO `mahasiswa` (`id`, `nrp`, `nama`, `email`, `jurusan`) VALUES
(1, '043040001', 'Doddy Ferdiansyah', 'doy@gmail.com', 'Teknik Mesin'),
(2, '023040123', 'Erik', 'erik@gmail.com', 'Teknik Industri'),
(3, '043040321', 'Rommy Fauzi', 'rommy@gmail.com', 'Teknik Planologi'),
(4, '033040023', 'Fajar Darmawan ', 'fajar@yahoo.com', 'Teknik Informatika'),
(5, '113040321', 'Ferry Mulyanto', 'ferry@yahoo.com', 'Manajemen');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `mahasiswa`
--
ALTER TABLE `mahasiswa`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `mahasiswa`
--
ALTER TABLE `mahasiswa`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
WITH idx_names AS (
SELECT
LOWER(i.owner) AS owner,
i.index_name AS index_name,
LOWER(i.table_name) AS table_name,
LISTAGG(LOWER(c.column_name), '_') AS column_names
FROM all_indexes i
JOIN all_ind_columns c
ON i.index_name = c.index_name
WHERE i.owner = 'DJANGO'
GROUP BY i.owner, i.index_name, i.table_name
)
SELECT
'ALTER INDEX ' || index_name || ' RENAME TO ' || table_name || '_' || column_names || '_idx' AS cmd
FROM idx_names
WHERE owner = 'django'
AND index_name LIKE 'SYS_%'
\gexec
|
{{ config(schema="_AIRBYTE_TEST_NORMALIZATION", tags=["nested-intermediate"]) }}
-- SQL model to build a hash column based on the values of this record
select
*,
{{ dbt_utils.surrogate_key([
'_AIRBYTE_CONFLICT_STREAM_ARRAY_HASHID',
array_to_string('CONFLICT_STREAM_NAME'),
]) }} as _AIRBYTE_CONFLICT_STREAM_ARRAY_2_HASHID
from {{ ref('CONFLICT_STREAM_ARRAY_CONFLICT_STREAM_ARRAY_AB2') }}
-- CONFLICT_STREAM_ARRAY at conflict_stream_array/conflict_stream_array
|
/**
* Author: umaha
* Created: Nov 1, 2016
*/
SELECT
m.id_mhs, p.fd_id_pd as id_pd,
/* Informasi Mahasiswa : nama, tmpt & lahir, ibu kandung di exclude dr update */
decode(p.kelamin_pengguna, 1, 'L', 2, 'P', NULL, 'L') as jenis_kelamin, /* default Laki-Laki */
m.nisn as nisn,
NVL(m.nik_mhs, CASE WHEN LENGTH(cmb.nik_c_mhs) <= 16 THEN cmb.nik_c_mhs END) AS nik,
NVL((select id_feeder from agama where agama.id_agama = p.id_agama), 1) as id_agama, /* default Islam */
/* Info tempat tinggal */
SUBSTR(m.alamat_mhs, 1, 80) as jalan,
m.alamat_rt_mhs as rt,
m.alamat_rw_mhs as rw,
m.alamat_dusun_mhs as dusun,
SUBSTR(m.alamat_kelurahan_mhs, 1, 60) as kelurahan,
'000000' as id_wilayah,
m.alamat_kodepos as kode_pos,
SUBSTR(m.mobile_mhs, 1, 20) as handphone,
COALESCE(p.email_alternate, p.email_pengguna) as email,
/* Kartu Perlindungan Sosial */
0 as penerima_kps,
/* Informasi Ayah */
nm_ayah_mhs as nama_ayah,
/* Kewarganegaraan */
'ID' as kewarganegaraan
FROM mahasiswa m
JOIN pengguna p ON p.id_pengguna = m.id_pengguna
JOIN program_studi ps ON ps.id_program_studi = m.id_program_studi
JOIN perguruan_tinggi pt ON pt.id_perguruan_tinggi = p.id_perguruan_tinggi
LEFT JOIN calon_mahasiswa_baru cmb ON cmb.id_c_mhs = M.id_c_mhs
WHERE
pt.npsn = '@npsn' AND
ps.kode_program_studi = '@kode_prodi' AND
m.thn_angkatan_mhs = '@angkatan' AND
m.updated_on > m.fd_sync_on
ORDER BY 1 ASC
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.