sql
stringlengths
6
1.05M
<reponame>elkaissialae/node-docker-alae -- Poor man's migrations -- -- 12/18/17 -- CREATE TABLE public.colleges ( id SERIAL PRIMARY KEY NOT NULL, name VARCHAR NOT NULL, created_at TIMESTAMP DEFAULT NULL , updated_at TIMESTAMP DEFAULT NULL );
<reponame>lufrodriguezpo/Home -- phpMyAdmin SQL Dump -- version 4.7.0 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Oct 16, 2017 at 05:05 AM -- Server version: 10.1.25-MariaDB -- PHP Version: 7.1.7 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: `tutos_un` -- -- -- Dumping data for table `modulos` -- INSERT INTO `modulos` (`nivel`, `seccion`, `codigo`, `subcodigo`, `descripcion`) VALUES (3, 1, '01', '00', 'MONITORIAS PERSONALIZADAS/-/Programa de Monitorias Privadas/-/En este modulo usted prodrá agendar, verificar estados y ver disponibilidad de citas personalizadas con los tutuores/-/../images/personalizada.jpg/-/PARES/-/'), (3, 1, '01', '01', 'Agendar cita/-/../images/agendar.png?v=2/-/'), (3, 1, '01', '02', 'Mis citas agendadas/-/../images/historial.png?v=2/-/'), (3, 1, '02', '00', 'MONITORIAS COMUNES/-/Programa de Ambientes de estudio/-/En este modulo usted podra consultar e inscribirse a los distintos ambientes de estudios dispuestos por la direccion Academica/-/../images/ambiente.jpg/-/AMBIENTES/-/'), (3, 1, '02', '01', 'Inscribirse en un horario/-/../images/calendario_buscar.png/-/'), (3, 1, '02', '02', 'Mis asistencias a tutorias/-/../images/historial.png?v=2/-/'), (3, 1, '03', '00', 'FOROS/-/Publicacion y Visiualizacion de informacion/-/En este modulo usted podra publicar y visualizar publicaciones utiles para las distintas areas academicas. /-/../images/foro.jpg/-/FOROS/-/'); 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 */;
<filename>EpiInfo.Database.EIWeb/dbo/Tables/SurveyResponseUser.sql CREATE TABLE [dbo].[SurveyResponseUser]( [UserId] [int] NOT NULL, [ResponseId] [uniqueidentifier] NOT NULL, CONSTRAINT [PK_SurveyResponseUser] PRIMARY KEY CLUSTERED ( [UserId] ASC, [ResponseId] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO ALTER TABLE [dbo].[SurveyResponseUser] WITH CHECK ADD CONSTRAINT [FK_SurveyResponseUser_SurveyResponse] FOREIGN KEY([ResponseId]) REFERENCES [dbo].[SurveyResponse] ([ResponseId]) ON DELETE CASCADE GO ALTER TABLE [dbo].[SurveyResponseUser] CHECK CONSTRAINT [FK_SurveyResponseUser_SurveyResponse] GO ALTER TABLE [dbo].[SurveyResponseUser] WITH CHECK ADD CONSTRAINT [FK_SurveyResponseUser_User] FOREIGN KEY([UserId]) REFERENCES [dbo].[User] ([UserID]) GO ALTER TABLE [dbo].[SurveyResponseUser] CHECK CONSTRAINT [FK_SurveyResponseUser_User]
<gh_stars>1-10 /* islandIn */ DROP TABLE IF EXISTS islandIn ; CREATE TABLE IF NOT EXISTS islandIn( Island VARCHAR2(50), Sea VARCHAR2(50), Lake VARCHAR2(50), River VARCHAR2(50) ) ; INSERT INTO islandIn(Island,Sea,Lake,River) VALUES ('Svalbard','Norwegian Sea',NULL,NULL), ('Svalbard','Greenland Sea',NULL,NULL), ('Svalbard','Barents Sea',NULL,NULL), ('Svalbard','Arctic Ocean',NULL,NULL), ('Greenland','Atlantic Ocean',NULL,NULL), ('Greenland','Greenland Sea',NULL,NULL), ('Greenland','Arctic Ocean',NULL,NULL), ('Greenland','Labrador Sea',NULL,NULL), ('Iceland','Atlantic Ocean',NULL,NULL), ('Iceland','Norwegian Sea',NULL,NULL), ('Iceland','Greenland Sea',NULL,NULL), ('Austvågøy','Norwegian Sea',NULL,NULL), ('Streymoy','Atlantic Ocean',NULL,NULL), ('Streymoy','Norwegian Sea',NULL,NULL), ('Ireland','Atlantic Ocean',NULL,NULL), ('Ireland','Irish Sea',NULL,NULL), ('Great Britain','Atlantic Ocean',NULL,NULL), ('Great Britain','The Channel',NULL,NULL), ('Great Britain','Irish Sea',NULL,NULL), ('Great Britain','North Sea',NULL,NULL), ('Shetland Mainland','North Sea',NULL,NULL), ('Shetland Mainland','Norwegian Sea',NULL,NULL), ('Orkney Mainland','North Sea',NULL,NULL), ('South Ronaldsay','North Sea',NULL,NULL), ('Hoy','North Sea',NULL,NULL), ('Westray','North Sea',NULL,NULL), ('Barra','Atlantic Ocean',NULL,NULL), ('South Uist','Atlantic Ocean',NULL,NULL), ('Benbecula','Atlantic Ocean',NULL,NULL), ('North Uist','Atlantic Ocean',NULL,NULL), ('<NAME> Harris','Atlantic Ocean',NULL,NULL), ('Skye','Atlantic Ocean',NULL,NULL), ('Rhum','Atlantic Ocean',NULL,NULL), ('Mull','Atlantic Ocean',NULL,NULL), ('Tiree','Atlantic Ocean',NULL,NULL), ('Islay','Atlantic Ocean',NULL,NULL), ('Jura','Atlantic Ocean',NULL,NULL), ('Arran','Atlantic Ocean',NULL,NULL), ('Isle of Man','Irish Sea',NULL,NULL), ('Anglesey','Irish Sea',NULL,NULL), ('Isle of Wight','The Channel',NULL,NULL), ('Guernsey','The Channel',NULL,NULL), ('Jersey','The Channel',NULL,NULL), ('Gotland','Baltic Sea',NULL,NULL), ('Öland','Baltic Sea',NULL,NULL), ('Åland','Baltic Sea',NULL,NULL), ('Hiumaa','Baltic Sea',NULL,NULL), ('Ösel','Baltic Sea',NULL,NULL), ('Seeland','Kattegat',NULL,NULL), ('Seeland','Baltic Sea',NULL,NULL), ('Fünen','Kattegat',NULL,NULL), ('Fünen','Baltic Sea',NULL,NULL), ('Langeland','Baltic Sea',NULL,NULL), ('Falster','Baltic Sea',NULL,NULL), ('Lolland','Baltic Sea',NULL,NULL), ('Bornholm','Baltic Sea',NULL,NULL), ('Fehmarn','Baltic Sea',NULL,NULL), ('Rügen','Baltic Sea',NULL,NULL), ('Usedom','Baltic Sea',NULL,NULL), ('Helgoland','North Sea',NULL,NULL), ('Sylt','North Sea',NULL,NULL), ('Föhr','North Sea',NULL,NULL), ('Amrum','North Sea',NULL,NULL), ('Pellworm','North Sea',NULL,NULL), ('Wangerooge','North Sea',NULL,NULL), ('Spiekeroog','North Sea',NULL,NULL), ('Langeoog','North Sea',NULL,NULL), ('Baltrum','North Sea',NULL,NULL), ('Norderney','North Sea',NULL,NULL), ('Juist','North Sea',NULL,NULL), ('Borkum','North Sea',NULL,NULL), ('Schiermonnikoog','North Sea',NULL,NULL), ('Ameland','North Sea',NULL,NULL), ('Terschelling','North Sea',NULL,NULL), ('Vlieland','North Sea',NULL,NULL), ('Texel','North Sea',NULL,NULL), ('Krk','Mediterranean Sea',NULL,NULL), ('Cres','Mediterranean Sea',NULL,NULL), ('Bra?','Mediterranean Sea',NULL,NULL), ('Kor?ula','Mediterranean Sea',NULL,NULL), ('Korfu','Mediterranean Sea',NULL,NULL), ('Lefkas','Mediterranean Sea',NULL,NULL), ('Kefallinia','Mediterranean Sea',NULL,NULL), ('Zakynthos','Mediterranean Sea',NULL,NULL), ('Euboea','Mediterranean Sea',NULL,NULL), ('Samothraki','Mediterranean Sea',NULL,NULL), ('Lesbos','Mediterranean Sea',NULL,NULL), ('Chios','Mediterranean Sea',NULL,NULL), ('Samos','Mediterranean Sea',NULL,NULL), ('Ikaria','Mediterranean Sea',NULL,NULL), ('Kos','Mediterranean Sea',NULL,NULL), ('Rhodos','Mediterranean Sea',NULL,NULL), ('Syros','Mediterranean Sea',NULL,NULL), ('Mykonos','Mediterranean Sea',NULL,NULL), ('Crete','Mediterranean Sea',NULL,NULL), ('Cyprus','Mediterranean Sea',NULL,NULL), ('Corse','Mediterranean Sea',NULL,NULL), ('Elba','Mediterranean Sea',NULL,NULL), ('Sardegna','Mediterranean Sea',NULL,NULL), ('Alicudi','Mediterranean Sea',NULL,NULL), ('Filicudi','Mediterranean Sea',NULL,NULL), ('Salina','Mediterranean Sea',NULL,NULL), ('Lipari','Mediterranean Sea',NULL,NULL), ('Vulcano','Mediterranean Sea',NULL,NULL), ('Panarea','Mediterranean Sea',NULL,NULL), ('Stromboli','Mediterranean Sea',NULL,NULL), ('Sicilia','Mediterranean Sea',NULL,NULL), ('Lampedusa','Mediterranean Sea',NULL,NULL), ('Linosa','Mediterranean Sea',NULL,NULL), ('Malta','Mediterranean Sea',NULL,NULL), ('Gozo','Mediterranean Sea',NULL,NULL), ('Menorca','Mediterranean Sea',NULL,NULL), ('Mallorca','Mediterranean Sea',NULL,NULL), ('Ibiza','Mediterranean Sea',NULL,NULL), ('Formentera','Mediterranean Sea',NULL,NULL), ('Lanzarote','Atlantic Ocean',NULL,NULL), ('Fuerteventura','Atlantic Ocean',NULL,NULL), ('Gran Canaria','Atlantic Ocean',NULL,NULL), ('Teneriffa','Atlantic Ocean',NULL,NULL), ('Gomera','Atlantic Ocean',NULL,NULL), ('Hierro','Atlantic Ocean',NULL,NULL), ('La Palma','Atlantic Ocean',NULL,NULL), ('Madeira','Atlantic Ocean',NULL,NULL), ('Porto Santo','Atlantic Ocean',NULL,NULL), ('<NAME>','Atlantic Ocean',NULL,NULL), ('Santa Maria','Atlantic Ocean',NULL,NULL), ('Terceira','Atlantic Ocean',NULL,NULL), ('<NAME>','Atlantic Ocean',NULL,NULL), ('Pico','Atlantic Ocean',NULL,NULL), ('Faial','Atlantic Ocean',NULL,NULL), ('Graciosa','Atlantic Ocean',NULL,NULL), ('Flores (Azores)','Atlantic Ocean',NULL,NULL), ('Corvo','Atlantic Ocean',NULL,NULL), ('Santiago','Atlantic Ocean',NULL,NULL), ('Fogo','Atlantic Ocean',NULL,NULL), ('<NAME>','Atlantic Ocean',NULL,NULL), ('Principe','Atlantic Ocean',NULL,NULL), ('Bioko','Atlantic Ocean',NULL,NULL), ('<NAME>','Atlantic Ocean',NULL,NULL), ('Ascension','Atlantic Ocean',NULL,NULL), ('<NAME>','Atlantic Ocean',NULL,NULL), ('West Falkland','Atlantic Ocean',NULL,NULL), ('East Falkland','Atlantic Ocean',NULL,NULL), ('Bahrain','Persian Gulf',NULL,NULL), ('Khark','Persian Gulf',NULL,NULL), ('Qeshm','Gulf of Oman',NULL,NULL), ('Qeshm','Persian Gulf',NULL,NULL), ('Christmas Island','Indian Ocean',NULL,NULL), ('<NAME>ang','Indian Ocean',NULL,NULL), ('Male','Indian Ocean',NULL,NULL), ('Salsette','Arabian Sea',NULL,NULL), ('Kavaratti','Arabian Sea',NULL,NULL), ('Sri Lanka','Indian Ocean',NULL,NULL), ('Sri Lanka','Gulf of Bengal',NULL,NULL), ('South Andaman Island','Gulf of Bengal',NULL,NULL), ('South Andaman Island','Andaman Sea',NULL,NULL), ('Sokotra','Indian Ocean',NULL,NULL), ('Sokotra','Arabian Sea',NULL,NULL), ('Sokotra','Gulf of Aden',NULL,NULL), ('Sansibar','Indian Ocean',NULL,NULL), ('Pemba','Indian Ocean',NULL,NULL), ('Mahe','Indian Ocean',NULL,NULL), ('Grand Comoro','Indian Ocean',NULL,NULL), ('Anjouan','Indian Ocean',NULL,NULL), ('Mohéli','Indian Ocean',NULL,NULL), ('Mayotte','Indian Ocean',NULL,NULL), ('Reunion','Indian Ocean',NULL,NULL), ('Mauritius','Indian Ocean',NULL,NULL), ('Madagaskar','Indian Ocean',NULL,NULL), ('Novaya Zemlya Severny Island','Barents Sea',NULL,NULL), ('Novaya Zemlya Severny Island','Kara Sea',NULL,NULL), ('Novaya Zemlya Severny Island','Arctic Ocean',NULL,NULL), ('Novaya Zemlya Yuzhny Island','Barents Sea',NULL,NULL), ('Novaya Zemlya Yuzhny Island','Kara Sea',NULL,NULL), ('Kotelny Island','Arctic Ocean',NULL,NULL), ('Kotelny Island','East Sibirian Sea',NULL,NULL), ('Paramuschir','Pacific Ocean',NULL,NULL), ('Paramuschir','Sea of Okhotsk',NULL,NULL), ('Onekotan','Pacific Ocean',NULL,NULL), ('Onekotan','Sea of Okhotsk',NULL,NULL), ('Sachalin','Sea of Okhotsk',NULL,NULL), ('Sachalin','Sea of Japan',NULL,NULL), ('Hokkaido','Pacific Ocean',NULL,NULL), ('Hokkaido','Sea of Okhotsk',NULL,NULL), ('Hokkaido','Sea of Japan',NULL,NULL), ('Honshu','Pacific Ocean',NULL,NULL), ('Honshu','Sea of Japan',NULL,NULL), ('Kyushu','Pacific Ocean',NULL,NULL), ('Kyushu','Sea of Japan',NULL,NULL), ('Kyushu','East China Sea',NULL,NULL), ('Shikoku','Pacific Ocean',NULL,NULL), ('Awajishima','Seto Inland Sea',NULL,NULL), ('Okinawa','Pacific Ocean',NULL,NULL), ('Okinawa','East China Sea',NULL,NULL), ('Nishinoshima','Pacific Ocean',NULL,NULL), ('Jeju','East China Sea',NULL,NULL), ('Taiwan','Pacific Ocean',NULL,NULL), ('Taiwan','East China Sea',NULL,NULL), ('Taiwan','South China Sea',NULL,NULL), ('Great Kinmen','South China Sea',NULL,NULL), ('Xiamen','South China Sea',NULL,NULL), ('Hainan','South China Sea',NULL,NULL), ('Zhoushan','East China Sea',NULL,NULL), ('Chongming','East China Sea',NULL,NULL), ('Luzon','Pacific Ocean',NULL,NULL), ('Luzon','South China Sea',NULL,NULL), ('Mindoro','South China Sea',NULL,NULL), ('Mindoro','Sulu Sea',NULL,NULL), ('Sibuyan','Sulu Sea',NULL,NULL), ('Panay','Sulu Sea',NULL,NULL), ('Negros','Sulu Sea',NULL,NULL), ('Cebu','Sulu Sea',NULL,NULL), ('Bohol','Sulu Sea',NULL,NULL), ('Leyte','Pacific Ocean',NULL,NULL), ('Leyte','Sulu Sea',NULL,NULL), ('Samar','Pacific Ocean',NULL,NULL), ('Samar','Sulu Sea',NULL,NULL), ('Mindanao','Pacific Ocean',NULL,NULL), ('Mindanao','Sulawesi Sea',NULL,NULL), ('Mindanao','Sulu Sea',NULL,NULL), ('Palawan','South China Sea',NULL,NULL), ('Palawan','Sulu Sea',NULL,NULL), ('Ujong','South China Sea',NULL,NULL), ('Ujong','Malakka Strait',NULL,NULL), ('Penang','Malakka Strait',NULL,NULL), ('Ko Samui','Andaman Sea',NULL,NULL), ('Phuket','South China Sea',NULL,NULL), ('Sumatra','South China Sea',NULL,NULL), ('Sumatra','Indian Ocean',NULL,NULL), ('Sumatra','Andaman Sea',NULL,NULL), ('Sumatra','Malakka Strait',NULL,NULL), ('Sumatra','Java Sea',NULL,NULL), ('Batam','South China Sea',NULL,NULL), ('Bintan','South China Sea',NULL,NULL), ('Bangka','South China Sea',NULL,NULL), ('Bangka','Java Sea',NULL,NULL), ('Krakatau','Indian Ocean',NULL,NULL), ('Krakatau','Java Sea',NULL,NULL), ('Java','Indian Ocean',NULL,NULL), ('Java','Java Sea',NULL,NULL), ('Labuan','South China Sea',NULL,NULL), ('Borneo','South China Sea',NULL,NULL), ('Borneo','Java Sea',NULL,NULL), ('Borneo','Sulawesi Sea',NULL,NULL), ('Borneo','Sulu Sea',NULL,NULL), ('Madura','Java Sea',NULL,NULL), ('Bali','Indian Ocean',NULL,NULL), ('Bali','Java Sea',NULL,NULL), ('Lombok','Indian Ocean',NULL,NULL), ('Lombok','Java Sea',NULL,NULL), ('Sumbawa','Indian Ocean',NULL,NULL), ('Sumbawa','Java Sea',NULL,NULL), ('Sangeang','Java Sea',NULL,NULL), ('Flores','Indian Ocean',NULL,NULL), ('Flores','Java Sea',NULL,NULL), ('Flores','Banda Sea',NULL,NULL), ('Sumba','Indian Ocean',NULL,NULL), ('Timor','Indian Ocean',NULL,NULL), ('Timor','Banda Sea',NULL,NULL), ('Sulawesi','Java Sea',NULL,NULL), ('Sulawesi','Banda Sea',NULL,NULL), ('Sulawesi','Sulawesi Sea',NULL,NULL), ('Buru','Banda Sea',NULL,NULL), ('Ambon','Banda Sea',NULL,NULL), ('Ceram','Banda Sea',NULL,NULL), ('Halmahera','Pacific Ocean',NULL,NULL), ('Halmahera','Banda Sea',NULL,NULL), ('Ternate','Banda Sea',NULL,NULL), ('New Guinea','Pacific Ocean',NULL,NULL), ('New Guinea','Banda Sea',NULL,NULL), ('New Guinea','Arafura Sea',NULL,NULL), ('New Guinea','Coral Sea',NULL,NULL), ('Goodenough Island','Pacific Ocean',NULL,NULL), ('Bougainville','Pacific Ocean',NULL,NULL), ('New Britain','Pacific Ocean',NULL,NULL), ('New Ireland','Pacific Ocean',NULL,NULL), ('Guadalcanal','Pacific Ocean',NULL,NULL), ('Guadalcanal','Coral Sea',NULL,NULL), ('Kolombangara','Pacific Ocean',NULL,NULL), ('Grande Terre','Pacific Ocean',NULL,NULL), ('Grande Terre','Coral Sea',NULL,NULL), ('Grande Terre','Tasman Sea',NULL,NULL), ('Cangaroo Island','Indian Ocean',NULL,NULL), ('Melville Island','Indian Ocean',NULL,NULL), ('Lord Howe Island','Tasman Sea',NULL,NULL), ('Ball''s Pyramid','Tasman Sea',NULL,NULL), ('Tasmania','Indian Ocean',NULL,NULL), ('Tasmania','Tasman Sea',NULL,NULL), ('Victoria Island','Arctic Ocean',NULL,NULL), ('Banks Island','Arctic Ocean',NULL,NULL), ('Prince of Wales Island','Arctic Ocean',NULL,NULL), ('Baffin Island','Arctic Ocean',NULL,NULL), ('Baffin Island','Hudson Bay',NULL,NULL), ('Baffin Island','Labrador Sea',NULL,NULL), ('Southampton Island','Hudson Bay',NULL,NULL), ('Ellesmere Island','Arctic Ocean',NULL,NULL), ('Ellesmere Island','Labrador Sea',NULL,NULL), ('Devon Island','Arctic Ocean',NULL,NULL), ('Devon Island','Labrador Sea',NULL,NULL), ('<NAME>','Atlantic Ocean',NULL,NULL), ('Miquelon-Langlade','Atlantic Ocean',NULL,NULL), ('Newfoundland','Atlantic Ocean',NULL,NULL), ('Prince Edward Island','Atlantic Ocean',NULL,NULL), ('Marthas Vineyard','Atlantic Ocean',NULL,NULL), ('Nantucket','Atlantic Ocean',NULL,NULL), ('Long Island','Atlantic Ocean',NULL,NULL), ('Manhattan','Atlantic Ocean',NULL,NULL), ('Staten Island','Atlantic Ocean',NULL,NULL), ('Unalaska','Bering Sea',NULL,NULL), ('Unalaska','Pacific Ocean',NULL,NULL), ('Unimak','Bering Sea',NULL,NULL), ('Unimak','Pacific Ocean',NULL,NULL), ('Vancouver Island','Pacific Ocean',NULL,NULL), ('Santa Cruz Island','Pacific Ocean',NULL,NULL), ('Santa Catalina Island','Pacific Ocean',NULL,NULL), ('Santa Rosa Island','Pacific Ocean',NULL,NULL), ('San Clemente Island','Pacific Ocean',NULL,NULL), ('San Miguel Island','Pacific Ocean',NULL,NULL), ('Grand Bermuda','Atlantic Ocean',NULL,NULL), ('New Providence','Atlantic Ocean',NULL,NULL), ('Grand Turk','Atlantic Ocean',NULL,NULL), ('Providenciales','Atlantic Ocean',NULL,NULL), ('North Caicos','Atlantic Ocean',NULL,NULL), ('Cuba','Atlantic Ocean',NULL,NULL), ('Cuba','Gulf of Mexico',NULL,NULL), ('Cuba','Caribbean Sea',NULL,NULL), ('Isla de la Juventud','Caribbean Sea',NULL,NULL), ('Jamaica','Caribbean Sea',NULL,NULL), ('Hispaniola','Atlantic Ocean',NULL,NULL), ('Hispaniola','Caribbean Sea',NULL,NULL), ('<NAME>','Atlantic Ocean',NULL,NULL), ('<NAME>','Caribbean Sea',NULL,NULL), ('Tortola','Atlantic Ocean',NULL,NULL), ('Tortola','Caribbean Sea',NULL,NULL), ('<NAME>','Atlantic Ocean',NULL,NULL), ('<NAME>','Caribbean Sea',NULL,NULL), ('Anguilla','Atlantic Ocean',NULL,NULL), ('Anguilla','Caribbean Sea',NULL,NULL), ('<NAME>','Atlantic Ocean',NULL,NULL), ('St. Martin','Caribbean Sea',NULL,NULL), ('St. Barthelemy','Atlantic Ocean',NULL,NULL), ('St. Barthelemy','Caribbean Sea',NULL,NULL), ('<NAME>','Atlantic Ocean',NULL,NULL), ('Saint Kitts','Caribbean Sea',NULL,NULL), ('Nevis','Atlantic Ocean',NULL,NULL), ('Nevis','Caribbean Sea',NULL,NULL), ('Barbuda','Atlantic Ocean',NULL,NULL), ('Barbuda','Caribbean Sea',NULL,NULL), ('Antigua','Atlantic Ocean',NULL,NULL), ('Antigua','Caribbean Sea',NULL,NULL), ('Montserrat','Atlantic Ocean',NULL,NULL), ('Montserrat','Caribbean Sea',NULL,NULL), ('Basse-Terre','Atlantic Ocean',NULL,NULL), ('Basse-Terre','Caribbean Sea',NULL,NULL), ('Grande-Terre','Atlantic Ocean',NULL,NULL), ('Grande-Terre','Caribbean Sea',NULL,NULL), ('Dominica','Atlantic Ocean',NULL,NULL), ('Dominica','Caribbean Sea',NULL,NULL), ('Martinique','Atlantic Ocean',NULL,NULL), ('Martinique','Caribbean Sea',NULL,NULL), ('Saint Lucia','Atlantic Ocean',NULL,NULL), ('Saint Lucia','Caribbean Sea',NULL,NULL), ('Saint Vincent','Atlantic Ocean',NULL,NULL), ('Saint Vincent','Caribbean Sea',NULL,NULL), ('Barbados','Atlantic Ocean',NULL,NULL), ('Grenada','Atlantic Ocean',NULL,NULL), ('Grenada','Caribbean Sea',NULL,NULL), ('Trinidad','Atlantic Ocean',NULL,NULL), ('Trinidad','Caribbean Sea',NULL,NULL), ('Tobago','Atlantic Ocean',NULL,NULL), ('Tobago','Caribbean Sea',NULL,NULL), ('Curacao','Caribbean Sea',NULL,NULL), ('Aruba','Caribbean Sea',NULL,NULL), ('Grand Cayman','Caribbean Sea',NULL,NULL), ('Little Cayman','Caribbean Sea',NULL,NULL), ('Cayman Brac','Caribbean Sea',NULL,NULL), ('San Andres','Caribbean Sea',NULL,NULL), ('Isabela','Pacific Ocean',NULL,NULL), ('Marajó','Atlantic Ocean',NULL,NULL), ('Ilha de São Luís','Atlantic Ocean',NULL,NULL), ('Ilha de Vitória','Atlantic Ocean',NULL,NULL), ('Ilha de São Vicente','Atlantic Ocean',NULL,NULL), ('Ilha de Sãnto Amaro','Atlantic Ocean',NULL,NULL), ('Ilha de Santa Catarina','Atlantic Ocean',NULL,NULL), ('Chiloé','Pacific Ocean',NULL,NULL), ('Tierra del Fuego','Atlantic Ocean',NULL,NULL), ('Tierra del Fuego','Pacific Ocean',NULL,NULL), ('Niihau','Pacific Ocean',NULL,NULL), ('Kauai','Pacific Ocean',NULL,NULL), ('Oahu','Pacific Ocean',NULL,NULL), ('Molokai','Pacific Ocean',NULL,NULL), ('Lanai','Pacific Ocean',NULL,NULL), ('Maui','Pacific Ocean',NULL,NULL), ('Hawaii','Pacific Ocean',NULL,NULL), ('Niue','Pacific Ocean',NULL,NULL), ('Saipan','Pacific Ocean',NULL,NULL), ('Tinian','Pacific Ocean',NULL,NULL), ('Rota','Pacific Ocean',NULL,NULL), ('Uvea','Pacific Ocean',NULL,NULL), ('Futuna','Pacific Ocean',NULL,NULL), ('Tarawa','Pacific Ocean',NULL,NULL), ('Kiritimati','Pacific Ocean',NULL,NULL), ('Banaba','Pacific Ocean',NULL,NULL), ('Tongatapu','Pacific Ocean',NULL,NULL), ('Kao','Pacific Ocean',NULL,NULL), ('<NAME>','Pacific Ocean',NULL,NULL), ('<NAME>','Pacific Ocean',NULL,NULL), ('Norfolk Island','Pacific Ocean',NULL,NULL), ('Norfolk Island','Tasman Sea',NULL,NULL), ('Nauru','Pacific Ocean',NULL,NULL), ('Koror','Pacific Ocean',NULL,NULL), ('Babelthuap','Pacific Ocean',NULL,NULL), ('Fongafale','Pacific Ocean',NULL,NULL), ('Fakaofo','Pacific Ocean',NULL,NULL), ('Espiritu Santo','Pacific Ocean',NULL,NULL), ('<NAME>','Coral Sea',NULL,NULL), ('Efate','Pacific Ocean',NULL,NULL), ('Efate','Coral Sea',NULL,NULL), ('Upolu','Pacific Ocean',NULL,NULL), ('Savaii','Pacific Ocean',NULL,NULL), ('Tutuila','Pacific Ocean',NULL,NULL), ('Rarotonga','Pacific Ocean',NULL,NULL), ('Tahiti','Pacific Ocean',NULL,NULL), ('Ra''i?tea','Pacific Ocean',NULL,NULL), ('Mangareva','Pacific Ocean',NULL,NULL), ('Makatea','Pacific Ocean',NULL,NULL), ('Rangiroa','Pacific Ocean',NULL,NULL), ('Guam','Pacific Ocean',NULL,NULL), ('Majuro','Pacific Ocean',NULL,NULL), ('Kwajalein','Pacific Ocean',NULL,NULL), ('Pohnpei','Pacific Ocean',NULL,NULL), ('Pitcairn','Pacific Ocean',NULL,NULL), ('Henderson Island','Pacific Ocean',NULL,NULL), ('Easter Island','Pacific Ocean',NULL,NULL), ('Te Ika-a-Maui (North Island)','Pacific Ocean',NULL,NULL), ('Te Ika-a-Maui (North Island)','Tasman Sea',NULL,NULL), ('Te Waka-a-Maui (South Island)','Pacific Ocean',NULL,NULL), ('Te Waka-a-Maui (South Island)','Tasman Sea',NULL,NULL), ('Ukerewe',NULL,'Lake Victoria',NULL), ('Krenizyn',NULL,'Koltsevoye Lake',NULL), ('Olkhon',NULL,'Ozero Baikal',NULL), ('Taal Volcano Island',NULL,'Lake Taal',NULL), ('Taal Vulcan Point',NULL,'Taal Crater Lake',NULL), ('Samosir',NULL,'Lake Toba',NULL), ('Rene Levasseur Island',NULL,'Lake Manicouagan',NULL), ('Teresa Island',NULL,'Atlin Lake',NULL), ('Manitoulin',NULL,'Lake Huron',NULL), ('Treasure Island',NULL,'Lake Mindemoya',NULL), ('<NAME>',NULL,'Lake Nicaragua',NULL), ('Amantaní',NULL,'Lake Titicaca',NULL), ('<NAME>',NULL,NULL, 'Donau'), ('<NAME>',NULL,NULL, 'Waag'), ('<NAME>',NULL,NULL, 'Donau'), ('<NAME>',NULL,NULL, 'Donau'), ('<NAME>',NULL,NULL, 'Donau'), ('<NAME>',NULL,NULL, 'Save'), ('Impalila',NULL,NULL, 'Zambezi'), ('Chongming',NULL,NULL, 'Yangtze'), ('<NAME>',NULL,NULL, 'Saint Lawrence River'), ('<NAME>',NULL,NULL, 'Saint Lawrence River'), ('Manhattan',NULL,NULL, 'Hudson River'), ('Marajó',NULL,NULL, 'Tocantins'), ('Marajó',NULL,NULL, 'Araguaia'), ('<NAME>',NULL,NULL, 'Araguaia') ;
-- begin DASHBOARD_WIDGET_TEMPLATE alter table DASHBOARD_WIDGET_TEMPLATE add constraint FK_DASHBOARD_WIDGET_TEMPLATE_GROUP foreign key (GROUP_ID) references DASHBOARD_TEMPLATE_GROUP(ID)^ create index IDX_DASHBOARD_WIDGET_TEMPLATE_GROUP on DASHBOARD_WIDGET_TEMPLATE (GROUP_ID)^ -- end DASHBOARD_WIDGET_TEMPLATE -- begin DASHBOARD_DASHBOARD_GROUP create unique index IDX_DASHBOARD_GROUP_UK_NAME on DASHBOARD_DASHBOARD_GROUP (NAME) where DELETE_TS is null ^ -- end DASHBOARD_DASHBOARD_GROUP -- begin DASHBOARD_PERSISTENT_DASHBOARD alter table DASHBOARD_PERSISTENT_DASHBOARD add constraint FK_DASHBOARD_PERSISTENT_DASHBOARD_GROUP foreign key (GROUP_ID) references DASHBOARD_DASHBOARD_GROUP(ID)^ create unique index IDX_DASHBOARD_PERSISTENT_DASHBOARD_UK_REFERENCE_NAME on DASHBOARD_PERSISTENT_DASHBOARD (REFERENCE_NAME) where DELETE_TS is null ^ create index IDX_DASHBOARD_PERSISTENT_DASHBOARD_GROUP on DASHBOARD_PERSISTENT_DASHBOARD (GROUP_ID)^ -- end DASHBOARD_PERSISTENT_DASHBOARD -- begin DASHBOARD_TEMPLATE_GROUP create unique index IDX_DASHBOARD_TEMPLATE_GROUP_UK_NAME on DASHBOARD_TEMPLATE_GROUP (NAME) where DELETE_TS is null ^ -- end DASHBOARD_TEMPLATE_GROUP
DROP ALL OBJECTS; CREATE TABLE ADDRESS ( id int not null IDENTITY, street_name varchar(100), city varchar(100) not null, version int default 0, primary key (id) ); CREATE TABLE ACCOUNT ( id int not null IDENTITY, username varchar(100) not null, last_name varchar(255), birth_date timestamp, address_id int, constraint account_unique_1 unique (username), constraint account_fk_1 foreign key (address_id) references ADDRESS, primary key (id) ); -- use negative id to avoid conflict with auto generated ids. INSERT INTO ADDRESS (id, street_name, city) values(-1, 'Avenue des champs Elysées', 'Paris'); INSERT INTO ADDRESS (id, street_name, city) values(-2, 'Park avenue', 'New-York'); INSERT INTO ADDRESS (id, street_name, city) values(-3, 'Tochomae', 'Tokyo'); INSERT INTO ADDRESS (id, street_name, city) values(-4, 'California Street', 'San Francisco'); -- use negative id to avoid conflict with auto generated ids. INSERT INTO ACCOUNT (id, username, last_name, birth_date, address_id) VALUES (-1, 'nico', 'Romanetti', {d '1956-12-08'}, -1); INSERT INTO ACCOUNT (id, username, last_name, birth_date, address_id) VALUES (-2, 'flo', 'Ramimère', {d '1975-08-18'}, -2); INSERT INTO ACCOUNT (id, username, last_name, birth_date, address_id) VALUES (-3, 'bibi', 'Sock', {d '1979-01-08'}, -3); INSERT INTO ACCOUNT (id, username, last_name, birth_date, address_id) VALUES (-4, 'jlb', 'Boudart', {d '2012-10-30'}, -4); INSERT INTO ACCOUNT (id, username, last_name, birth_date, address_id) VALUES (-5, 'mick', 'Jagger', {d '1943-10-30'}, -1); INSERT INTO ACCOUNT (id, username, last_name, birth_date, address_id) VALUES (-6, 'keith', 'Richards', {d '1943-10-30'}, -2); INSERT INTO ACCOUNT (id, username, last_name, birth_date, address_id) VALUES (-7, 'charlie', 'Watts', {d '1941-10-30'}, -3);
-- # $Id$ /* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ SET FOREIGN_KEY_CHECKS=0; -- ======================================================== INSERT IGNORE INTO `module` (`name`, prettyname, perlpackage) VALUES ('provisioning_base', 'Base Provisioning Module', 'VCL::Module::Provisioning'); -- ======================================================== -- -- Table structure for table `config` -- CREATE TABLE IF NOT EXISTS `config` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(60) NOT NULL, `description` text, `ownerid` mediumint(8) unsigned NOT NULL DEFAULT '1', `configtypeid` tinyint(4) unsigned NOT NULL, `data` text, `optional` tinyint(1) unsigned NOT NULL DEFAULT '0', `deleted` tinyint(1) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `configtypeid` (`configtypeid`), KEY `ownerid` (`ownerid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='config templates'; -- -------------------------------------------------------- -- -- Table structure for table `configinstance` -- CREATE TABLE IF NOT EXISTS `configinstance` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `reservationid` mediumint(8) unsigned NOT NULL, `configid` mediumint(8) unsigned NOT NULL, `configmapid` mediumint(8) unsigned NOT NULL, `configinstancestatusid` smallint(5) unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`), KEY `configmapid` (`configmapid`), KEY `configinstancestatusid` (`configinstancestatusid`), KEY `reservationid` (`reservationid`), KEY `configid` (`configid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `configinstancestatus` -- CREATE TABLE IF NOT EXISTS `configinstancestatus` ( `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(45) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name_UNIQUE` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `configinstancestatus` -- INSERT IGNORE INTO `configinstancestatus` (`name`) VALUES('active'); INSERT IGNORE INTO `configinstancestatus` (`name`) VALUES('complete'); INSERT IGNORE INTO `configinstancestatus` (`name`) VALUES('failed'); INSERT IGNORE INTO `configinstancestatus` (`name`) VALUES('queued'); -- -------------------------------------------------------- -- -- Table structure for table `configinstancesubimage` -- CREATE TABLE IF NOT EXISTS `configinstancesubimage` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `configinstanceid` mediumint(8) unsigned NOT NULL, `configsubimageid` mediumint(8) unsigned NOT NULL, `reservationid` mediumint(8) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `configinstanceid` (`configinstanceid`), KEY `configsubimageid` (`configsubimageid`), KEY `reservationid` (`reservationid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `configinstancevariable` -- CREATE TABLE IF NOT EXISTS `configinstancevariable` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `configinstanceid` mediumint(8) unsigned NOT NULL, `configvariableid` mediumint(8) unsigned NOT NULL, `value` text, PRIMARY KEY (`id`), KEY `configvariableid` (`configvariableid`), KEY `configinstanceid` (`configinstanceid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `configmap` -- CREATE TABLE IF NOT EXISTS `configmap` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `configid` mediumint(8) unsigned NOT NULL, `configmaptypeid` smallint(5) unsigned NOT NULL, `subid` mediumint(8) unsigned NOT NULL, `affiliationid` mediumint(8) unsigned DEFAULT NULL, `disabled` tinyint(3) unsigned NOT NULL DEFAULT '0', `configstageid` smallint(5) unsigned NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `configid_UNIQUE` (`configid`,`configmaptypeid`,`subid`,`affiliationid`), KEY `affiliationid` (`affiliationid`), KEY `configstageid` (`configstageid`), KEY `configmaptypeid` (`configmaptypeid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `configmaporder` -- CREATE TABLE IF NOT EXISTS `configmaporder` ( `configmapid1` mediumint(8) unsigned NOT NULL, `configmapid2` mediumint(8) unsigned NOT NULL, `checkallreservations` tinyint(1) unsigned NOT NULL DEFAULT '0', KEY `configmapid1` (`configmapid1`), KEY `configmapid2` (`configmapid2`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `configmaptype` -- CREATE TABLE IF NOT EXISTS `configmaptype` ( `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(50) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name_UNIQUE` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `configmaptype` -- INSERT IGNORE INTO `configmaptype` (`name`) VALUES('image'); INSERT IGNORE INTO `configmaptype` (`name`) VALUES('OS'); INSERT IGNORE INTO `configmaptype` (`name`) VALUES('OStype'); INSERT IGNORE INTO `configmaptype` (`name`) VALUES('reservation'); INSERT IGNORE INTO `configmaptype` (`name`) VALUES('config'); INSERT IGNORE INTO `configmaptype` (`name`) VALUES('configsubimage'); INSERT IGNORE INTO `configmaptype` (`name`) VALUES('managementnode'); -- -------------------------------------------------------- -- -- Table structure for table `configstage` -- CREATE TABLE IF NOT EXISTS `configstage` ( `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(45) NOT NULL, `description` varchar(256) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name_UNIQUE` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `configstage` -- INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('reservation_start', 'start of reservation') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('reservation_end', 'end of reservation') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('before_user_shutdown', 'before user-initiated computer shutdown') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('after_user_shutdown', 'after user-initiated computer shutdown') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('before_user_reboot', 'before user-initiated computer reboot') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('after_user_reboot', 'after user-initiated computer reboot') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('before_reserve', 'after image is loaded, before user accounts are added') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('after_reserve', 'after user accounts are added, before checking for acknowledgment by user') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('before_check_connection', 'after reservation has been acknowledged by user, before checking for user connection') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('after_user_connection', 'after user connects') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('after_timeout_noack', 'after reservation times out because user never acknowledged') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('after_timeout_disconnected', 'after reservation times out because user disconnected') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('before_sanitize', 'before computer is sanitized when being reclaimed') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('after_sanitize', 'after computer is sanitized when being reclaimed') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('before_os_pre_capture', 'before OS steps are performed during image capture') ON DUPLICATE KEY UPDATE description=VALUES(description); INSERT IGNORE INTO `configstage` (`name`, `description`) VALUES('post_os_pre_capture', 'after OS steps are completed during image capture') ON DUPLICATE KEY UPDATE description=VALUES(description); -- -------------------------------------------------------- -- -- Table structure for table `configsubimage` -- CREATE TABLE IF NOT EXISTS `configsubimage` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `configid` mediumint(8) unsigned NOT NULL, `imageid` smallint(5) unsigned NOT NULL, `mininstance` tinyint(3) unsigned NOT NULL DEFAULT '1', `maxinstance` tinyint(3) unsigned NOT NULL DEFAULT '1', `description` varchar(128) DEFAULT NULL, PRIMARY KEY (`id`), KEY `imageid` (`imageid`), KEY `configid` (`configid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `configtype` -- CREATE TABLE IF NOT EXISTS `configtype` ( `id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(128) NOT NULL, `prettyname` varchar(40) NOT NULL, `description` varchar(256) DEFAULT NULL, `moduleid` smallint(5) unsigned DEFAULT NULL, `function` varchar(128) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name_UNIQUE` (`name`), KEY `moduleid` (`moduleid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `configtype` -- INSERT IGNORE INTO `configtype` (`name`, `prettyname`, `description`, `moduleid`, `function`) VALUES('cluster', 'Cluster', NULL, NULL, NULL); INSERT IGNORE INTO `configtype` (`name`, `prettyname`, `description`, `moduleid`, `function`) VALUES('os_command', 'OS Command', NULL, (SELECT `id` FROM `module` WHERE `perlpackage` = 'VCL::Module::OS'), 'execute'); INSERT IGNORE INTO `configtype` (`name`, `prettyname`, `description`, `moduleid`, `function`) VALUES('os_module_function', 'OS Module Function', NULL, (SELECT `id` FROM `module` WHERE `perlpackage` = 'VCL::Module::OS'), '<FUNCTION>'); INSERT IGNORE INTO `configtype` (`name`, `prettyname`, `description`, `moduleid`, `function`) VALUES('provisioning_module_function', 'Provisioning Module Function', NULL, (SELECT `id` FROM `module` WHERE `perlpackage` = 'VCL::Module::Provisioning'), '<FUNCTION>'); -- -------------------------------------------------------- -- -- Table structure for table `configvariable` -- CREATE TABLE IF NOT EXISTS `configvariable` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `description` varchar(128) DEFAULT NULL, `configid` mediumint(8) unsigned NOT NULL, `type` enum('auto','user') NOT NULL DEFAULT 'user', `datatypeid` tinyint(3) unsigned NOT NULL, `defaultvalue` varchar(1024) DEFAULT NULL, `required` tinyint(3) unsigned NOT NULL DEFAULT '1', `identifier` varchar(255) DEFAULT NULL, `ask` tinyint(3) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `configid_name_UNIQUE` (`name`,`configid`), KEY `configid` (`configid`), KEY `datatypeid` (`datatypeid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Triggers `configvariable` -- DROP TRIGGER IF EXISTS `set_configvariable_identifier`; DELIMITER // CREATE TRIGGER `set_configvariable_identifier` BEFORE INSERT ON `configvariable` FOR EACH ROW BEGIN SET NEW.identifier = CONCAT('<', REPLACE(NEW.name, ' ', ''), '-', NEW.configid, '>'); END // DELIMITER ; DROP TRIGGER IF EXISTS `update_configvariable_identifier`; DELIMITER // CREATE TRIGGER `update_configvariable_identifier` BEFORE UPDATE ON `configvariable` FOR EACH ROW BEGIN SET NEW.identifier = CONCAT('<', REPLACE(NEW.name, ' ', ''), '-', NEW.configid, '>'); END // DELIMITER ; -- -------------------------------------------------------- -- -- Table structure for table `datatype` -- CREATE TABLE IF NOT EXISTS `datatype` ( `id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(32) NOT NULL, `description` varchar(128) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name_UNIQUE` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `datatype` -- INSERT IGNORE INTO `datatype` (`name`, `description`) VALUES('bool', NULL); INSERT IGNORE INTO `datatype` (`name`, `description`) VALUES('int', NULL); INSERT IGNORE INTO `datatype` (`name`, `description`) VALUES('float', NULL); INSERT IGNORE INTO `datatype` (`name`, `description`) VALUES('string', NULL); INSERT IGNORE INTO `datatype` (`name`, `description`) VALUES('text', NULL); -- ======================================================== -- -- Constraints for dumped tables -- ALTER TABLE `config` ADD CONSTRAINT FOREIGN KEY (`ownerid`) REFERENCES `user` (`id`) ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configtypeid`) REFERENCES `configtype` (`id`) ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configtypeid`) REFERENCES `configtype` (`id`) ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`ownerid`) REFERENCES `user` (`id`) ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`ownerid`) REFERENCES `user` (`id`) ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configtypeid`) REFERENCES `configtype` (`id`) ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`ownerid`) REFERENCES `user` (`id`) ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configtypeid`) REFERENCES `configtype` (`id`) ON UPDATE CASCADE; ALTER TABLE `configinstance` ADD CONSTRAINT FOREIGN KEY (`reservationid`) REFERENCES `reservation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configid`) REFERENCES `config` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configmapid`) REFERENCES `configmap` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configinstancestatusid`) REFERENCES `configinstancestatus` (`id`) ON UPDATE CASCADE; ALTER TABLE `configinstancesubimage` ADD CONSTRAINT FOREIGN KEY (`reservationid`) REFERENCES `reservation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configinstanceid`) REFERENCES `configinstance` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configsubimageid`) REFERENCES `configsubimage` (`id`) ON UPDATE CASCADE; ALTER TABLE `configinstancevariable` ADD CONSTRAINT FOREIGN KEY (`configvariableid`) REFERENCES `configvariable` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configinstanceid`) REFERENCES `configinstance` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; ALTER TABLE `configmap` ADD CONSTRAINT FOREIGN KEY (`configstageid`) REFERENCES `configstage` (`id`) ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configid`) REFERENCES `config` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configmaptypeid`) REFERENCES `configmaptype` (`id`) ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`affiliationid`) REFERENCES `affiliation` (`id`) ON UPDATE CASCADE; ALTER TABLE `configmaporder` ADD CONSTRAINT FOREIGN KEY (`configmapid2`) REFERENCES `configmap` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configmapid1`) REFERENCES `configmap` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; ALTER TABLE `configsubimage` ADD CONSTRAINT FOREIGN KEY (`imageid`) REFERENCES `image` (`id`) ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configid`) REFERENCES `config` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; ALTER TABLE `configtype` ADD CONSTRAINT FOREIGN KEY (`moduleid`) REFERENCES `module` (`id`) ON UPDATE CASCADE; ALTER TABLE `configvariable` ADD CONSTRAINT FOREIGN KEY (`datatypeid`) REFERENCES `datatype` (`id`) ON UPDATE CASCADE, ADD CONSTRAINT FOREIGN KEY (`configid`) REFERENCES `config` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- ======================================================== SET FOREIGN_KEY_CHECKS=1;
<gh_stars>1-10 create table if not exists guild_settings ( guild_id bigint NOT NULL, prefix text, PRIMARY KEY (guild_id) );
-- Configure the DB2 to allow MQT based optimization -- DFT_REFRESH_AGE - default value for CURRENT REFRESH AGE special register -- DFT_MTTB_TYPES - default value for CURRENT MAINTAINED TABLE TYPES FOR OPTIMIZATION special register UPDATE DB CFG FOR BIGSQL USING DFT_REFRESH_AGE ANY; UPDATE DB CFG FOR BIGSQL USING DFT_MTTB_TYPES ALL; -- Create MQTs & caching tables associated with the nicknames CREATE TABLE mqt_blocks AS (SELECT * FROM nn_blocks_opt) DATA INITIALLY DEFERRED REFRESH DEFERRED DISABLE QUERY OPTIMIZATION MAINTAINED BY USER; CREATE TABLE mqt_tx AS (SELECT * FROM nn_tx_opt) DATA INITIALLY DEFERRED REFRESH DEFERRED DISABLE QUERY OPTIMIZATION MAINTAINED BY USER; CREATE TABLE cache_blocks AS (SELECT * FROM nn_blocks) WITH NO DATA; CREATE TABLE cache_tx AS (SELECT * FROM nn_tx) WITH NO DATA; -- Set the integrity pending state of the MQTs SET INTEGRITY FOR mqt_blocks MATERIALIZED QUERY IMMEDIATE UNCHECKED; SET INTEGRITY FOR mqt_tx MATERIALIZED QUERY IMMEDIATE UNCHECKED; -- Import the existing rows from the nicknames into the MQTs INSERT INTO mqt_blocks (SELECT * FROM nn_blocks WHERE ORDINAL > (SELECT MAX(ORDINAL) FROM mqt_blocks)); INSERT INTO mqt_tx (SELECT * FROM nn_tx WHERE BLOCK_ORDINAL > (SELECT MAX(BLOCK_ORDINAL) FROM mqt_tx)); INSERT INTO cache_blocks (SELECT * FROM nn_blocks WHERE ORDINAL > (SELECT MAX(ORDINAL) FROM cache_blocks)); INSERT INTO cache_tx (SELECT * FROM nn_tx WHERE BLOCK_ORDINAL > (SELECT MAX(BLOCK_ORDINAL) FROM cache_tx)); -- Enable optimization for some of the MQTs ALTER MATERIALIZED QUERY mqt_blocks SET ENABLE QUERY OPTIMIZATION; ALTER MATERIALIZED QUERY mqt_tx SET ENABLE QUERY OPTIMIZATION; -- Create stats for the MQTs & caching tables ANALYZE TABLE mqt_blocks COMPUTE STATISTICS FOR ALL COLUMNS; ANALYZE TABLE mqt_tx COMPUTE STATISTICS FOR ALL COLUMNS; ANALYZE TABLE cache_blocks COMPUTE STATISTICS FOR ALL COLUMNS; ANALYZE TABLE cache_tx COMPUTE STATISTICS FOR ALL COLUMNS; -- Create the view to access both cached & fresh data CREATE VIEW all_blocks AS (SELECT * FROM cache_blocks UNION ALL SELECT * FROM nn_blocks WHERE ORDINAL > (SELECT MAX(ORDINAL) FROM cache_blocks)); CREATE VIEW all_tx AS (SELECT * FROM cache_tx UNION ALL SELECT * FROM nn_tx WHERE BLOCK_ORDINAL > (SELECT MAX(BLOCK_ORDINAL) FROM cache_tx));
<filename>master/static/migrations/20210903092940_add-allocation-columns.tx.down.sql ALTER TABLE public.allocations DROP COLUMN slots, DROP COLUMN agent_label;
<filename>tests/queries/1_stateful/00086_array_reduce.sql SELECT arrayFilter(x -> x != 1, arrayMap((a, b) -> a = b, GeneralInterests, arrayReduce('groupArray', GeneralInterests))) AS res FROM test.hits WHERE length(res) != 0;
<filename>sql/grad19.sql INSERT INTO `graduates` (`id`, `units_id`, `fam`, `nam`, `sur`, `photo1`, `photo2`, `info`, `rip`, `locals_id`) VALUES (NULL,10,'Бочаров','Александр','Викторович','19_01.jpg','','',0,1), (NULL,10,'Голубев','Александр','Львович','19_02.jpg','','',0,1), (NULL,10,'Горбатенко','Михаил','Петрович','19_03.jpg','','',0,1), (NULL,10,'Грек','Юрий','Петрович','19_04.jpg','','',0,1), (NULL,10,'Ершов','Сергей','Евгеньевич','19_05.jpg','','',0,1), (NULL,10,'Залож','Виктор','Викторович','19_06.jpg','','',0,1), (NULL,10,'Ковалев','Александр','Борисович','19_07.jpg','','',0,1), (NULL,10,'Колчев','Андрей','Вячеславович','19_08.jpg','','',0,1), (NULL,10,'Коцарь','Сергей','Борисович','19_09.jpg','','',0,1), (NULL,10,'Кулаков','Владимир','Владимирович','19_10.jpg','','',0,1), (NULL,10,'Лапшин','Анатолий','Михайлович','19_11.jpg','','',0,1), (NULL,10,'Масилевич','Артур','Станиславович','19_12.jpg','','',0,1), (NULL,10,'Масляков','Владимир','Владимирович','19_13.jpg','','',0,1), (NULL,10,'Савенко','Николай','Георгиевич','19_14.jpg','','',0,1), (NULL,10,'Семенов','Виталий','Анатольевич','19_15.jpg','','',0,1), (NULL,10,'Шишко','Андрей','Олисович','19_16.jpg','','',0,1)
<filename>migration/2020/20201215/up.sql ALTER TABLE map_cell ADD COLUMN link_url text;
<filename>scripts/Aula/DDL.sql<gh_stars>0 USE [Cursos] GO DROP TABLE IF EXISTS [Curso] GO CREATE TABLE [Curso]( [Id] INT NOT NULL IDENTITY, [Nome] NVARCHAR(80) NOT NULL, [CategoriaId] INT NOT NULL ) GO -- Criacao da tadela categoria DROP TABLE IF EXISTS [Categoria] GO CREATE TABLE [Categoria]( [Id] INT NOT NULL IDENTITY, [Nome] NVARCHAR(80) NOT NULL, ) GO ALTER TABLE [Curso] ADD CONSTRAINT [PK_Curso] PRIMARY KEY ([Id]) ALTER TABLE [Categoria] ADD CONSTRAINT [PK_Categoria] PRIMARY KEY ([Id]) ALTER TABLE [Curso] ADD CONSTRAINT [FK_Curso_Categoria] FOREIGN KEY ([CategoriaId]) REFERENCES [Categoria] ([Id]) GO
<filename>packages/UsageAnalysis/queries/param_queries.sql<gh_stars>0 --name: _groupCompleter --input: string sub --connection: System:Datagrok select id, name from ( select id, name, (case when name = @sub then 10 when name like @sub || '%' then 9 else 1 end) as weight from groups where personal = false and name ilike '%' || @sub || '%' order by weight desc, name limit 50 ) a --end --name: _userCompleter --input: string sub --connection: System:Datagrok select id, name from ( select id, friendly_name as name, (case when friendly_name = @sub or login = @sub or first_name = @sub or last_name = @sub then 10 when friendly_name like @sub || '%' or login like @sub || '%' or first_name like @sub || '%' or last_name like @sub || '%' then 9 else 1 end) as weight from users where friendly_name ilike '%' || @sub || '%' or login ilike '%' || @sub || '%' or first_name ilike '%' || @sub || '%' or last_name ilike '%' || @sub || '%' order by weight desc, name limit 50 ) a --end --name: _actionCompleter --input: string sub --connection: System:Datagrok select name from ( select distinct name, (case when name = @sub then 10 when name like @sub || '%' then 9 else 1 end) as weight from event_types where name ilike '%' || @sub || '%' order by weight desc, name limit 50 ) a --end --name: _queriesCompleter --input: string sub --connection: System:Datagrok select id, name from ( select id, name, (case when name = @sub then 10 when name like @sub || '%' then 9 else 1 end) as weight from queries where name ilike '%' || @sub || '%' order by weight desc, name limit 50 ) a --end --name: _projectCompleter --input: string sub --connection: System:Datagrok select id, name from ( select id, name, (case when name = @sub then 10 when name like @sub || '%' then 9 else 1 end) as weight from projects where name ilike '%' || @sub || '%' order by weight desc, name limit 50 ) a --end --name: @action by @user on @date --input: string action { suggestions: LogAnalysis:actionCompleter } --input: string user { suggestions: LogAnalysis:userCompleter} --input: string date { pattern: datetime } --connection: System:Datagrok select t.name, t.source, e.event_time from events e inner join event_types t on e.event_type_id = t.id inner join users_sessions s on e.session_id = s.id inner join users u on u.id = s.user_id where u.id = @user and @date(e.event_time) and t.name = @action --end --name: @group members --tags: log --input: string group { suggestions: LogAnalysis:groupCompleter } --connection: System:Datagrok WITH RECURSIVE children(id, name, is_admin, depth, path, path1, cycle) AS ( SELECT g.id, g.friendly_name, false, 1, ARRAY[g.id], ''::text, false FROM groups g where g.id = @group UNION ALL SELECT g.id, g.friendly_name, c.is_admin or (case when c.depth = 1 then r.is_admin else false end), c.depth + 1, path || g.id, path1 || '/' || g.friendly_name, g.id = ANY(path) FROM children c inner join groups_relations r on r.parent_id=c.id inner join groups g on r.child_id = g.id WHERE NOT cycle) select u.name, u.login, c.path1 as path from children c inner join users u on u.group_id = c.id --end --name: actions by @user on @date --input: string user { suggestions: LogAnalysis:userCompleter } --input: string date { pattern: datetime } --connection: System:Datagrok select t.name, t.source, e.event_time from events e inner join event_types t on e.event_type_id = t.id inner join users_sessions s on e.session_id = s.id inner join users u on u.id = s.user_id where u.id = @user and @date(e.event_time) --end --name: @user events by hours --tags: log --input: string @user { suggestions: logAnalysis:userCompleter } --connection: System:Datagrok select hh as hours_ago, description from (select e.description, extract(hour from now() - e.event_time) as hh from users u inner join events e inner join event_parameter_values v on v.event_id = e.id inner join event_parameters p on p.event_type_id = e.event_type_id and p.type = 'entity_id' and p.name = 'user' and p.id = v.parameter_id on u.id::varchar = v.value where u.id = @user and e.event_time >= (now() - '1 day'::INTERVAL)) data order by hours_ago --end
<reponame>Panger95/tkStrikeDB DROP TABLE IF EXISTS TKS_DIFFERENTIAL_SCORE_DEF; CREATE TABLE TKS_DIFFERENTIAL_SCORE_DEF(ID VARCHAR(45) NOT NULL PRIMARY KEY,VERSION INTEGER,PHASE_ID VARCHAR(45) NOT NULL,SUBCATEGORY_ID VARCHAR(45) NOT NULL,THE_VALUE INTEGER DEFAULT 0); INSERT INTO TKS_DIFFERENTIAL_SCORE_DEF VALUES -- -- WT CADET -- ('1',0,'06','1',99), -- ('2',0,'07','1',99), -- ('3',0,'08','1',99), -- ('4',0,'11','1',99), -- -- WT JUNIOR -- ('5',0,'06','2',99), -- ('6',0,'07','2',99), -- ('7',0,'08','2',99), -- ('8',0,'11','2',99), -- WT SENIOR ('9',0,'06','3',99), ('10',0,'07','3',99), ('11',0,'08','3',99), ('12',0,'11','3',99); -- -- ULTRA -- ('13',0,'06','4',99), -- ('14',0,'07','4',99), -- ('15',0,'08','4',99), -- ('16',0,'11','4',99), -- -- OLYMPIC -- ('17',0,'06','6',99), -- ('18',0,'07','6',99), -- ('19',0,'08','6',99), -- ('20',0,'11','6',99), -- -- CADET MIN -- ('21',0,'06','7',99), -- ('22',0,'07','7',99), -- ('23',0,'08','7',99), -- ('24',0,'11','7',99), -- -- JUNIOR MIN -- ('25',0,'06','8',99), -- ('26',0,'07','8',99), -- ('27',0,'08','8',99), -- ('28',0,'11','8',99), -- -- SENIOR MIN -- ('29',0,'06','9',99), -- ('30',0,'07','9',99), -- ('31',0,'08','9',99), -- ('32',0,'11','9',99), -- -- GEN 1 COLOR CADET -- ('33',0,'06','10',99), -- ('34',0,'07','10',99), -- ('35',0,'08','10',99), -- ('36',0,'11','10',99), -- -- GEN 1 COLOR JUNIOR -- ('37',0,'06','11',99), -- ('38',0,'07','11',99), -- ('39',0,'08','11',99), -- ('40',0,'11','11',99), -- -- GEN 1 COLOR SENIOR -- ('41',0,'06','12',99), -- ('42',0,'07','12',99), -- ('43',0,'08','12',99), -- ('44',0,'11','12',99), -- -- GEN 1 KIDS 4-5 -- ('45',0,'06','13',99), -- ('46',0,'07','13',99), -- ('47',0,'08','13',99), -- ('48',0,'11','13',99), -- -- GEN 1 KIDS 6-7 -- ('49',0,'06','14',99), -- ('50',0,'07','14',99), -- ('51',0,'08','14',99), -- ('52',0,'11','14',99), -- -- GEN 1 KIDS 8-9 -- ('53',0,'06','15',99), -- ('54',0,'07','15',99), -- ('55',0,'08','15',99), -- ('56',0,'11','15',99), -- -- GEN 2 KIDS 8-9 -- ('57',0,'06','16',99), -- ('58',0,'07','16',99), -- ('59',0,'08','16',99), -- ('60',0,'11','16',99);
begin; -- query for nearby points select id, category from forum_example.job where st_dwithin( geom, st_geomfromtext('point(0 0)', 26910), 1000 ); SELECT row_to_json(fc) FROM ( SELECT 'FeatureCollection' As type, array_to_json(array_agg(f)) As jobs FROM (SELECT 'Feature' As type , ST_AsGeoJSON(lg.geom)::json As geometry , row_to_json(lp) As properties FROM forum_example.job As lg INNER JOIN (SELECT id, category FROM forum_example.job) As lp ON lg.id = lp.id ) As f ) As fc; or avoiding a self-join by doing this SELECT row_to_json(fc) FROM ( SELECT 'FeatureCollection' As type, array_to_json(array_agg(f)) As jobs FROM (SELECT 'Feature' As type , ST_AsGeoJSON(lg.geom)::json As geometry , row_to_json((SELECT l FROM (SELECT id, category) As l )) As properties FROM forum_example.job As lg ) As f ) As fc;
if exists (select * from sysobjects where id = object_id(N'[dbo].[TestParameterSPCheckBox]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[TestParameterSPCheckBox] GO CREATE PROCEDURE [dbo].[TestParameterSPCheckBox] AS SELECT 1 [Value], 'MyCBValue1' [Name] UNION ALL SELECT 2 , 'MyCBValue2' UNION ALL SELECT 3 , 'MyCBValue3'
<reponame>markliu2013/java-tutorial create database jdbc; use jdbc; DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(45) DEFAULT NULL, `birthday` datetime DEFAULT NULL, `money` decimal(15,2) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; INSERT INTO `user` VALUES (1,'A','1987-01-01 00:00:00',100.00),(2,'B','1987-01-01 00:00:00',100.00);
<filename>database/2.3_migrate_locations.sql INSERT INTO ospos_stock_locations (location_name) (SELECT location FROM ospos_items WHERE NOT EXISTS (select location from ospos_stock_locations where location_name = location)); INSERT INTO ospos_item_quantities (item_id, location_id, quantity) (SELECT item_id, location_id, quantity FROM ospos_items, ospos_stock_locations where ospos_items.location = ospos_stock_locations.location_name);
<gh_stars>1-10 IF OBJECT_ID('DateList', 'U') IS NOT NULL BEGIN DROP TABLE [dbo].DateList END GO /* --- create table -------------------- */ CREATE TABLE dbo.DateList ( [Date] DATE NOT NULL, [Year] SMALLINT, --YearFiscal SMALLINT, [Quarter] TINYINT, -- need fiscal quarter [Month] TINYINT, [MonthText] VARCHAR(9), [Day] TINYINT, [DayText] VARCHAR(9), [DateOfWeek] TINYINT, [Week] TINYINT, [WeekIso] TINYINT, IsWeekday BIT ); /* --- insert number of record -------------------- */ INSERT dbo.DateList([Date]) SELECT DATEADD(DAY, Number, '2009-12-31') FROM dbo.NumberList WHERE Number <= 10957 -- ends on last day of 2039 ORDER BY Number; /* --- add data for simple columns -------------------- */ UPDATE dbo.DateList SET [Year] = YEAR([Date]), --FiscalYear = YEAR(dt), /* -- if our fiscal year starts on May 1st: FY = CASE WHEN MONTH(dt) < 5 THEN YEAR(dt)-1 ELSE YEAR(dt) END, */ [Quarter] = DATEPART(QUARTER, [Date]), --[FiscalQuarter] = CASE -- WHEN MONTH([Date]) <= 3 THEN 1 -- WHEN MONTH([Date]) <= 6 THEN 2 -- WHEN MONTH([Date]) <= 9 THEN 3 -- ELSE 4 END, [Month] = MONTH([Date]), [MonthText] = DATENAME(MONTH, [Date]), [Day] = DAY([Date]), [DayText] = DATENAME(DW, [Date]), [DateOfWeek] = DATEPART(DW, [Date]), [Week] = DATEPART(WEEK, [Date]), [WeekIso] = DATEPART(ISO_WEEK, [Date]), IsWeekday = CASE WHEN DATEPART(DW, [Date]) IN (1,7) THEN 0 ELSE 1 END; -- /* --- Week Start (monday of week) --------------- */ -- DATEADD(wk, DATEDIFF(wk,0,[Date]), 0) MondayOfCurrentWeek /* --- Add PK -------------------------------- */ ALTER TABLE dbo.DateList ADD CONSTRAINT PK_DateList PRIMARY KEY CLUSTERED ([Date]);
CREATE TABLE minicloud_users ( id BiGSERIAL UNIQUE PRIMARY KEY, uuid VARCHAR(32) NOT NULL UNIQUE DEFAULT lpad(md5(random()::text), 32), name TEXT UNIQUE NOT NULL, email TEXT UNIQUE NOT NULL, password TEXT NOT NULL, admin BOOLEAN NOT NULL DEFAULT false, disabled BOOLEAN NOT NULL DEFAULT false, media TEXT, activation_key VARCHAR(32), created_at TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT (now() AT TIME ZONE 'utc'), updated_at TIMESTAMP WITHOUT TIME ZONE NOT NULL ); CREATE INDEX minicloud_users_uuid_idx ON minicloud_users (uuid); CREATE INDEX minicloud_users_name_idx ON minicloud_users (name); CREATE TABLE minicloud_uploads ( id BIGSERIAL UNIQUE PRIMARY KEY, uid VARCHAR(16) NOT NULL DEFAULT lpad(md5(random()::text), 16), user_id BIGINT NOT NULL REFERENCES minicloud_users(id) ON DELETE CASCADE, reference BIGINT REFERENCES minicloud_uploads(id), backref BIGINT REFERENCES minicloud_uploads(id), lo OID, type INT NOT NULL, title TEXT NOT NULL, size BIGINT NOT NULL, mime TEXT NOT NULL, created_at TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT (now() AT TIME ZONE 'utc'), updated_at TIMESTAMP WITHOUT TIME ZONE NOT NULL, UNIQUE (user_id, title, reference), UNIQUE (user_id, uid) ); CREATE INDEX minicloud_uploads_uid_idx ON minicloud_uploads (uid); CREATE INDEX minicloud_uploads_user_id_idx ON minicloud_uploads (user_id); CREATE INDEX minicloud_uploads_reference_idx ON minicloud_uploads (reference); CREATE INDEX minicloud_uploads_uid_reference_idx ON minicloud_uploads (uid, reference); CREATE INDEX minicloud_uploads_type_idx ON minicloud_uploads (type); CREATE TABLE minicloud_gallery ( id BIGSERIAL UNIQUE PRIMARY KEY, uid VARCHAR(16) NOT NULL DEFAULT lpad(md5(random()::text), 16), user_id BIGINT NOT NULL REFERENCES minicloud_users(id) ON DELETE CASCADE, uploads_id BIGINT NOT NULL REFERENCES minicloud_uploads(id) ON DELETE CASCADE, category TEXT NOT NULL DEFAULT 'Default', title TEXT NOT NULL, description TEXT, thumbnail_data bytea NOT NULL, thumbnail_size BIGINT NOT NULL, thumbnail_mime TEXT NOT NULL, created_at TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT (now() AT TIME ZONE 'utc'), updated_at TIMESTAMP WITHOUT TIME ZONE NOT NULL, UNIQUE (user_id, title, category), UNIQUE (uploads_id, title, category), UNIQUE (user_id, uid) ); CREATE INDEX minicloud_gallery_uid_idx ON minicloud_gallery (uid); CREATE INDEX minicloud_gallery_user_id_idx ON minicloud_gallery (user_id); CREATE INDEX minicloud_gallery_category_idx ON minicloud_gallery (lower(category)); CREATE TABLE minicloud_tasks ( id BIGSERIAL UNIQUE PRIMARY KEY, uid VARCHAR(16) NOT NULL DEFAULT lpad(md5(random()::text), 16), user_id BIGINT NOT NULL REFERENCES minicloud_users(id) ON DELETE CASCADE, status TEXT NOT NULL DEFAULT 'pending', title TEXT NOT NULL, description TEXT, category TEXT NOT NULL DEFAULT 'Default', due TIMESTAMP WITHOUT TIME ZONE, done TIMESTAMP WITHOUT TIME ZONE, process TIMESTAMP WITHOUT TIME ZONE, created_at TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT (now() AT TIME ZONE 'utc'), updated_at TIMESTAMP NOT NULL, UNIQUE (user_id, title, category), UNIQUE (user_id, uid) ); CREATE INDEX minicloud_tasks_uid_idx ON minicloud_tasks (uid); CREATE INDEX minicloud_tasks_user_id_idx ON minicloud_tasks (user_id); CREATE INDEX minicloud_tasks_category_idx ON minicloud_tasks (lower(category)); CREATE TABLE minicloud_notes ( id BIGSERIAL UNIQUE PRIMARY KEY, uid VARCHAR(16) NOT NULL DEFAULT lpad(md5(random()::text), 16), user_id BIGINT NOT NULL REFERENCES minicloud_users(id) ON DELETE CASCADE, description TEXT NOT NULL, category TEXT NOT NULL DEFAULT 'Default', tags TEXT[] NOT NULL DEFAULT '{}', created_at TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT (now() AT TIME ZONE 'utc'), updated_at TIMESTAMP WITHOUT TIME ZONE NOT NULL, UNIQUE (user_id, uid) ); CREATE INDEX minicloud_notes_uid_idx ON minicloud_notes (uid); CREATE INDEX minicloud_notes_user_id_idx ON minicloud_notes (user_id); CREATE INDEX minicloud_notes_search_idx ON minicloud_notes USING GIN (to_tsvector('simple', description)); CREATE TABLE minicloud_diashow ( id BIGSERIAL UNIQUE PRIMARY KEY, uid VARCHAR(16) NOT NULL DEFAULT lpad(md5(random()::text), 16), uuid VARCHAR(32) NOT NULL UNIQUE DEFAULT lpad(md5(random()::text), 32), user_id BIGINT NOT NULL REFERENCES minicloud_users(id) ON DELETE CASCADE, category TEXT NOT NULL, created_at TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT (now() AT TIME ZONE 'utc'), updated_at TIMESTAMP WITHOUT TIME ZONE NOT NULL, UNIQUE (user_id, category), UNIQUE (user_id, uid) ); CREATE INDEX minicloud_diashow_uid_idx ON minicloud_diashow (uid); CREATE INDEX minicloud_diashow_user_id_idx ON minicloud_diashow (user_id); CREATE INDEX minicloud_diashow_uuid_idx ON minicloud_diashow (uuid); CREATE INDEX minicloud_diashow_category_idx ON minicloud_diashow (lower(category)); CREATE TABLE minicloud_multimedia ( id BIGSERIAL UNIQUE PRIMARY KEY, uuid VARCHAR(32) NOT NULL UNIQUE DEFAULT lpad(md5(random()::text), 32), type TEXT NOT NULL, category TEXT NOT NULL, title TEXT NOT NULL, description TEXT, path TEXT NOT NULL UNIQUE, index TEXT NOT NULL, url TEXT NOT NULL, source TEXT NOT NULL, mime TEXT NOT NULL, size BIGINT NOT NULL, director TEXT NOT NULL DEFAULT 'Generic', actors TEXT[] NOT NULL DEFAULT '{}', year INT NOT NULL, capture TEXT, created_at TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT (now() AT TIME ZONE 'utc'), updated_at TIMESTAMP WITHOUT TIME ZONE NOT NULL, UNIQUE (category, title, year, mime), UNIQUE (source, path, mime), UNIQUE (source, index), UNIQUE (source, url) ); CREATE INDEX minicloud_multimedia_category_idx ON minicloud_multimedia (category); CREATE INDEX minicloud_multimedia_type_idx ON minicloud_multimedia (type); CREATE INDEX minicloud_multimedia_uuid_idx ON minicloud_multimedia (uuid); CREATE INDEX minicloud_multimedia_director_idx ON minicloud_multimedia (director); CREATE INDEX minicloud_multimedia_actors_idx ON minicloud_multimedia USING GIN (actors); CREATE INDEX minicloud_multimedia_title_idx ON minicloud_multimedia (title); CREATE INDEX minicloud_multimedia_year_idx ON minicloud_multimedia (year); CREATE TABLE minicloud_auths ( id BIGSERIAL UNIQUE PRIMARY KEY, uid VARCHAR(16) NOT NULL DEFAULT lpad(md5(random()::text), 16), user_id BIGINT NOT NULL REFERENCES minicloud_users(id) ON DELETE CASCADE, token VARCHAR(32) NOT NULL UNIQUE DEFAULT lpad(md5(random()::text), 32), xtimes INT NOT NULL DEFAULT 1, created_at TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT (now() AT TIME ZONE 'utc'), updated_at TIMESTAMP WITHOUT TIME ZONE NOT NULL, UNIQUE (user_id, uid) ); CREATE OR REPLACE FUNCTION minicloud_updated_at_task() RETURNS TRIGGER AS $$ BEGIN NEW.updated_at = now() AT TIME ZONE 'utc'; RETURN NEW; END; $$ language 'plpgsql'; CREATE TRIGGER minicloud_updated_notes_trigger BEFORE INSERT OR UPDATE ON minicloud_notes FOR EACH ROW EXECUTE PROCEDURE minicloud_updated_at_task(); CREATE TRIGGER minicloud_updated_uploads_trigger BEFORE INSERT OR UPDATE ON minicloud_uploads FOR EACH ROW EXECUTE PROCEDURE minicloud_updated_at_task(); CREATE TRIGGER minicloud_updated_tasks_trigger BEFORE INSERT OR UPDATE ON minicloud_tasks FOR EACH ROW EXECUTE PROCEDURE minicloud_updated_at_task(); CREATE TRIGGER minicloud_updated_users_trigger BEFORE INSERT OR UPDATE ON minicloud_users FOR EACH ROW EXECUTE PROCEDURE minicloud_updated_at_task(); CREATE TRIGGER minicloud_updated_gallery_trigger BEFORE INSERT OR UPDATE ON minicloud_gallery FOR EACH ROW EXECUTE PROCEDURE minicloud_updated_at_task(); CREATE TRIGGER minicloud_updated_diashow_trigger BEFORE INSERT OR UPDATE ON minicloud_diashow FOR EACH ROW EXECUTE PROCEDURE minicloud_updated_at_task(); CREATE TRIGGER minicloud_updated_multimedia_trigger BEFORE INSERT OR UPDATE ON minicloud_multimedia FOR EACH ROW EXECUTE PROCEDURE minicloud_updated_at_task(); CREATE TRIGGER minicloud_updated_auth_trigger BEFORE INSERT OR UPDATE ON minicloud_auths FOR EACH ROW EXECUTE PROCEDURE minicloud_updated_at_task(); COMMIT;
<reponame>BugsUK/FindApprenticeship Create PROCEDURE [dbo].[uspGetUniqueKeyRegister] @KeyValue nvarchar(100) AS BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON; SELECT count(1) as KeyCount from UniqueKeyRegister Where KeyValue=@KeyValue END
<reponame>almasen/rdf-mapped<filename>server/migrations/sqls/20200518225515-add-constraints-up.sql -- -- foreign keys -- Reference: category_capability (table: category) ALTER TABLE category ADD CONSTRAINT category_capability FOREIGN KEY (capability_id) REFERENCES capability (id) NOT DEFERRABLE INITIALLY IMMEDIATE ; -- Reference: competency_category (table: competency) ALTER TABLE competency ADD CONSTRAINT competency_category FOREIGN KEY (category_id) REFERENCES category (id) NOT DEFERRABLE INITIALLY IMMEDIATE ; -- Reference: course_capability (table: course) ALTER TABLE course ADD CONSTRAINT course_capability FOREIGN KEY (capability_id) REFERENCES capability (id) NOT DEFERRABLE INITIALLY IMMEDIATE ; -- Reference: course_category (table: course) ALTER TABLE course ADD CONSTRAINT course_category FOREIGN KEY (category_id) REFERENCES category (id) NOT DEFERRABLE INITIALLY IMMEDIATE ; -- Reference: course_competency (table: course) ALTER TABLE course ADD CONSTRAINT course_competency FOREIGN KEY (competency_id) REFERENCES competency (id) NOT DEFERRABLE INITIALLY IMMEDIATE ; -- Reference: video_capability (table: video) ALTER TABLE video ADD CONSTRAINT video_capability FOREIGN KEY (capability_id) REFERENCES capability (id) NOT DEFERRABLE INITIALLY IMMEDIATE ; -- Reference: video_category (table: video) ALTER TABLE video ADD CONSTRAINT video_category FOREIGN KEY (category_id) REFERENCES category (id) NOT DEFERRABLE INITIALLY IMMEDIATE ; -- Reference: video_competency (table: video) ALTER TABLE video ADD CONSTRAINT video_competency FOREIGN KEY (competency_id) REFERENCES competency (id) NOT DEFERRABLE INITIALLY IMMEDIATE ; -- -- End of file.
/* NOTE This SQL file contain the following tables: Cell, Location, RestaurantTable With data related to each tables */; USE `zg6kbqpoxrbx4hox`; CREATE TABLE IF NOT EXISTS `Cell` ( `x_coord` int(11) NOT NULL, `y_coord` int(11) NOT NULL, `confidence` int(11) NOT NULL, PRIMARY KEY (`x_coord`,`y_coord`) ); -- Place holder data for cell INSERT INTO `Cell` (`x_coord`, `y_coord`, `confidence`) VALUES (-1, -1, -1); CREATE TABLE IF NOT EXISTS `Location` ( `positionID` varchar(36) NOT NULL, `remark` varchar(512) DEFAULT NULL, `u_indicator` int(11) NOT NULL, `x_coord` int(11) NOT NULL, `y_coord` int(11) NOT NULL, PRIMARY KEY (`positionID`), FOREIGN KEY (`x_coord`, `y_coord`) REFERENCES `Cell` (`x_coord`, `y_coord`) ); -- Location data for testing INSERT INTO `Location` (`positionID`, `remark`, `u_indicator`, `x_coord`, `y_coord`) VALUES ('5121e2cd-d697-4f26-af97-a64ce82ddff4', 'Charging station next to the kitchen', 2, -1, -1), ('6957d388-b751-46be-86a4-d0d96ff060d2', 'Shop entrance, right side of menu stand', 3, -1, -1), ('fe63b0af-0225-4286-b40c-24276aa57a4f', 'Table next to entrance, left side', 1, -1, -1); CREATE TABLE IF NOT EXISTS `RestaurantTable` ( `tableNo` int(11) NOT NULL, `seatCount` int(11) NOT NULL, `positionID` varchar(36) NOT NULL, PRIMARY KEY (`tableNo`), FOREIGN KEY (`positionID`) REFERENCES `Location` (`positionID`) ); INSERT INTO `RestaurantTable` (`tableNo`, `seatCount`, `positionID`) VALUES -- 4 table of 4 seats ( 1, 4, 'fe63b0af-0225-4286-b40c-24276aa57a4f'), ( 2, 4, 'fe63b0af-0225-4286-b40c-24276aa57a4f'), ( 3, 4, 'fe63b0af-0225-4286-b40c-24276aa57a4f'), ( 4, 4, 'fe63b0af-0225-4286-b40c-24276aa57a4f'), -- 4 tables of 2 seats ( 5, 2, 'fe63b0af-0225-4286-b40c-24276aa57a4f'), ( 6, 2, 'fe63b0af-0225-4286-b40c-24276aa57a4f'), ( 7, 2, 'fe63b0af-0225-4286-b40c-24276aa57a4f'), ( 8, 2, 'fe63b0af-0225-4286-b40c-24276aa57a4f'), -- 4 tables of 6 seats ( 9, 6, 'fe63b0af-0225-4286-b40c-24276aa57a4f'), (10, 6, 'fe63b0af-0225-4286-b40c-24276aa57a4f'), (11, 6, 'fe63b0af-0225-4286-b40c-24276aa57a4f'), (12, 6, 'fe63b0af-0225-4286-b40c-24276aa57a4f'); -- Select ANY empty table /* SELECT * FROM `RestaurantTable` AS rt WHERE rt.tableNo NOT IN( -- Table that is NOT full SELECT DISTINCT sa.tableNo FROM `ServiceReceiver` AS sr, `SitsAt` AS sa WHERE sr.enterDate IS NOT NULL AND -- In the restaurant sr.leaveDate IS NULL AND -- Not yet left sr.groupID = sa.groupID -- Join ) ORDER BY rt.seatCount ASC; */; -- Select ANY Empty table (2) /* SELECT * FROM `restauranttable` AS rt WHERE rt.tableNo NOT IN( SELECT DISTINCT sa.tableNo FROM `ServiceReceiver` AS sr JOIN `SitsAt` AS sa ON sr.groupID = sa.groupID WHERE sr.enterDate IS NOT NULL AND sr.leaveDate IS NULL ) ORDER BY rt.seatCount ASC */; -- Select table given seatCount range /* SELECT * FROM `restauranttable` AS rt WHERE rt.seatCount BETWEEN 5 AND 6 AND rt.tableNo NOT IN -- Empty table = All table - table which are occupied (SELECT DISTINCT -- Find FULL table sa.tableNo FROM `ServiceReceiver` AS sr JOIN `SitsAt` AS sa ON sr.groupID = sa.groupID WHERE sr.enterDate IS NOT NULL AND sr.leaveDate IS NULL ) ORDER BY rt.seatCount ASC, -- Least amount of seat first rt.tableNo ASC -- Smallest table number first */;
CREATE DATABASE IF NOT EXISTS `chat` /*!40100 DEFAULT CHARACTER SET latin1 */; USE `chat`; -- MySQL dump 10.13 Distrib 5.1.66, for redhat-linux-gnu (x86_64) -- -- Host: localhost Database: chat -- ------------------------------------------------------ -- Server version 5.1.66 /*!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 `messages` -- DROP TABLE IF EXISTS `messages`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `messages` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `author_id` int(10) unsigned NOT NULL, `message` text NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `fk_Messages_User` (`author_id`) ) ENGINE=MyISAM AUTO_INCREMENT=304 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `messages` -- LOCK TABLES `messages` WRITE; /*!40000 ALTER TABLE `messages` DISABLE KEYS */; INSERT INTO `messages` VALUES (1,4,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:37'),(2,3,'Sed venenatis commodo vulputate','2013-01-05 21:24:37'),(3,7,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:37'),(4,2,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:37'),(5,4,'Sed venenatis commodo vulputate','2013-01-05 21:24:37'),(6,4,'Sed venenatis commodo vulputate','2013-01-05 21:24:37'),(7,7,'consectetur adipiscing elit','2013-01-05 21:24:37'),(8,3,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:37'),(9,5,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:37'),(10,3,'Sed venenatis commodo vulputate','2013-01-05 21:24:37'),(11,4,'Lorem ipsum dolor sit amet','2013-01-05 21:24:37'),(12,5,'Lorem ipsum dolor sit amet','2013-01-05 21:24:37'),(13,7,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:38'),(14,7,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:38'),(15,7,'consectetur adipiscing elit','2013-01-05 21:24:38'),(16,5,'Quisque sit amet dui turpis','2013-01-05 21:24:38'),(17,1,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:38'),(18,7,'Lorem ipsum dolor sit amet','2013-01-05 21:24:38'),(19,6,'Sed venenatis commodo vulputate','2013-01-05 21:24:38'),(20,2,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:38'),(21,5,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:38'),(22,2,'consectetur adipiscing elit','2013-01-05 21:24:38'),(23,2,'consectetur adipiscing elit','2013-01-05 21:24:38'),(24,6,'Lorem ipsum dolor sit amet','2013-01-05 21:24:38'),(25,5,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:38'),(26,3,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:38'),(27,5,'Quisque sit amet dui turpis','2013-01-05 21:24:38'),(28,3,'Lorem ipsum dolor sit amet','2013-01-05 21:24:38'),(29,3,'Lorem ipsum dolor sit amet','2013-01-05 21:24:38'),(30,2,'consectetur adipiscing elit','2013-01-05 21:24:38'),(31,4,'Lorem ipsum dolor sit amet','2013-01-05 21:24:38'),(32,2,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:38'),(33,2,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:38'),(34,3,'Sed venenatis commodo vulputate','2013-01-05 21:24:38'),(35,2,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:38'),(36,5,'Sed venenatis commodo vulputate','2013-01-05 21:24:38'),(37,3,'consectetur adipiscing elit','2013-01-05 21:24:38'),(38,5,'Sed venenatis commodo vulputate','2013-01-05 21:24:38'),(39,6,'Sed venenatis commodo vulputate','2013-01-05 21:24:38'),(40,7,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:38'),(41,4,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:38'),(42,2,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:38'),(43,7,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:38'),(44,3,'Quisque sit amet dui turpis','2013-01-05 21:24:38'),(45,4,'consectetur adipiscing elit','2013-01-05 21:24:38'),(46,6,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:38'),(47,2,'Quisque sit amet dui turpis','2013-01-05 21:24:38'),(48,2,'consectetur adipiscing elit','2013-01-05 21:24:38'),(49,5,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:38'),(50,4,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:38'),(51,3,'Quisque sit amet dui turpis','2013-01-05 21:24:38'),(52,3,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:38'),(53,6,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:38'),(54,1,'consectetur adipiscing elit','2013-01-05 21:24:38'),(55,3,'Lorem ipsum dolor sit amet','2013-01-05 21:24:38'),(56,1,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:38'),(57,3,'Quisque sit amet dui turpis','2013-01-05 21:24:38'),(58,2,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:38'),(59,5,'Lorem ipsum dolor sit amet','2013-01-05 21:24:38'),(60,6,'consectetur adipiscing elit','2013-01-05 21:24:38'),(61,3,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:38'),(62,2,'Lorem ipsum dolor sit amet','2013-01-05 21:24:38'),(63,3,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:38'),(64,1,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:38'),(65,5,'Quisque sit amet dui turpis','2013-01-05 21:24:38'),(66,5,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:38'),(67,4,'Sed venenatis commodo vulputate','2013-01-05 21:24:38'),(68,1,'Quisque sit amet dui turpis','2013-01-05 21:24:38'),(69,1,'Quisque sit amet dui turpis','2013-01-05 21:24:38'),(70,6,'Sed venenatis commodo vulputate','2013-01-05 21:24:38'),(71,3,'Sed venenatis commodo vulputate','2013-01-05 21:24:38'),(72,4,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:38'),(73,5,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:38'),(74,6,'Lorem ipsum dolor sit amet','2013-01-05 21:24:38'),(75,5,'consectetur adipiscing elit','2013-01-05 21:24:38'),(76,1,'Sed venenatis commodo vulputate','2013-01-05 21:24:38'),(77,6,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:38'),(78,3,'Lorem ipsum dolor sit amet','2013-01-05 21:24:38'),(79,5,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:38'),(80,1,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:38'),(81,7,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:38'),(82,7,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:38'),(83,3,'Lorem ipsum dolor sit amet','2013-01-05 21:24:38'),(84,3,'Quisque sit amet dui turpis','2013-01-05 21:24:38'),(85,6,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:38'),(86,6,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:38'),(87,2,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:38'),(88,5,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:38'),(89,2,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:38'),(90,1,'consectetur adipiscing elit','2013-01-05 21:24:38'),(91,6,'consectetur adipiscing elit','2013-01-05 21:24:38'),(92,1,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:38'),(93,1,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:38'),(94,5,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:38'),(95,4,'Sed venenatis commodo vulputate','2013-01-05 21:24:38'),(96,1,'Lorem ipsum dolor sit amet','2013-01-05 21:24:38'),(97,3,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:38'),(98,2,'Lorem ipsum dolor sit amet','2013-01-05 21:24:38'),(99,5,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:38'),(100,7,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:38'),(101,5,'Sed venenatis commodo vulputate','2013-01-05 21:24:38'),(102,2,'Quisque sit amet dui turpis','2013-01-05 21:24:40'),(103,4,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:40'),(104,2,'Lorem ipsum dolor sit amet','2013-01-05 21:24:40'),(105,2,'Lorem ipsum dolor sit amet','2013-01-05 21:24:40'),(106,3,'Lorem ipsum dolor sit amet','2013-01-05 21:24:40'),(107,5,'consectetur adipiscing elit','2013-01-05 21:24:40'),(108,7,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:40'),(109,3,'Lorem ipsum dolor sit amet','2013-01-05 21:24:40'),(110,7,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:40'),(111,5,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:40'),(112,6,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:40'),(113,6,'Lorem ipsum dolor sit amet','2013-01-05 21:24:40'),(114,6,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:40'),(115,6,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:40'),(116,1,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:40'),(117,1,'consectetur adipiscing elit','2013-01-05 21:24:40'),(118,6,'Lorem ipsum dolor sit amet','2013-01-05 21:24:40'),(119,6,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:40'),(120,4,'Quisque sit amet dui turpis','2013-01-05 21:24:40'),(121,4,'Lorem ipsum dolor sit amet','2013-01-05 21:24:40'),(122,5,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:40'),(123,3,'consectetur adipiscing elit','2013-01-05 21:24:40'),(124,1,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:40'),(125,4,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:40'),(126,4,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:40'),(127,3,'consectetur adipiscing elit','2013-01-05 21:24:40'),(128,2,'Quisque sit amet dui turpis','2013-01-05 21:24:40'),(129,7,'consectetur adipiscing elit','2013-01-05 21:24:40'),(130,4,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:40'),(131,6,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:40'),(132,6,'Sed venenatis commodo vulputate','2013-01-05 21:24:40'),(133,1,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:40'),(134,1,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:40'),(135,2,'Sed venenatis commodo vulputate','2013-01-05 21:24:40'),(136,1,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:40'),(137,7,'Lorem ipsum dolor sit amet','2013-01-05 21:24:40'),(138,2,'Quisque sit amet dui turpis','2013-01-05 21:24:40'),(139,1,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:40'),(140,7,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:40'),(141,1,'Sed venenatis commodo vulputate','2013-01-05 21:24:40'),(142,7,'Lorem ipsum dolor sit amet','2013-01-05 21:24:40'),(143,4,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:40'),(144,1,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:40'),(145,3,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:40'),(146,2,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:40'),(147,7,'Quisque sit amet dui turpis','2013-01-05 21:24:40'),(148,5,'Lorem ipsum dolor sit amet','2013-01-05 21:24:40'),(149,4,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:40'),(150,5,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:40'),(151,1,'Sed venenatis commodo vulputate','2013-01-05 21:24:40'),(152,6,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:40'),(153,3,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:40'),(154,3,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:40'),(155,3,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:40'),(156,2,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:40'),(157,2,'consectetur adipiscing elit','2013-01-05 21:24:40'),(158,6,'Quisque sit amet dui turpis','2013-01-05 21:24:40'),(159,4,'consectetur adipiscing elit','2013-01-05 21:24:40'),(160,6,'Lorem ipsum dolor sit amet','2013-01-05 21:24:40'),(161,4,'consectetur adipiscing elit','2013-01-05 21:24:40'),(162,6,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:40'),(163,3,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:40'),(164,3,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:40'),(165,2,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:40'),(166,7,'Sed venenatis commodo vulputate','2013-01-05 21:24:40'),(167,1,'Quisque sit amet dui turpis','2013-01-05 21:24:40'),(168,4,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:40'),(169,2,'Quisque sit amet dui turpis','2013-01-05 21:24:40'),(170,6,'Quisque sit amet dui turpis','2013-01-05 21:24:40'),(171,7,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:40'),(172,7,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:40'),(173,5,'Sed venenatis commodo vulputate','2013-01-05 21:24:40'),(174,6,'Sed venenatis commodo vulputate','2013-01-05 21:24:40'),(175,3,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:40'),(176,1,'consectetur adipiscing elit','2013-01-05 21:24:40'),(177,7,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:40'),(178,7,'consectetur adipiscing elit','2013-01-05 21:24:40'),(179,5,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:40'),(180,4,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:40'),(181,2,'Lorem ipsum dolor sit amet','2013-01-05 21:24:41'),(182,4,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:41'),(183,6,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:41'),(184,1,'consectetur adipiscing elit','2013-01-05 21:24:41'),(185,7,'Quisque sit amet dui turpis','2013-01-05 21:24:41'),(186,5,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:41'),(187,3,'Sed venenatis commodo vulputate','2013-01-05 21:24:41'),(188,7,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:41'),(189,4,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:41'),(190,1,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:41'),(191,3,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:41'),(192,7,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:41'),(193,7,'consectetur adipiscing elit','2013-01-05 21:24:41'),(194,7,'Lorem ipsum dolor sit amet','2013-01-05 21:24:41'),(195,5,'Sed venenatis commodo vulputate','2013-01-05 21:24:41'),(196,5,'Sed venenatis commodo vulputate','2013-01-05 21:24:41'),(197,4,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:41'),(198,2,'Lorem ipsum dolor sit amet','2013-01-05 21:24:41'),(199,6,'Lorem ipsum dolor sit amet','2013-01-05 21:24:41'),(200,4,'Sed venenatis commodo vulputate','2013-01-05 21:24:41'),(201,1,'Quisque sit amet dui turpis','2013-01-05 21:24:41'),(202,1,'Quisque sit amet dui turpis','2013-01-05 21:24:41'),(203,3,'Quisque sit amet dui turpis','2013-01-05 21:24:41'),(204,7,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:41'),(205,4,'Lorem ipsum dolor sit amet','2013-01-05 21:24:41'),(206,1,'Sed venenatis commodo vulputate','2013-01-05 21:24:41'),(207,4,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:41'),(208,1,'Sed venenatis commodo vulputate','2013-01-05 21:24:41'),(209,6,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:41'),(210,6,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:41'),(211,4,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:41'),(212,6,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:41'),(213,6,'Quisque sit amet dui turpis','2013-01-05 21:24:41'),(214,7,'consectetur adipiscing elit','2013-01-05 21:24:41'),(215,5,'consectetur adipiscing elit','2013-01-05 21:24:41'),(216,6,'Sed venenatis commodo vulputate','2013-01-05 21:24:41'),(217,4,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:41'),(218,3,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:41'),(219,4,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:41'),(220,7,'Lorem ipsum dolor sit amet','2013-01-05 21:24:41'),(221,6,'Lorem ipsum dolor sit amet','2013-01-05 21:24:41'),(222,1,'Quisque sit amet dui turpis','2013-01-05 21:24:41'),(223,3,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:41'),(224,1,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:41'),(225,4,'consectetur adipiscing elit','2013-01-05 21:24:41'),(226,6,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:41'),(227,5,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:41'),(228,3,'consectetur adipiscing elit','2013-01-05 21:24:41'),(229,7,'consectetur adipiscing elit','2013-01-05 21:24:41'),(230,3,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:41'),(231,4,'Sed venenatis commodo vulputate','2013-01-05 21:24:41'),(232,4,'Lorem ipsum dolor sit amet','2013-01-05 21:24:41'),(233,7,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:41'),(234,7,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:41'),(235,4,'consectetur adipiscing elit','2013-01-05 21:24:41'),(236,7,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:41'),(237,5,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:41'),(238,7,'Sed venenatis commodo vulputate','2013-01-05 21:24:41'),(239,4,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:41'),(240,1,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:41'),(241,5,'consectetur adipiscing elit','2013-01-05 21:24:41'),(242,5,'consectetur adipiscing elit','2013-01-05 21:24:41'),(243,7,'Sed venenatis commodo vulputate','2013-01-05 21:24:41'),(244,2,'consectetur adipiscing elit','2013-01-05 21:24:41'),(245,3,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:41'),(246,4,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:41'),(247,5,'Quisque sit amet dui turpis','2013-01-05 21:24:41'),(248,7,'Sed venenatis commodo vulputate','2013-01-05 21:24:41'),(249,3,'Quisque sit amet dui turpis','2013-01-05 21:24:42'),(250,3,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:42'),(251,5,'Lorem ipsum dolor sit amet','2013-01-05 21:24:42'),(252,7,'Quisque sit amet dui turpis','2013-01-05 21:24:42'),(253,3,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:42'),(254,3,'Lorem ipsum dolor sit amet','2013-01-05 21:24:42'),(255,2,'Lorem ipsum dolor sit amet','2013-01-05 21:24:42'),(256,4,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:42'),(257,1,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:42'),(258,5,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:42'),(259,4,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:42'),(260,3,'Lorem ipsum dolor sit amet','2013-01-05 21:24:42'),(261,7,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:42'),(262,4,'Quisque sit amet dui turpis','2013-01-05 21:24:42'),(263,1,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:42'),(264,1,'Sed venenatis commodo vulputate','2013-01-05 21:24:42'),(265,2,'Lorem ipsum dolor sit amet','2013-01-05 21:24:42'),(266,5,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:42'),(267,3,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:42'),(268,4,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:42'),(269,3,'Sed venenatis commodo vulputate','2013-01-05 21:24:42'),(270,4,'consectetur adipiscing elit','2013-01-05 21:24:42'),(271,4,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:42'),(272,3,'Lorem ipsum dolor sit amet','2013-01-05 21:24:42'),(273,6,'Quisque sit amet dui turpis','2013-01-05 21:24:42'),(274,5,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:42'),(275,6,'consectetur adipiscing elit','2013-01-05 21:24:42'),(276,5,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:42'),(277,7,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:42'),(278,2,'Lorem ipsum dolor sit amet','2013-01-05 21:24:42'),(279,3,'Lorem ipsum dolor sit amet','2013-01-05 21:24:42'),(280,5,'Lorem ipsum dolor sit amet','2013-01-05 21:24:42'),(281,4,'Lorem ipsum dolor sit amet','2013-01-05 21:24:42'),(282,4,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:42'),(283,7,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:42'),(284,5,'Quisque sit amet dui turpis','2013-01-05 21:24:42'),(285,3,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:42'),(286,2,'Sed venenatis commodo vulputate','2013-01-05 21:24:42'),(287,1,'Lorem ipsum dolor sit amet','2013-01-05 21:24:42'),(288,4,'Sed venenatis commodo vulputate','2013-01-05 21:24:42'),(289,7,'consectetur adipiscing elit','2013-01-05 21:24:42'),(290,4,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:42'),(291,7,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:42'),(292,1,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:42'),(293,2,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:42'),(294,4,'Phasellus a nisi a justo pellentesque','2013-01-05 21:24:42'),(295,5,'consectetur adipiscing elit','2013-01-05 21:24:42'),(296,5,'Nam imperdiet adipiscing lorem','2013-01-05 21:24:42'),(297,1,'Sed venenatis commodo vulputate','2013-01-05 21:24:42'),(298,4,'In dapibus justo sit amet est tincidunt','2013-01-05 21:24:42'),(299,2,'Sed venenatis commodo vulputate','2013-01-05 21:24:42'),(300,6,'Quisque sit amet dui turpis','2013-01-05 21:24:42'),(301,6,'Sed venenatis commodo vulputate','2013-01-05 21:24:42'),(302,1,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:42'),(303,1,'id auctor lorem. Aliquam adipiscing tempus','2013-01-05 21:24:42'); /*!40000 ALTER TABLE `messages` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `user` -- DROP TABLE IF EXISTS `user`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `user` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `firstname` varchar(15) NOT NULL, `middlename` varchar(15) DEFAULT NULL, `lastname` varchar(15) NOT NULL, `nick` varchar(15) NOT NULL, `email` varchar(30) NOT NULL, `password` varchar(20) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `nick_UNIQUE` (`nick`) ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `user` -- LOCK TABLES `user` WRITE; /*!40000 ALTER TABLE `user` DISABLE KEYS */; INSERT INTO `user` VALUES (1,'George',NULL,'Washington','gwashington','<EMAIL>','1234567'),(2,'John',NULL,'Adams','jadams','<EMAIL>','89012345'),(3,'Thomas',NULL,'Jefferson','tjefferson','<EMAIL>','77777777'),(4,'James',NULL,'Madison','jmadison','<EMAIL>','77777777'),(5,'James',NULL,'Monroe','jmonroe','<EMAIL>','77777777'),(6,'John','Quincy','Adams','jqadams','<EMAIL>','77777777'),(7,'Andrew',NULL,'Jackson','ajackson','<EMAIL>','77777777'); /*!40000 ALTER TABLE `user` 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 2013-01-06 1:25:50
/* Navicat MySQL Data Transfer Source Server : 127.0.0.1 Source Server Version : 50721 Source Host : localhost:3306 Source Database : activity Target Server Type : MYSQL Target Server Version : 50721 File Encoding : 65001 Date: 2018-12-17 17:17:07 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for `tp_activity` -- ---------------------------- DROP TABLE IF EXISTS `tp_activity`; CREATE TABLE `tp_activity` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `activity_name` varchar(255) NOT NULL DEFAULT '' COMMENT '活动名', `start_time` int(11) NOT NULL DEFAULT '0' COMMENT '开始时间', `end_time` int(11) NOT NULL DEFAULT '0' COMMENT '活动结束时间', `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1:停用 2 启用', `create_time` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of tp_activity -- ---------------------------- INSERT INTO `tp_activity` VALUES ('1', '最美小哥哥', '1543905397', '1544164597', '1', '1544164597'); INSERT INTO `tp_activity` VALUES ('2', '最美小姐姐', '1543905397', '1544164597', '2', '1544164597'); INSERT INTO `tp_activity` VALUES ('3', '最美证件照', '1544457600', '1544585043', '1', '0'); INSERT INTO `tp_activity` VALUES ('4', '最美婚纱照', '1544025600', '1545840000', '1', '0'); -- ---------------------------- -- Table structure for `tp_admin` -- ---------------------------- DROP TABLE IF EXISTS `tp_admin`; CREATE TABLE `tp_admin` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(50) NOT NULL DEFAULT '' COMMENT '用户名', `password` varchar(100) NOT NULL DEFAULT '' COMMENT '密码', `create_time` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of tp_admin -- ---------------------------- INSERT INTO `tp_admin` VALUES ('1', 'admin', '<PASSWORD>', '1532215468'); -- ---------------------------- -- Table structure for `tp_bespeak` -- ---------------------------- DROP TABLE IF EXISTS `tp_bespeak`; CREATE TABLE `tp_bespeak` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '用户预约来拍照', `username` varchar(255) NOT NULL DEFAULT '' COMMENT '预约人姓名', `telphone` varchar(11) NOT NULL DEFAULT '' COMMENT '预约人电话', `sex` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1:男 2:女 3 未知', `activity_id` tinyint(1) NOT NULL DEFAULT '0' COMMENT '活动表的ID(activity)', `bespeak_time` int(11) NOT NULL DEFAULT '0' COMMENT '预约时间', `backup` varchar(255) NOT NULL DEFAULT '', `create_time` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of tp_bespeak -- ---------------------------- INSERT INTO `tp_bespeak` VALUES ('1', '杨欢1', '13425998522', '1', '1', '1544064597', '', '1542365414'); INSERT INTO `tp_bespeak` VALUES ('2', '杨欢2', '13425998545', '2', '1', '1544064597', '', '1542365414'); INSERT INTO `tp_bespeak` VALUES ('3', '杨欢3', '13425998551', '3', '1', '1544164597', '', '1542365414'); INSERT INTO `tp_bespeak` VALUES ('4', '杨欢4', '13425998552', '1', '1', '1544164597', '', '1542365414'); INSERT INTO `tp_bespeak` VALUES ('5', '杨欢5', '13425998553', '2', '1', '1544164597', '', '1542365414'); INSERT INTO `tp_bespeak` VALUES ('6', '杨欢6', '13425998554', '1', '1', '1544164597', '', '1542365414'); -- ---------------------------- -- Table structure for `tp_huodong` -- ---------------------------- DROP TABLE IF EXISTS `tp_huodong`; CREATE TABLE `tp_huodong` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `activity_name` varchar(255) NOT NULL DEFAULT '' COMMENT '活动名', `yuyue_money` decimal(10,2) NOT NULL DEFAULT '0.00', `activity_logo` varchar(100) NOT NULL DEFAULT '' COMMENT '活动logo', `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1:停用 2 启用', `desc` text NOT NULL COMMENT '描述', `start_time` int(11) NOT NULL DEFAULT '0', `end_time` int(11) NOT NULL DEFAULT '0', `view_num` int(11) NOT NULL DEFAULT '0' COMMENT '访问次数', `zan_num` int(11) NOT NULL DEFAULT '0' COMMENT '该活动被赞次数', `item_num` int(11) NOT NULL DEFAULT '0' COMMENT '该项目参与的项目数', `create_time` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of tp_huodong -- ---------------------------- INSERT INTO `tp_huodong` VALUES ('1', '最美全家福', '0.00', 'desc/20181216\\95d47f1a2853c5b3439256af6683244b.png', '2', '<p style=\"color:#333333;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size:14px;background-color:#FFFFFF;text-align:center;\">\n <img width=\"50\" height=\"34\" title=\"1.png\" alt=\"global_DF7F0810-057A-8BD2-8A67-D83A4B4F2\" src=\"http://img.a.mvote.net/imgsource/global_DF7F0810-057A-8BD2-8A67-D83A4B4F2DB6_src.png\" border=\"0\" style=\"height:34px;width:50px;\" /><span style=\"line-height:37.8px;font-family:黑体;font-size:16px;\">‍</span><span style=\"font-size:16px;\">‍‍‍‍‍‍‍‍‍‍‍</span><strong><span style=\"line-height:32.4px;color:#FF0000;font-family:微软雅黑;font-size:16px;\">2018重庆市</span></strong><strong><span style=\"line-height:32.4px;color:#FF0000;font-family:微软雅黑, &quot;microsoft yahei&quot;;font-size:16px;\">“最美家庭”评选</span></strong><span style=\"font-size:12px;\">‍‍</span><img width=\"50\" height=\"34\" alt=\"global_19A971EA-DD88-5E57-DA7D-8ADCF5C3A\" src=\"http://img.a.mvote.net/imgsource/global_19A971EA-DD88-5E57-DA7D-8ADCF5C3AC64_src.png\" border=\"0\" style=\"height:34px;width:50px;\" /> \n</p>\n<p style=\"color:#333333;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size:14px;background-color:#FFFFFF;text-align:center;\">\n <span style=\"line-height:37.8px;font-family:黑体;font-size:21px;\">‍</span>‍<span style=\"line-height:25.2px;\">主办单位</span> \n</p>\n<p style=\"font-size:14px;background-color:#FFFFFF;text-align:center;\">\n <span><b>重庆市伊莲摄影有限公司</b></span> \n</p>\n<div style=\"color:#333333;background-color:#FFFFFF;\">\n <p style=\"font-size:14px;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;text-align:center;\">\n <strong><span style=\"line-height:32.4px;color:#C00000;font-family:微软雅黑, &quot;microsoft yahei&quot;;font-size:18px;\"><img width=\"80\" height=\"21\" alt=\"global_39D7DD95-599C-A3D0-FBE4-97DF0E14D\" src=\"http://img.a.mvote.net/imgsource/global_39D7DD95-599C-A3D0-FBE4-97DF0E14DE49_src.png\" border=\"0\" style=\"height:21px;width:80px;\" />&nbsp;评选范围</span></strong><img width=\"80\" height=\"21\" alt=\"global_39D7DD95-599C-A3D0-FBE4-97DF0E14D\" src=\"http://img.a.mvote.net/imgsource/global_39D7DD95-599C-A3D0-FBE4-97DF0E14DE49_src.png\" border=\"0\" style=\"height:21px;width:80px;\" /><strong><span style=\"line-height:32.4px;color:#C00000;font-family:微软雅黑, &quot;microsoft yahei&quot;;font-size:18px;\"></span></strong> \n </p>\n <p style=\"text-align:center;\">\n <span><span style=\"font-size:21px;\">渝北最美家庭</span></span> \n </p>\n <p style=\"font-size:14px;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;text-align:center;\">\n <span style=\"line-height:37.8px;font-family:仿宋_gb2312;font-size:21px;\">‍</span><strong><span style=\"line-height:32.4px;color:#C00000;font-family:微软雅黑, &quot;microsoft yahei&quot;;font-size:18px;\"><img width=\"80\" height=\"21\" alt=\"global_39D7DD95-599C-A3D0-FBE4-97DF0E14D\" src=\"http://img.a.mvote.net/imgsource/global_39D7DD95-599C-A3D0-FBE4-97DF0E14DE49_src.png\" border=\"0\" style=\"height:21px;width:80px;\" />&nbsp;评选条件&nbsp;<strong><img width=\"80\" height=\"21\" alt=\"global_39D7DD95-599C-A3D0-FBE4-97DF0E14D\" src=\"http://img.a.mvote.net/imgsource/global_39D7DD95-599C-A3D0-FBE4-97DF0E14DE49_src.png\" border=\"0\" style=\"height:21px;width:80px;\" /></strong></span></strong> \n </p>\n <p style=\"font-size:14px;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;\">\n <span style=\"line-height:25.2px;font-family:微软雅黑, &quot;microsoft yahei&quot;;\">&nbsp; 1、拥护党的路线、方针、政策,政治合格,遵纪守法,品行端正。</span> \n </p>\n <p style=\"font-size:14px;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;\">\n <span style=\"line-height:25.2px;font-family:微软雅黑, &quot;microsoft yahei&quot;;\">&nbsp; 2、切实全面履行护理职责,工作到位,为患者提供全面、全程优质护理服务,经常与患者沟通交流,给予心理护理。</span> \n </p>\n <p style=\"font-size:14px;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;\">\n <span style=\"line-height:25.2px;font-family:微软雅黑, &quot;microsoft yahei&quot;;\">&nbsp; 3、对待患者热情、细心、耐心,态度好,工作认真、踏实、严谨,富有爱心,受到患者好评。</span> \n </p>\n <p style=\"font-size:14px;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;\">\n <span style=\"line-height:25.2px;font-family:微软雅黑, &quot;microsoft yahei&quot;;\">&nbsp; 4、具有团队合作精神,沟通协调能力强,工作积极主动、配合默契,赢得同行、患者和社会认可。</span> \n </p>\n <p style=\"font-size:14px;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;\">\n <span style=\"line-height:25.2px;font-family:微软雅黑, &quot;microsoft yahei&quot;;\">&nbsp; 5、认真钻研、不断进取,爱岗敬业,工作能力突出,在开展优质护理服务工作中,充分发挥模范带头作用。</span> \n </p>\n <p style=\"font-size:14px;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;\">\n <span style=\"line-height:25.2px;font-family:微软雅黑, &quot;microsoft yahei&quot;;\">&nbsp; 6、主动接受护理新理念,学习护理新技术,在临床护理、护理教学、护理管理和护理科研等方面成绩显著。</span> \n </p>\n <p style=\"font-size:14px;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;\">\n <span style=\"line-height:25.2px;font-family:微软雅黑, &quot;microsoft yahei&quot;;\">&nbsp; 7、近三年内未发生护理差错事故,同时为2016年先进工作者。</span> \n </p>\n</div>', '1544889600', '1545221044', '244', '24', '0', '1544926885'); INSERT INTO `tp_huodong` VALUES ('2', '最美小姐姐', '0.00', 'desc/20181216\\9ffcd27ddf7742df10b33ed574cffde8.png', '1', '水电费', '1544889600', '1545926400', '0', '0', '0', '1544941758'); -- ---------------------------- -- Table structure for `tp_item` -- ---------------------------- DROP TABLE IF EXISTS `tp_item`; CREATE TABLE `tp_item` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '参加活动信息表', `activity_id` int(11) NOT NULL DEFAULT '0' COMMENT '活动表(huodong)的ID', `username` varchar(50) NOT NULL DEFAULT '' COMMENT '用户名', `tel` varchar(20) NOT NULL DEFAULT '' COMMENT '电话号码', `item_img` varchar(100) NOT NULL DEFAULT '' COMMENT '参选图片', `title` varchar(255) NOT NULL DEFAULT '' COMMENT '标题', `sex` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1:男 2 女 3 未知', `desc` text NOT NULL COMMENT '描述', `zan_num` int(11) NOT NULL DEFAULT '0' COMMENT '被赞次数', `create_time` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of tp_item -- ---------------------------- INSERT INTO `tp_item` VALUES ('2', '1', '杨欢', '13425998555', 'desc/20181216\\35c92c916f2ebcb7e1b9a78a74acfe57.jpg', '我是标题2', '1', '<p style=\"text-align:center;\">\n <span style=\"font-size:24px;\">1.我是李四</span> \n</p>\n<p style=\"text-align:center;\">\n <img src=\"/uploads/desc/20181216\\14e33c81f2e34c540de150e8364e7bd8.png\" alt=\"\" /> \n</p>\n<p style=\"text-align:left;\">\n <br />\n</p>\n<p>\n <span style=\"font-size:16px;\"><span style=\"line-height:2;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"line-height:3;\">阿斯顿发送到阿斯顿发送到发送到发所多付付付付付付付付付付付付付付付付付付付付付付付付所所得到的多多多多多多多多多多多多多多多多多多所得到的多多多付所得到的多多付多多多多多多多多多多多多多多多多多多多多多多多</span></span></span>\n</p>\n<p>\n <br />\n</p>', '9', '1544073364'); INSERT INTO `tp_item` VALUES ('5', '1', '李四', '13425998554', 'desc/20181216\\2d1f10012ddce4c6c2fab037484d3050.png', '我是最美家庭', '1', '阿斯顿发', '6', '1544948240'); INSERT INTO `tp_item` VALUES ('6', '1', '张三', '13425998558', 'desc/20181217\\c257f8805139471bdd7099cf2d1ce26d.png', '我是张三', '2', '<p style=\"color:#333333;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size:14px;background-color:#FFFFFF;\">\n <span style=\"font-family:微软雅黑, &quot;microsoft yahei&quot;;font-size:16px;\">我程青青是一名儿科护理人员,于2009年毕业于江西宜春职业技术学院。在贵溪市中医院工作1年多。于2011年通过考试(人事代理)考入人民医院。从2011年开始一直在儿科工作至今。一直以来,我不断的努力,提高自己的专业水平,用饱满的工作热情,更积极向上的精神面貌,更高度的责任心,更多的耐心和包容心,为自己喜爱的儿科护理工作奉献青春。同时也获得单位领导和同事的认可,曾被评为“优秀护士”“先进个人”等。</span>\n</p>\n<p style=\"color:#333333;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size:14px;background-color:#FFFFFF;\">\n <span style=\"font-family:微软雅黑, &quot;microsoft yahei&quot;;font-size:16px;\">&nbsp; &nbsp; &nbsp;在儿科护理工作中每天都上演打针,输液,抽血,抢救等等。我早已习惯在嘈杂的环境中,及时准确地处理病情,耐心的安抚患儿和家属。为了减轻患儿的病痛,减少家属的紧张情绪,不断加强自身的专业水平,穿刺技术、抢救工作等。每次操作完自我总结,为了下一次做到更完美。虽然我们工作简单而又平凡,但却充满了爱。我乐于与患儿的生命同行,让患儿因为我们护理减轻痛苦,因我的健康指导而有收获,因我的安慰而家属树立信心。</span>\n</p>\n<p style=\"color:#333333;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size:14px;background-color:#FFFFFF;\">\n <span style=\"font-family:微软雅黑, &quot;microsoft yahei&quot;;font-size:16px;\">&nbsp; &nbsp; &nbsp;我热爱儿科护理工作,愿将自己的青春奉献给这份事业,去帮助那些需要帮助的“小天使”。我需要更努力,不断完善自我,做一名更加出色的儿科护理工作者。</span>\n</p>', '1', '1545012576'); -- ---------------------------- -- Table structure for `tp_user` -- ---------------------------- DROP TABLE IF EXISTS `tp_user`; CREATE TABLE `tp_user` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `openid` varchar(80) NOT NULL, `headimgurl` varchar(255) NOT NULL, `sex` tinyint(1) NOT NULL, `nickname` varchar(50) NOT NULL COMMENT '昵称', `city` varchar(10) DEFAULT NULL COMMENT '省/自治区', `province` varchar(11) DEFAULT NULL COMMENT '市', `country` varchar(11) DEFAULT NULL COMMENT '国', `phone` varchar(11) DEFAULT NULL, `addtime` char(11) DEFAULT NULL, `status` tinyint(1) NOT NULL DEFAULT '1', `man_name` varchar(20) DEFAULT NULL, `wowan_name` varchar(20) DEFAULT NULL, `man_birthday` varchar(20) DEFAULT NULL, `woman_birthday` varchar(20) DEFAULT NULL, `wedding_day` varchar(20) DEFAULT NULL, `remark` varchar(255) DEFAULT NULL COMMENT '备注', `man_phone` varchar(20) DEFAULT NULL, `woman_phone` varchar(20) DEFAULT NULL, `lz_time` varchar(20) DEFAULT NULL COMMENT '领证日期', `wedding_status` tinyint(1) DEFAULT NULL COMMENT '是否拍摄婚纱', `area` varchar(50) DEFAULT NULL, `department_id` int(11) DEFAULT NULL, `yy_phone` varchar(11) DEFAULT NULL, `balance` float(11,2) NOT NULL DEFAULT '0.00', `is_fans` tinyint(1) NOT NULL DEFAULT '1', `first_location` varchar(255) DEFAULT '0' COMMENT '首次地理位置', `last_location` varchar(255) DEFAULT '0' COMMENT '最后一次', `unionid` varchar(100) DEFAULT NULL COMMENT 'unionid', `first_leader` int(10) NOT NULL DEFAULT '0' COMMENT '第一级', `second_leader` int(10) NOT NULL DEFAULT '0' COMMENT '第二级', `third_leader` int(10) NOT NULL DEFAULT '0' COMMENT '第三级', `brokerage` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '佣金', `qrcode_url` varchar(100) NOT NULL DEFAULT '' COMMENT '我的二维码邀请链接', PRIMARY KEY (`id`), KEY `openid` (`openid`) ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of tp_user -- ---------------------------- INSERT INTO `tp_user` VALUES ('5', 'oydWg0dRUVqoPoaB0HaZ8PgHJSgU', 'http://thirdwx.qlogo.cn/mmopen/vi_32/L2evTRZXmJNobbtD5Z0VDT7BnNLPThiaP2CHRlT6k7s9JCUp7N13zkjonPSZMrGoFdyYMmbICIPERaJB0iaKxMVg/132', '1', '杨欢5', '荣昌', '重庆', '中国', '', '1543905397', '1', '', '', '', '', '', '', '', '', '', null, '', null, '', '0.00', '0', '0', '0', '', '0', '0', '0', '0.00', ''); -- ---------------------------- -- Table structure for `tp_yuyue` -- ---------------------------- DROP TABLE IF EXISTS `tp_yuyue`; CREATE TABLE `tp_yuyue` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `huodong_id` int(11) NOT NULL DEFAULT '0' COMMENT 'huodong表的ID', `username` varchar(20) NOT NULL DEFAULT '' COMMENT '预约人姓名', `mobile` varchar(20) NOT NULL DEFAULT '' COMMENT '手机号', `shoot_person` smallint(3) NOT NULL DEFAULT '1' COMMENT '拍摄人数', `order_sn` varchar(100) NOT NULL DEFAULT '' COMMENT '订单号', `trade_no` varchar(100) NOT NULL DEFAULT '' COMMENT '微信返回的订单号', `money` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '订单金额', `yuyue_time` int(11) NOT NULL DEFAULT '0' COMMENT '预约时间', `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0:待支付 1 已支付', `backup` varchar(255) NOT NULL DEFAULT '', `create_time` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of tp_yuyue -- ---------------------------- INSERT INTO `tp_yuyue` VALUES ('1', '1', '杨欢', '13425998554', '3', '15464646464', '131314644', '100.00', '1542564875', '1', '阿斯顿发斯蒂芬水电费是打发撒旦法撒旦法是阿撒旦法撒旦法是是打发斯蒂芬爱上发送到发送到', '1524699858'); -- ---------------------------- -- Table structure for `tp_zan` -- ---------------------------- DROP TABLE IF EXISTS `tp_zan`; CREATE TABLE `tp_zan` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '点赞表', `item_id` int(11) NOT NULL COMMENT 'item表的ID', `user_id` int(11) NOT NULL COMMENT '点赞的人', `huodong_id` int(11) NOT NULL DEFAULT '0' COMMENT 'huodong表的ID', `create_time` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of tp_zan -- ----------------------------
<reponame>Lucius-CN/strack /* Navicat Premium Data Transfer Source Server : mysql5.7 Source Server Type : MySQL Source Server Version : 50730 Source Host : 10.168.30.17:3306 Source Schema : strack_test Target Server Type : MySQL Target Server Version : 50730 File Encoding : 65001 Date: 27/08/2021 16:21:20 */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Records of strack_user -- ---------------------------- INSERT INTO `strack_user` VALUES (3, 'demo1', '<EMAIL>', '测试组长1', 'leader1', '18888888881', 9, '$P$BLrqOUka.e/GXBFOALDrjq1ijG1WwN0', 'in_service', '', 0, 0, 0, '', 0, 0, 1630052454, 1630052398, '9174fb10-070f-11ec-9177-175f80a984fd', '', '', ''); INSERT INTO `strack_user` VALUES (4, 'demo2', '<EMAIL>', '测试组员1', 'member1', '18888888882', 9, '$P$BKBHUKzdoIeTATWWX2kU6dp3GAyGss1', 'in_service', '', 0, 0, 0, '', 0, 0, 1630052458, 1630052425, 'a1760fb0-070f-11ec-bf8b-d5d2cb12ebf7', '', '', ''); INSERT INTO `strack_user` VALUES (5, 'demo3', '<EMAIL>', '测试组员2', 'member2', '18888888883', 9, '$P$BIXCFtwXxpYY8uTY93j1Kn36O8HV0h.', 'in_service', '', 0, 0, 0, '', 0, 0, 1630052466, 1630052435, 'a73979c0-070f-11ec-b092-bb0ae1fd051d', '', '', ''); SET FOREIGN_KEY_CHECKS = 1;
<gh_stars>1-10 Create PROCEDURE [EntityCode].[EventResourceSave] @Id Int, @Key Uniqueidentifier, @EventKey Uniqueidentifier, @EventName nvarchar(50), @EventDescription nvarchar(2000), @ResourceKey Uniqueidentifier, @ResourceName nvarchar(50), @ResourceDescription nvarchar(2000), @ResourceTypeKey Uniqueidentifier AS -- Initialize Select @ResourceName = RTRIM(LTRIM(@ResourceName)) Select @ResourceDescription = RTRIM(LTRIM(@ResourceDescription)) -- Validate Data If (@EventKey <> '00000000-0000-0000-0000-000000000000') Begin -- Id and Key are both valid. Sync now. If (@Id <> -1) Select Top 1 @Key = IsNull([EventResourceKey], @Key), @ResourceKey = IsNull(NullIf(@ResourceKey, '00000000-0000-0000-0000-000000000000'), ResourceKey), @EventKey = IsNull(NullIf(@EventKey, '00000000-0000-0000-0000-000000000000'), EventKey) From [Entity].[EventResource] Where [EventResourceId] = @Id If (@Id = -1 AND @Key <> '00000000-0000-0000-0000-000000000000') Select Top 1 @Id = IsNull([EventResourceId], -1), @ResourceKey = IsNull(NullIf(@ResourceKey, '00000000-0000-0000-0000-000000000000'), ResourceKey), @EventKey = IsNull(NullIf(@EventKey, '00000000-0000-0000-0000-000000000000'), EventKey) From [Entity].[EventResource] Where [EventResourceKey] = @Key -- Event: Insert vs. Update If (@EventKey Is Null) Or (@EventKey = '00000000-0000-0000-0000-000000000000') Begin -- Insert EventEvent Select @EventKey = IsNull(NullIf(@EventKey, '00000000-0000-0000-0000-000000000000'), NewId()) Insert Into [Entity].[Event] (EventKey, EventName, EventDescription, RecordStateKey) Values (@EventKey, @EventName, @EventDescription, '00000000-0000-0000-0000-000000000000') End Else Begin -- Update Event Update [Entity].[Event] Set EventName = IsNull(@EventName, EventName), EventDescription = IsNull(@EventDescription, EventDescription), ModifiedDate = GetUtcDate() Where EventKey = @EventKey End -- Resource: Insert vs. Update If (@ResourceKey Is Null) Or (@ResourceKey = '00000000-0000-0000-0000-000000000000') Begin -- Insert EventResource Select @ResourceKey = IsNull(NullIf(@ResourceKey, '00000000-0000-0000-0000-000000000000'), NewId()) Insert Into [Entity].[Resource] (ResourceKey, ResourceName, ResourceDescription, RecordStateKey) Values (@ResourceKey, @ResourceName, @ResourceDescription, '00000000-0000-0000-0000-000000000000') End Else Begin -- Update Resource Update [Entity].[Resource] Set ResourceName = IsNull(@ResourceName, ResourceName), ResourceDescription = IsNull(@ResourceDescription, ResourceDescription), ModifiedDate = GetUtcDate() Where ResourceKey = @ResourceKey End -- EventResource: Insert vs. Update If (@Id Is Null) Or (@Id = -1) Begin -- Insert EventResource Select @Key = IsNull(NullIf(@Key, '00000000-0000-0000-0000-000000000000'), NewId()) Insert Into [Entity].[EventResource] (EventResourceKey, EventKey, ResourceKey, ResourceTypeKey, RecordStateKey) Values (@Key, @EventKey, @ResourceKey, NullIf(@ResourceTypeKey, '00000000-0000-0000-0000-000000000000'), '00000000-0000-0000-0000-000000000000') Select @Id = SCOPE_IDENTITY() End Else Begin -- Update Resource Update [Entity].[EventResource] Set ResourceTypeKey = NullIf(@ResourceTypeKey, '00000000-0000-0000-0000-000000000000'), ModifiedDate = GetUtcDate() Where EventResourceKey = @Key End End -- Return data Select IsNull(@Id, -1) As Id, IsNull(@Key, '00000000-0000-0000-0000-000000000000') As [Key]
<filename>TestScenarios/Read_CheckConstraints/Database.MySql^8.sql CREATE TABLE `Person` ( Id int CHECK (Id > 1), Name nvarchar(255) not null ); ALTER TABLE `Person` ADD CONSTRAINT `CK_Name_LongerThan3` CHECK (char_length(`Name`) > 3);
select id, display_name, block_volume_id from oci.oci_core_block_volume_replica where display_name = '{{ resourceName }}';
select arn, name, partition, region, tags, title from aws.aws_elastic_beanstalk_application where akas::text = '["{{ output.resource_aka.value }}"]';
<gh_stars>1000+ -- Database: mariadb
<gh_stars>1000+ UPDATE hydra_client SET audience=''; ALTER TABLE hydra_client ALTER COLUMN audience SET NOT NULL;
-- This script adds additional indexes to the horde_prefs table that should -- improve loading of preferences from the preference table. -- -- $Horde: horde/scripts/upgrades/2006-06-29_horde_prefs_indexes.sql,v 1.1.2.2 2007/12/20 15:03:04 jan Exp $ CREATE INDEX pref_uid_idx ON horde_prefs (pref_uid); CREATE INDEX pref_scope_idx ON horde_prefs (pref_scope);
<reponame>joshualley/BigBall use bigball; select row_number() over(order by id) as seq, id from User
-- Benchmark Universe select cast(stu.id as varchar) + '@example.org' as 'adusername', cast(stu.id as varchar) + '@example.org' as "input[name='username']", lower(substring(stu.fn, 1, 1)) + lower(substring(stu.ln, 1, 1)) + cast(stu.id as varchar) as "input[name='password']" from stu where stu.sc in ( 1, 2, 3, 4 ) and stu.del = 0 and stu.tg = '' order by 1
<filename>application/views/v_admin/layout/tes.sql<gh_stars>0 -- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Waktu pembuatan: 18 Mar 2021 pada 05.56 -- Versi server: 10.4.17-MariaDB -- Versi PHP: 7.3.27 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; 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: `webci` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `tartikel_md` -- CREATE TABLE `tartikel_md` ( `IDARTIKEL` int(11) NOT NULL, `USERNAME` char(100) DEFAULT NULL, `KATEGORI` char(100) NOT NULL, `JUDUL` char(100) DEFAULT NULL, `GAMBAR` char(100) DEFAULT NULL, `SUB` char(200) NOT NULL, `URAIAN` text DEFAULT NULL, `TANGGALARTIKEL` datetime DEFAULT NULL, `STATUSARTIKEL` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tartikel_md` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `textra_md` -- CREATE TABLE `textra_md` ( `IDEXTRA` char(110) NOT NULL, `USERNAME` char(100) DEFAULT NULL, `NAMAEXTRA` char(100) DEFAULT NULL, `URAIANEXTRA` text DEFAULT NULL, `MOTOEXTRA` text DEFAULT NULL, `GAMBAREXTRA` char(100) DEFAULT NULL, `STATUSEXTRA` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `textra_md` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `tfakultas_md` -- CREATE TABLE `tfakultas_md` ( `IDFAKULTAS` char(50) NOT NULL, `USERNAME` char(100) DEFAULT NULL, `NAMAFAKULTAS` char(10) DEFAULT NULL, `GAMBAR` char(100) DEFAULT NULL, `STATUSFAKULTAS` char(10) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tfakultas_md` -- INSERT INTO `tfakultas_md` (`IDFAKULTAS`, `USERNAME`, `NAMAFAKULTAS`, `GAMBAR`, `STATUSFAKULTAS`) VALUES ('1', 'admin', '1', '1', '1'); -- -------------------------------------------------------- -- -- Struktur dari tabel `tguru_md` -- CREATE TABLE `tguru_md` ( `IDGURU` int(11) NOT NULL, `USERNAME` char(100) DEFAULT NULL, `NIG` char(100) DEFAULT NULL, `NIK` char(100) DEFAULT NULL, `NAMAGURU` char(100) DEFAULT NULL, `JKGURU` char(100) DEFAULT NULL, `GAMBARGURU` char(100) DEFAULT NULL, `STATUSGURU` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Struktur dari tabel `tinfo_md` -- CREATE TABLE `tinfo_md` ( `IDINFO` int(11) NOT NULL, `USERNAME` char(100) DEFAULT NULL, `JUDULINFO` char(100) DEFAULT NULL, `TANGGALINFO` datetime DEFAULT NULL, `JENISINFO` int(11) DEFAULT NULL, `URAIANINFO` text DEFAULT NULL, `STATUSINFO` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Struktur dari tabel `tkomentar_md` -- CREATE TABLE `tkomentar_md` ( `IDKOMENTAR` int(11) NOT NULL, `IDARTIKEL` int(11) DEFAULT NULL, `NAMA` char(100) DEFAULT NULL, `KOMENTAR` text DEFAULT NULL, `BINTANG` int(11) DEFAULT NULL, `GAMBARKOMENTAR` char(100) DEFAULT NULL, `TANGGALKOMENTAR` datetime DEFAULT NULL, `STATUSKOMENTAR` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Struktur dari tabel `tlembaga_md` -- CREATE TABLE `tlembaga_md` ( `NPSN` char(100) NOT NULL, `USERNAME` char(100) DEFAULT NULL, `NAMALEMBAGA` char(100) DEFAULT NULL, `JENISLEMBAGA` char(100) DEFAULT NULL, `EMAILLEMBAGA` char(100) DEFAULT NULL, `ALAMATLEMBAGA` char(100) DEFAULT NULL, `TELP` char(100) DEFAULT NULL, `FAX` char(100) DEFAULT NULL, `HP` char(100) DEFAULT NULL, `FACEBOOK` char(100) DEFAULT NULL, `TWITTER` char(100) DEFAULT NULL, `INSTAGRAM` char(100) DEFAULT NULL, `YOUTUBE` char(100) DEFAULT NULL, `KEPALA` char(100) DEFAULT NULL, `LOGO` char(100) DEFAULT NULL, `WARNA1` varchar(10) NOT NULL, `WARNA2` varchar(10) NOT NULL, `STATUSLEMBAGA` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tlembaga_md` -- INSERT INTO `tlembaga_md` (`NPSN`, `USERNAME`, `NAMALEMBAGA`, `JENISLEMBAGA`, `EMAILLEMBAGA`, `ALAMATLEMBAGA`, `TELP`, `FAX`, `HP`, `FACEBOOK`, `TWITTER`, `INSTAGRAM`, `YOUTUBE`, `KEPALA`, `LOGO`, `WARNA1`, `WARNA2`, `STATUSLEMBAGA`) VALUES ('8994897', 'admin', '<NAME>', 'SMA', '<EMAIL>', 'Jalan Sumber Taman Waru Pamekasan', '(0324) 11093822', '-', '08774664442', 'https://facebook.com/smkputrabangsawaru', 'http//:twitter.com/mediadigital', 'http//:instagram.com/mediadigital', 'http//:youtube.com/mediadigital', 'HASIN, M.Kom', '20210317143251-logo-sekolah.png', '', '', 1); -- -------------------------------------------------------- -- -- Struktur dari tabel `tprodi_md` -- CREATE TABLE `tprodi_md` ( `IDPRODI` char(50) NOT NULL, `IDFAKULTAS` char(50) DEFAULT NULL, `USERNAME` char(100) DEFAULT NULL, `NAMAPRODI` char(100) DEFAULT NULL, `URAIAN` text NOT NULL, `KOMPETENSI` text NOT NULL, `PROFESI` text NOT NULL, `PRESTASI` text NOT NULL, `GAMBAR` char(100) DEFAULT NULL, `STATUSPRODI` char(10) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tprodi_md` -- INSERT INTO `tprodi_md` (`IDPRODI`, `IDFAKULTAS`, `USERNAME`, `NAMAPRODI`, `URAIAN`, `KOMPETENSI`, `PROFESI`, `PRESTASI`, `GAMBAR`, `STATUSPRODI`) VALUES ('IPS', '1', NULL, 'ILMU PENGETAHUAN SOSIAL', '<table cellpadding=\"10px\">\r\n <tbody>\r\n <tr>\r\n <td>1</td>\r\n <td>Nama Sekolah</td>\r\n <td>SMK Putra Bangsa</td>\r\n </tr>\r\n <tr>\r\n <td>2</td>\r\n <td>No. Statistik Sekolah</td>\r\n <td>321052003011</td>\r\n </tr>\r\n <tr>\r\n <td>3</td>\r\n <td>Tipe Sekolah</td>\r\n <td>Swasta</td>\r\n </tr>\r\n <tr>\r\n <td>4</td>\r\n <td>Alamat Sekolah</td>\r\n <td>&nbsp;</td>\r\n </tr>\r\n <tr>\r\n <td>5</td>\r\n <td>Desa</td>\r\n <td>Waru Barat</td>\r\n </tr>\r\n <tr>\r\n <td>6</td>\r\n <td>Kecamatan</td>\r\n <td>Waru</td>\r\n </tr>\r\n <tr>\r\n <td>7</td>\r\n <td>Kabupaten</td>\r\n <td>Pamekasan</td>\r\n </tr>\r\n <tr>\r\n <td>8</td>\r\n <td>Provinsi</td>\r\n <td>Jawa Timur</td>\r\n </tr>\r\n <tr>\r\n <td>9</td>\r\n <td>Telepon/HP/Fax</td>\r\n <td>0324 435952</td>\r\n </tr>\r\n <tr>\r\n <td>10</td>\r\n <td>Nilai Akreditasi Sekolah</td>\r\n <td>Terakreditasi B</td>\r\n </tr>\r\n <tr>\r\n <td>11</td>\r\n <td>Luas Lahan, dan jumlah rombel</td>\r\n <td>&nbsp;</td>\r\n </tr>\r\n <tr>\r\n <td>12</td>\r\n <td>Luas Lahan</td>\r\n <td>9000m2</td>\r\n </tr>\r\n <tr>\r\n <td>13</td>\r\n <td>jumlah ruang pada lantai 1</td>\r\n <td>7</td>\r\n </tr>\r\n <tr>\r\n <td>14</td>\r\n <td>jumlah ruang pada lantai 2</td>\r\n <td>5</td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n', '', '', '', '2021-03-14 03-36-30-foto-slide.jpg', '1'); -- -------------------------------------------------------- -- -- Struktur dari tabel `tprofil_md` -- CREATE TABLE `tprofil_md` ( `IDPROFIL` int(11) NOT NULL, `USERNAME` char(100) DEFAULT NULL, `NAMAPROFIL` char(100) DEFAULT NULL, `DATAPROFIL` char(100) DEFAULT NULL, `STATUSPROFIL` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tprofil_md` -- INSERT INTO `tprofil_md` (`IDPROFIL`, `USERNAME`, `NAMAPROFIL`, `DATAPROFIL`, `STATUSPROFIL`) VALUES (1, NULL, 'Nama Sekolah', '<NAME>', 1), (2, NULL, 'No. Statistik Sekolah', '321052003011', 1), (3, NULL, 'Tipe Sekolah', 'Swasta', 1), (4, NULL, 'Alamat Sekolah', '', 1), (5, NULL, 'Desa', 'Waru Barat', 1), (6, NULL, 'Kecamatan', 'Waru', 1), (7, NULL, 'Kabupaten', 'Pamekasan', 1), (8, NULL, 'Provinsi', 'Jawa Timur', 1), (9, NULL, 'Telepon/HP/Fax', '0324 435952', 1), (10, NULL, 'Nilai Akreditasi Sekolah', 'Terakreditasi B', 1), (11, NULL, '<NAME>, dan jumlah rombel', '', 1), (12, NULL, '<NAME>', '9000m2', 1), (13, NULL, 'jumlah ruang pada lantai 1', '7', 1), (14, NULL, 'jumlah ruang pada lantai 2', '5', 1), (15, NULL, 'jumlah ruang pada lantai 3', '5', 1), -- -------------------------------------------------------- -- -- Struktur dari tabel `tsaran_md` -- CREATE TABLE `tsaran_md` ( `IDSARAN` int(11) NOT NULL, `NAMA` char(100) DEFAULT NULL, `EMAIL` text DEFAULT NULL, `SUBJECT` char(100) DEFAULT NULL, `SARAN` text DEFAULT NULL, `TANGGALSARAN` datetime DEFAULT NULL, `STATUSSARAN` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tsaran_md` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `tsejarah_md` -- CREATE TABLE `tsejarah_md` ( `IDSEJARAH` int(11) NOT NULL, `USERNAME` char(100) DEFAULT NULL, `JUDUL` char(100) DEFAULT NULL, `GAMBARSEJARAH` char(100) DEFAULT NULL, `URAIANSEJARAH` text DEFAULT NULL, `STATUSSEJARAH` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tsejarah_md` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `tslide_md` -- CREATE TABLE `tslide_md` ( `IDSLIDE` int(11) NOT NULL, `USERNAME` char(100) DEFAULT NULL, `JUDUL` char(100) DEFAULT NULL, `GAMBAR` char(100) DEFAULT NULL, `URAIAN` text DEFAULT NULL, `TANGGALSLIDE` datetime DEFAULT NULL, `STATUSSLIDE` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tslide_md` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `tstruktur_md` -- CREATE TABLE `tstruktur_md` ( `IDSTRUKTUR` int(11) NOT NULL, `USERNAME` char(100) DEFAULT NULL, `STRUKTUR` char(100) DEFAULT NULL, `PERIODE` char(100) DEFAULT NULL, `STATUSSTRUKTUR` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tstruktur_md` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `ttags_md` -- CREATE TABLE `ttags_md` ( `IDTAG` int(11) NOT NULL, `USERNAME` char(100) DEFAULT NULL, `JUDULLINK` char(100) DEFAULT NULL, `TAMPILLINK` char(100) DEFAULT NULL, `LINK` char(200) DEFAULT NULL, `STATUSLINK` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `ttags_md` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `ttransaksi_md` -- CREATE TABLE `ttransaksi_md` ( `ID` int(11) NOT NULL, `TANGGAL` datetime DEFAULT NULL, `ASAL` text DEFAULT NULL, `BARU` text DEFAULT NULL, `STATUSTR` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Struktur dari tabel `tusr_md` -- CREATE TABLE `tusr_md` ( `USERNAME` char(100) NOT NULL, `PASSWORD` char(100) DEFAULT NULL, `NAMA` char(100) DEFAULT NULL, `LEVEL` int(11) DEFAULT NULL, `STATUSLOGIN` datetime DEFAULT NULL, `STATUS` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tusr_md` -- INSERT INTO `tusr_md` (`USERNAME`, `PASSWORD`, `NAMA`, `LEVEL`, `STATUSLOGIN`, `STATUS`) VALUES ('admin', '$2y$10$RH0MvwBC7JhlxG0Kqj0k1eXnID6szkMWqY3fpVbinFcWtqkAHfG1S', 'PKBM PUTRA BALAWA', 1, '2021-03-18 10:43:37', NULL); -- -------------------------------------------------------- -- -- Struktur dari tabel `tvisimisi_md` -- CREATE TABLE `tvisimisi_md` ( `IDVISIMISI` int(11) NOT NULL, `USERNAME` char(100) DEFAULT NULL, `VISIMISI` text DEFAULT NULL, `STATUSVISIMISI` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tvisimisi_md` -- INSERT INTO `tvisimisi_md` (`IDVISIMISI`, `USERNAME`, `VISIMISI`, `STATUSVISIMISI`) VALUES (1, NULL, '<p align=\"justify\"><strong>VISI</strong></p><br>\r\n\r\n<p align=\"justify\">Menjadi Perguruan Tinggi Unggul dan berdaya saing di Tingkat Asia Tahun 2045 yang berkarakter Islam Ahlus Sunnah Wal-jamaah</p><br>\r\n\r\n<p align=\"justify\"><strong>MISI</strong></p><br>\r\n\r\n<ol>\r\n <li>Menyelenggarakan pendidikan akademik, pendidikan vokasi, pendidikan profesi dan pendidikan spesialis serta mengembangkan program-program studi yang bermutu dan menjadi rujukan masyarakat Asia dengan tata kelola pendidikan yang amanah, baik dan terbuka&nbsp;<em>(open and good governance university)</em>.</li>\r\n <li>Melaksanakan penelitian dan pengabdian masyarakat yang unggul dan bereputasi Asia;</li>\r\n <li>Meningkatkan kualitas tenaga pendidik dan tenaga kependidikan yang kompeten sesuai dengan kebutuhan dan pengembangan kelembagaan;</li>\r\n <li>Mencetak lulusan yang memiliki kemantapan aqidah, keagungan akhlak, profesional dan kemampuan teknopreneur berkarakter Islam Ahulussunnah Wal-Jamaah.</li>\r\n <li>Melakukan pengembangan dan penyebarluasan ilmu pengetahuan, teknologi,seni, dan budaya serta meningkatkan taraf kehidupan masyarakat.</li>\r\n <li>Terwujudnya perguruan tinggi yang memiliki tata kelola yang baik, bersih, dan akuntabel dalam pelaksanaan otonomi perguruan tinggi.</li>\r\n <li>Menghasilkan sumber daya manusia yang beriman dan bertaqwa kepada Allah SWT, berahlak mulia, memiliki wawasan luas, memiliki kompetensi, dan berpartisipasi dalam pembangunan dan hidup ditengah-tengah masyarakat dengan menerapkan nilai-nilai islam ahlussunnah wal jamaah;</li>\r\n <li>Terwujudnya kualitas tenaga pendidik dan tenaga kependidikan yang kompeten sesuai dengan kebutuhan dan pengembangan kelembagaan;</li>\r\n <li>Menghasilkan lulusan berkualitas, professional, bersikap ilmiah, menguasai ilmu dan teknologi, berakhlakul karimah, beriman dan bertakwa, serta berprilaku Islam Ahlussunnah Wal-Jama&rsquo;ah.</li>\r\n <li>Menerapkan ilmu pengetahuan, penemuan, teknologi yang mutakhir, seni, budaya yang dapat dipertanggungjawabkan&nbsp; untuk meningkatkan taraf hidup masyarakat</li>\r\n</ol>\r\n\r\n<p align=\"justify\"><strong>Tujuan UIM</strong></p><br>\r\n\r\n<p align=\"justify\">Berdasarkan visi dan misi yang telah disebutkan, pada tahun 2020 Universitas Islam Madura bertekad:</p><br>\r\n\r\n<ol>\r\n <li>Terwujudnya perguruan tinggi yang memiliki tata kelola yang baik, bersih, dan akuntabel dalam pelaksanaan otonomi perguruan tinggi.</li>\r\n <li>Menghasilkan sumber daya manusia yang beriman dan bertaqwa kepada Allah SWT, berahlak mulia, memiliki wawasan luas, memiliki kompetensi, dan berpartisipasi dalam pembangunan dan hidup ditengah-tengah masyarakat dengan menerapkan nilai-nilai islam ahlussunnah wal jamaah;</li>\r\n <li>Terwujudnya kualitas tenaga pendidik dan tenaga kependidikan yang kompeten sesuai dengan kebutuhan dan pengembangan kelembagaan;</li>\r\n <li>Menghasilkan lulusan berkualitas, professional, bersikap ilmiah, menguasai ilmu dan teknologi, berakhlakul karimah, beriman dan bertakwa, serta berprilaku Islam Ahlussunnah Wal-Jama&rsquo;ah.</li>\r\n <li>Menerapkan ilmu pengetahuan, penemuan, teknologi yang mutakhir, seni, budaya yang dapat dipertanggungjawabkan untuk meningkatkan taraf hidup masyarakat</li>\r\n</ol>\r\n', 1); -- -------------------------------------------------------- -- -- Struktur dari tabel `twalikelas_md` -- CREATE TABLE `twalikelas_md` ( `IDWALIKELAS` int(11) NOT NULL, `USERNAME` char(100) DEFAULT NULL, `IDGURU` int(11) DEFAULT NULL, `URAIAN` text DEFAULT NULL, `STATUSWALIKELAS` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `tartikel_md` -- ALTER TABLE `tartikel_md` ADD PRIMARY KEY (`IDARTIKEL`), ADD KEY `FK_RELATIONSHIP_1` (`USERNAME`); -- -- Indeks untuk tabel `textra_md` -- ALTER TABLE `textra_md` ADD PRIMARY KEY (`IDEXTRA`), ADD KEY `FK_RELATIONSHIP_2` (`USERNAME`); -- -- Indeks untuk tabel `tfakultas_md` -- ALTER TABLE `tfakultas_md` ADD PRIMARY KEY (`IDFAKULTAS`), ADD KEY `FK_RELATIONSHIP_3` (`USERNAME`), -- -- Indeks untuk tabel `tguru_md` -- ALTER TABLE `tguru_md` ADD PRIMARY KEY (`IDGURU`), ADD KEY `FK_RELATIONSHIP_4` (`USERNAME`); -- -- Indeks untuk tabel `tinfo_md` -- ALTER TABLE `tinfo_md` ADD PRIMARY KEY (`IDINFO`), ADD KEY `FK_RELATIONSHIP_5` (`USERNAME`); -- -- Indeks untuk tabel `tkomentar_md` -- ALTER TABLE `tkomentar_md` ADD PRIMARY KEY (`IDKOMENTAR`), ADD KEY `FK_RELATIONSHIP_6` (`IDARTIKEL`); -- -- Indeks untuk tabel `tlembaga_md` -- ALTER TABLE `tlembaga_md` ADD PRIMARY KEY (`NPSN`), ADD KEY `FK_RELATIONSHIP_7` (`USERNAME`); -- -- Indeks untuk tabel `tprodi_md` -- ALTER TABLE `tprodi_md` ADD PRIMARY KEY (`IDPRODI`), ADD KEY `IDFAKULTAS` (`IDFAKULTAS`); -- -- Indeks untuk tabel `tprofil_md` -- ALTER TABLE `tprofil_md` ADD PRIMARY KEY (`IDPROFIL`), ADD KEY `FK_RELATIONSHIP_8` (`USERNAME`); -- -- Indeks untuk tabel `tsaran_md` -- ALTER TABLE `tsaran_md` ADD PRIMARY KEY (`IDSARAN`); -- -- Indeks untuk tabel `tsejarah_md` -- ALTER TABLE `tsejarah_md` ADD PRIMARY KEY (`IDSEJARAH`), ADD KEY `FK_RELATIONSHIP_9` (`USERNAME`); -- -- Indeks untuk tabel `tslide_md` -- ALTER TABLE `tslide_md` ADD PRIMARY KEY (`IDSLIDE`); -- -- Indeks untuk tabel `tstruktur_md` -- ALTER TABLE `tstruktur_md` ADD PRIMARY KEY (`IDSTRUKTUR`), ADD KEY `FK_RELATIONSHIP_10` (`USERNAME`); -- -- Indeks untuk tabel `ttags_md` -- ALTER TABLE `ttags_md` ADD PRIMARY KEY (`IDTAG`), ADD KEY `FK_RELATIONSHIP_11` (`USERNAME`); -- -- Indeks untuk tabel `tusr_md` -- ALTER TABLE `tusr_md` ADD PRIMARY KEY (`USERNAME`); -- -- Indeks untuk tabel `tvisimisi_md` -- ALTER TABLE `tvisimisi_md` ADD PRIMARY KEY (`IDVISIMISI`), ADD KEY `FK_RELATIONSHIP_12` (`USERNAME`); -- -- Indeks untuk tabel `twalikelas_md` -- ALTER TABLE `twalikelas_md` ADD PRIMARY KEY (`IDWALIKELAS`), ADD KEY `FK_RELATIONSHIP_14` (`IDGURU`), ADD KEY `FK_RELATIONSHIP_13` (`USERNAME`); -- -- AUTO_INCREMENT untuk tabel yang dibuang -- -- -- AUTO_INCREMENT untuk tabel `tinfo_md` -- ALTER TABLE `tinfo_md` MODIFY `IDINFO` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT untuk tabel `tkomentar_md` -- ALTER TABLE `tkomentar_md` MODIFY `IDKOMENTAR` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT untuk tabel `tprofil_md` -- ALTER TABLE `tprofil_md` MODIFY `IDPROFIL` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32; -- -- AUTO_INCREMENT untuk tabel `tsaran_md` -- ALTER TABLE `tsaran_md` MODIFY `IDSARAN` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; -- -- AUTO_INCREMENT untuk tabel `tsejarah_md` -- ALTER TABLE `tsejarah_md` MODIFY `IDSEJARAH` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT untuk tabel `tslide_md` -- ALTER TABLE `tslide_md` MODIFY `IDSLIDE` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23; -- -- AUTO_INCREMENT untuk tabel `tstruktur_md` -- ALTER TABLE `tstruktur_md` MODIFY `IDSTRUKTUR` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT untuk tabel `ttags_md` -- ALTER TABLE `ttags_md` MODIFY `IDTAG` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT untuk tabel `tvisimisi_md` -- ALTER TABLE `tvisimisi_md` MODIFY `IDVISIMISI` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables) -- -- -- Ketidakleluasaan untuk tabel `tartikel_md` -- ALTER TABLE `tartikel_md` ADD CONSTRAINT `FK_RELATIONSHIP_3` FOREIGN KEY (`USERNAME`) REFERENCES `tusr_md` (`USERNAME`); -- -- Ketidakleluasaan untuk tabel `textra_md` -- ALTER TABLE `textra_md` ADD CONSTRAINT `FK_RELATIONSHIP_7` FOREIGN KEY (`USERNAME`) REFERENCES `tusr_md` (`USERNAME`); -- -- Ketidakleluasaan untuk tabel `tguru_md` -- ALTER TABLE `tguru_md` ADD CONSTRAINT `FK_RELATIONSHIP_6` FOREIGN KEY (`USERNAME`) REFERENCES `tusr_md` (`USERNAME`); -- -- Ketidakleluasaan untuk tabel `tinfo_md` -- ALTER TABLE `tinfo_md` ADD CONSTRAINT `FK_RELATIONSHIP_5` FOREIGN KEY (`USERNAME`) REFERENCES `tusr_md` (`USERNAME`); -- -- Ketidakleluasaan untuk tabel `tkomentar_md` -- ALTER TABLE `tkomentar_md` ADD CONSTRAINT `FK_RELATIONSHIP_10` FOREIGN KEY (`IDARTIKEL`) REFERENCES `tartikel_md` (`IDARTIKEL`); -- -- Ketidakleluasaan untuk tabel `tlembaga_md` -- ALTER TABLE `tlembaga_md` ADD CONSTRAINT `FK_RELATIONSHIP_1` FOREIGN KEY (`USERNAME`) REFERENCES `tusr_md` (`USERNAME`); -- -- Ketidakleluasaan untuk tabel `tprodi_md` -- ALTER TABLE `tprodi_md` ADD CONSTRAINT `tprodi_md_ibfk_1` FOREIGN KEY (`IDFAKULTAS`) REFERENCES `tfakultas_md` (`IDFAKULTAS`); -- -- Ketidakleluasaan untuk tabel `tsejarah_md` -- ALTER TABLE `tsejarah_md` ADD CONSTRAINT `FK_RELATIONSHIP_8` FOREIGN KEY (`USERNAME`) REFERENCES `tusr_md` (`USERNAME`); -- -- Ketidakleluasaan untuk tabel `ttags_md` -- ALTER TABLE `ttags_md` ADD CONSTRAINT `FK_RELATIONSHIP_9` FOREIGN KEY (`USERNAME`) REFERENCES `tusr_md` (`USERNAME`); -- -- Ketidakleluasaan untuk tabel `twalikelas_md` -- ALTER TABLE `twalikelas_md` ADD CONSTRAINT `FK_RELATIONSHIP_11` FOREIGN KEY (`IDGURU`) REFERENCES `tguru_md` (`IDGURU`), ADD CONSTRAINT `FK_RELATIONSHIP_12` FOREIGN KEY (`USERNAME`) REFERENCES `tusr_md` (`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 */;
<reponame>BlueDress/School select FirstName, LastName from Employees where DepartmentID != 4
use cadastro; describe pessoas; alter table pessoas add column profissao varchar(10); select * from pessoas; alter table pessoas drop column profissao; select * from pessoas; alter table pessoas add column profissao varchar(10) after nome; describe pessoas; alter table pessoas add column codigo int first; select * from pessoas; alter table pessoas modify column profissao varchar(20); alter table pessoas change column profissao prof varchar(20); describe pessoas; alter table pessoas rename to gafanhotos; describe gafanhotos; create table if not exists cursos ( nome varchar(30) not null unique, descricao text, carga int, totaulas int, ano year default '2016' ) default charset = utf8; describe cursos; alter table cursos add column idcurso int not null first; describe cursos; alter table cursos add primary key(idcurso); describe cursos; create table if not exists teste ( id int not null, nome varchar(30) not null, sexo enum ('M', 'F'), nascimento date, primary key (id) )default charset = utf8; describe teste; drop table if exists teste;
<reponame>Moha1234567890/Laravel-App-for-Rest-Api -- phpMyAdmin SQL Dump -- version 5.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Apr 25, 2021 at 02:36 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: `laravel-api` -- -- -------------------------------------------------------- -- -- 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 `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 (1, '2014_10_12_000000_create_users_table', 1), (2, '2019_08_19_000000_create_failed_jobs_table', 1); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES (3, 'moh', '<EMAIL>', NULL, '$2y$10$QJwpza30EXTgC0yL8UWNtO0Z946DiW3hGEMXAJHiVdC.T5owAY8Xm', NULL, '2021-03-31 11:47:36', '2021-03-31 11:47:36'), (4, '<EMAIL>', '<EMAIL>', NULL, '$2y$10$U86EQovl17PPNrobN4AA1Of3XuEG6HZCvyM5Bb/PshtdJQrq2rEyC', NULL, '2021-04-01 09:06:47', '2021-04-01 09:06:47'), (5, '<EMAIL>', '<EMAIL>', NULL, '$2y$10$hZUw1RSpyAnkPFBWn/ITJ.4crZ4T0HMvQ1FNOFp.Gdm9uiHCaG48.', NULL, '2021-04-21 11:00:00', '2021-04-21 11:00:00'), (6, '<EMAIL>', '<EMAIL>', NULL, '$2y$10$su1xvSDEcRhwZ/TFhB08MO6HXjMykY9BfTftThiVYwEvyFy5ryFwa', NULL, '2021-04-21 11:58:40', '2021-04-21 11:58:40'), (7, '<EMAIL>', '<EMAIL>', NULL, '$2y$10$0EqLuuLhNXdLzY9Z0HdXz.I7wKKGA8/OzBC/SJhZ.F7HF3Uvgk.iO', NULL, '2021-04-21 12:00:47', '2021-04-21 12:00:47'), (8, '<EMAIL>', '<EMAIL>', NULL, '$2y$10$Cb6Y5OnmNnnLEBRA6rgEKeQA4GZR4/BdzWFN97.eQQn6z8Gq9UpfS', NULL, '2021-04-21 12:02:05', '2021-04-21 12:02:05'), (9, '<EMAIL>', '<EMAIL>', NULL, '$2y$10$OAvrOQGbA8SuRzCM9tiqXu.Wn4WnowCWRcdQ/kdYd3SsCGzKvk.my', NULL, '2021-04-21 12:06:44', '2021-04-21 12:06:44'); -- -- Indexes for dumped tables -- -- -- Indexes for table `failed_jobs` -- ALTER TABLE `failed_jobs` ADD PRIMARY KEY (`id`); -- -- Indexes for table `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`); -- -- 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 `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- 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 */;
<filename>test/sql_querys/SQL - CREATE - new.sql CREATE DATABASE IF NOT EXISTS clinicaloscedros; USE clinicaloscedros; CREATE TABLE IF NOT EXISTS empleado ( id int not null auto_increment primary key, nombre varchar(100) not null, imagen varchar(255) not null, sexo char not null ) ENGINE=InnoDB CHARACTER SET = utf8, COLLATE = utf8_general_ci; CREATE TABLE IF NOT EXISTS autoridad ( id int not null auto_increment primary key, idEmpleado int not null, cargo text not null, cv text, CONSTRAINT foreign_key_idEmpleado FOREIGN KEY (idEmpleado) REFERENCES empleado (id) ) ENGINE=InnoDB CHARACTER SET = utf8, COLLATE = utf8_general_ci; CREATE TABLE IF NOT EXISTS doctor ( id int not null auto_increment primary key, idEmpleado int not null, CONSTRAINT foreign_key_idEmpleado FOREIGN KEY (idEmpleado) REFERENCES empleado (id) ) ENGINE=InnoDB; CREATE TABLE IF NOT EXISTS categoria ( id int not null auto_increment primary key, nombre varchar(100) not null, descripcion text ) ENGINE=InnoDB CHARACTER SET = utf8, COLLATE = utf8_general_ci; CREATE TABLE IF NOT EXISTS especialidad ( id int not null auto_increment primary key, nombre varchar(100) not null ) ENGINE=InnoDB CHARACTER SET = utf8, COLLATE = utf8_general_ci; CREATE TABLE IF NOT EXISTS cobertura ( id int not null auto_increment primary key, nombre varchar(100) not null, imagen varchar(255) not null ) ENGINE=InnoDB CHARACTER SET = utf8, COLLATE = utf8_general_ci; CREATE TABLE IF NOT EXISTS servicio ( id int not null auto_increment primary key, nombre varchar(100) not null, descripcion text, idDoctor int not null, CONSTRAINT foreign_key_idDoctor FOREIGN KEY (idDoctor) REFERENCES doctor (id) ) ENGINE=InnoDB CHARACTER SET = utf8, COLLATE = utf8_general_ci; CREATE TABLE IF NOT EXISTS instalacion ( id int not null auto_increment primary key, nombre varchar(100) not null, imagen varchar(255) not null, descripcion text, idCategoria int not null, CONSTRAINT foreign_key_idCategoria FOREIGN KEY (idCategoria) REFERENCES categoria (id) ) ENGINE=InnoDB CHARACTER SET = utf8, COLLATE = utf8_general_ci; CREATE TABLE IF NOT EXISTS usuario ( id int not null auto_increment primary key, nombre varchar(100) not null, usuario varchar(30) not null, pass varchar(255) not null ) ENGINE=InnoDB CHARACTER SET = utf8, COLLATE = utf8_general_ci; CREATE TABLE IF NOT EXISTS doctorXEspecialidad ( id int not null auto_increment primary key, idEspecialidad int not null, idDoctor int not null, CONSTRAINT foreign_key_idDoctor FOREIGN KEY (idDoctor) REFERENCES doctor (id), CONSTRAINT foreign_key_idEspecialidad FOREIGN KEY (idEspecialidad) REFERENCES especialidad (id) )ENGINE=InnoDB CHARACTER SET = utf8, COLLATE = utf8_general_ci;
<reponame>sjhanFinsetN/samsblog -- Create main database CREATE DATABASE IF NOT EXISTS `samsblog_db`; -- Create shadow database for prisma CREATE DATABASE IF NOT EXISTS `samsblog_shadow_db`; -- To GRANT ALL privileges to a user(mysql), allowing that user full control over a shadow database GRANT ALL PRIVILEGES ON samsblog_shadow_db.* TO 'mysql'@'%';
<gh_stars>0 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; CREATE DATABASE `studentinfo`; USE `studentinfo`; CREATE TABLE IF NOT EXISTS `students` ( `id` int(11) NOT NULL AUTO_INCREMENT, `sname` longtext NOT NULL, `rollno` mediumtext NOT NULL, `regno` int(11) NOT NULL, `dname` longtext NOT NULL, PRIMARY KEY (`id`) ) ; INSERT INTO `students` (`id`, `sname`, `rollno`, `regno`, `dname`) VALUES (21, '<NAME>', 'IIN-07-23', 1, 'Telecommunication'), (22, '<NAME>', 'IIN-06-22', 132, 'Computer Science'), (30, '<NAME>', 'IIN-05-18', 345, 'Information Technology');
INSERT INTO pos_itemtemp VALUES("IATT200004829","193133","191001","192015","47272","1","47272","0","47272","1","1","1","IAT1701200848","NHO2018000007","PAID","","193133"), ("IATT200004829","193181","191001","192015","29545","1","29545","0","29545","1","1","1","IAT1701200848","NHO2018000007","PAID","","193181"), ("IATT200004830","193035","191001","192006","32000","1","32000","0","32000","1","1","1","IAT1701200848","NHO2018000007","PAID","udah","PEDAS"), ("IATT200004831","193035","191001","192006","32000","1","32000","0","32000","1","1","1","IAT1701200848","NHO2018000007","PAID","buat jam. 02 siang nanti \n","PEDAS"), ("IATT200004831","193035","191001","192006","32000","1","32000","0","32000","2","1","1","IAT1701200848","NHO2018000007","PAID","","PEDAS"), ("IATT200004832","193087","191001","192002","33000","1","33000","0","33000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193087"), ("IATT200004832","193047","191002","192010","10000","1","10000","0","10000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193047"), ("IATT200004833","193078","191001","192001","30000","1","30000","0","30000","1","1","1","IAT1701200848","NHO2018000007","PAID","GAPAKE SAYURAN","PEDAS"), ("IATT200004833","193047","191002","192010","10000","1","10000","0","10000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193047"), ("IATT200004834","193048","191002","192010","8000","1","8000","0","8000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193048"), ("IATT200004833","193047","191002","192010","10000","1","10000","0","10000","2","1","2","IAT1701200848","NHO2018000007","PAID","","193047"), ("IATT200004835","193029","191001","192004","27000","1","27000","0","27000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193029"), ("IATT200004835","193056","191002","192010","17000","1","17000","0","17000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193056"), ("IATT200004836","193024","191001","192003","30000","1","30000","0","30000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193024"), ("IATT200004836","193041","191001","192008","20000","1","20000","0","20000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193041"), ("IATT200004836","193039","191001","192006","36000","1","36000","0","36000","1","1","1","IAT1701200848","NHO2018000007","PAID","","PEDAS"), ("IATT200004836","193048","191002","192010","8000","1","8000","0","8000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193048"), ("IATT200004836","193048","191002","192010","8000","1","8000","0","8000","2","1","1","IAT1701200848","NHO2018000007","PAID","","193048"), ("IATT200004836","193048","191002","192010","8000","1","8000","0","8000","3","1","1","IAT1701200848","NHO2018000007","PAID","","193048"), ("IATT200004836","193055","191002","192010","17000","1","17000","0","17000","1","1","2","IAT1701200848","NHO2018000007","PAID","","193055"), ("IATT200004837","193084","191001","192001","30000","1","30000","3000","27000","1","1","1","IAT1701200848","NHO2018000007","PAID","","PEDAS"), ("IATT200004837","193054","191002","192010","20000","1","20000","2000","18000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193054"), ("IATT200004838","193055","191002","192010","17000","1","17000","0","17000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193055"), ("IATT200004838","193056","191002","192010","17000","1","17000","0","17000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193056"), ("IATT200004838","193028","191001","192003","43000","1","43000","0","43000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193028"), ("IATT200004838","193084","191001","192001","30000","1","30000","0","30000","1","1","1","IAT1701200848","NHO2018000007","PAID","","PEDAS"), ("IATT200004839","193082","191001","192001","30000","1","30000","0","30000","1","1","1","IAT1701200848","NHO2018000007","PAID","TANPA SAYURAN ","193082"), ("IATT200004839","193078","191001","192001","30000","1","30000","0","30000","1","1","1","IAT1701200848","NHO2018000007","PAID","","PEDAS"), ("IATT200004839","193052","191002","192010","20000","1","20000","0","20000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193052"), ("IATT200004839","193047","191002","192010","10000","1","10000","0","10000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193047"), ("IATT200004840","193029","191001","192004","27000","1","27000","0","27000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193029"), ("IATT200004840","193024","191001","192003","30000","1","30000","0","30000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193024"), ("IATT200004840","193034","191001","192005","37000","1","37000","0","37000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193034"), ("IATT200004840","193046","191002","192010","10000","1","10000","0","10000","1","1","1","IAT1701200848","NHO2018000007","PAID","","193046"), ("IATT200004840","193046","191002","192010","10000","1","10000","0","10000","2","1","1","IAT1701200848","NHO2018000007","PAID","","193046"); INSERT INTO pos_salestemp VALUES("IATT200004829","","1","76817","0","7682","0","84499","84499","17/01/2020","10:42","2020-01-17","10:49:07","ISU000015","tbl0001","CLOSED","1","","IATR200004697","","","","","IAT1701200848","NHO2018000007"), ("IATT200004830","","1","32000","0","3200","0","35200","50000","17/01/2020","11:53","2020-01-17","11:54:18","ISU000015","tbl0007","CLOSED","1","","IATR200004698","","","","","IAT1701200848","NHO2018000007"), ("IATT200004831","","2","64000","0","6400","0","70400","100000","17/01/2020","13:26","2020-01-17","13:33:53","ISU000015","tbl0018","CLOSED","1","","IATR200004699","","","","","IAT1701200848","NHO2018000007"), ("IATT200004832","","0","43000","0","4300","0","47300","50000","17/01/2020","13:48","2020-01-17","14:05:12","ISU000015","tbl0012","CLOSED","1","","IATR200004700","","","","","IAT1701200848","NHO2018000007"), ("IATT200004833","","1","50000","0","5000","0","55000","100000","17/01/2020","14:07","2020-01-17","14:48:03","ISU000006","tbl0014","CLOSED","1","","IATR200004702","","","","","IAT1701200848","NHO2018000007"), ("IATT200004834","","1","8000","0","800","0","8800","10000","17/01/2020","14:20","2020-01-17","14:21:23","ISU000006","tbl0031","CLOSED","1","","IATR200004701","","","","","IAT1701200848","NHO2018000007"), ("IATT200004835","","1","44000","0","4400","0","48400","48400","17/01/2020","17:43","2020-01-17","18:31:43","ISU000006","tbl0012","CLOSED","1","","IATR200004703","","","","","IAT1701200848","NHO2018000007"), ("IATT200004836","","2","127000","0","12700","0","139700","150000","17/01/2020","18:34","2020-01-17","19:10:42","ISU000006","tbl0011","CLOSED","1","","IATR200004704","","","","","IAT1701200848","NHO2018000007"), ("IATT200004837","","1","50000","5000","4500","0","49500","50000","17/01/2020","19:19","2020-01-17","20:57:02","ISU000006","tbl0014","CLOSED","1","","IATR200004708","","","","","IAT1701200848","NHO2018000007"), ("IATT200004838","","2","107000","0","10700","0","117700","150000","17/01/2020","19:24","2020-01-17","20:45:06","ISU000006","tbl0012","CLOSED","1","","IATR200004707","","","","","IAT1701200848","NHO2018000007"), ("IATT200004839","","2","90000","0","9000","0","99000","100000","17/01/2020","19:40","2020-01-17","20:22:27","ISU000006","tbl0010","CLOSED","1","","IATR200004705","","","","","IAT1701200848","NHO2018000007"), ("IATT200004840","","3","114000","0","11400","0","125400","200000","17/01/2020","20:01","2020-01-17","20:37:36","ISU000006","tbl0011","CLOSED","1","","IATR200004706","","","","","IAT1701200848","NHO2018000007"); INSERT INTO item_void VALUES("IATT200004838","IAT1701200848","NHO2018000007","193028","193028","1","43000","Before Send","Komplen Customer"); INSERT INTO pos_promotion_h VALUES("IATT200004837","NPRM18000019","DISC ALL","1","5000","CRM DISC 10%","IAT1701200848","PAID","NHO2018000007"); INSERT INTO pos_promotion_d VALUES("IATT200004837","NPRM18000019","DISC ALL","1","1","193084","1","3000","IAT1701200848","PAID","NHO2018000007"), ("IATT200004837","NPRM18000019","DISC ALL","1","1","193054","1","2000","IAT1701200848","PAID","NHO2018000007"); INSERT INTO pos_paymenttemp VALUES("IATT200004829","CASH","GOPAY","84499","84499","ISU000015","2020-01-17","","1","","CLOSED","IAT1701200848","NHO2018000007"), ("IATT200004830","CASH","CASH","35200","50000","ISU000015","2020-01-17","","1","","CLOSED","IAT1701200848","NHO2018000007"), ("IATT200004831","CASH","CASH","70400","100000","ISU000015","2020-01-17","","1","","CLOSED","IAT1701200848","NHO2018000007"), ("IATT200004832","CASH","CASH","47300","50000","ISU000015","2020-01-17","","1","","CLOSED","IAT1701200848","NHO2018000007"), ("IATT200004834","CASH","CASH","8800","10000","ISU000006","2020-01-17","","1","","CLOSED","IAT1701200848","NHO2018000007"), ("IATT200004833","CASH","CASH","55000","100000","ISU000006","2020-01-17","","1","","CLOSED","IAT1701200848","NHO2018000007"), ("IATT200004835","CASH","OVO","48400","48400","ISU000006","2020-01-17","","1","","CLOSED","IAT1701200848","NHO2018000007"), ("IATT200004836","CASH","CASH","139700","150000","ISU000006","2020-01-17","","1","","CLOSED","IAT1701200848","NHO2018000007"), ("IATT200004839","CASH","CASH","99000","100000","ISU000006","2020-01-17","","1","","CLOSED","IAT1701200848","NHO2018000007"), ("IATT200004840","CASH","CASH","125400","200000","ISU000006","2020-01-17","","1","","CLOSED","IAT1701200848","NHO2018000007"), ("IATT200004838","CASH","CASH","117700","150000","ISU000006","2020-01-17","","1","","CLOSED","IAT1701200848","NHO2018000007"), ("IATT200004837","CASH","CASH","49500","50000","ISU000006","2020-01-17","","1","","CLOSED","IAT1701200848","NHO2018000007");
CREATE TABLE subdivisions ( country_code text NOT NULL , code_31662 text NOT NULL , name text , local_variant text , language_code text , romanization_system text , parent_subdivision text , PRIMARY KEY (country_code , code_31662) , FOREIGN KEY (country_code) REFERENCES countries (alpha_2_code) ON DELETE CASCADE , FOREIGN KEY (language_code) REFERENCES languages (alpha_2_code) ON DELETE CASCADE );
SET NAMES UTF8; DROP DATABASE IF EXISTS FOODKING; CREATE DATABASE FOODKING CHARSET=UTF8; USE FOODKING; /**用户信息**/ CREATE TABLE fk_user( uid INT PRIMARY KEY AUTO_INCREMENT, #编号 uname varchar(32), #姓名 email varchar(32), #账号——邮箱 upwd varchar(32), #密码 phone varchar(11) #手机 ); /**数据导入**/ /**1.信息表-导入**/ INSERT INTO fk_user VALUES (NULL,'美味皇0','<EMAIL>','123456789','15232569854'), (NULL,'美味皇1','<EMAIL>','123456789','15232569854'), (NULL,'美味皇2','<EMAIL>','123456789','15232569854'), (NULL,'美味皇3','<EMAIL>','123456789','15232569854');
SELECT c.CountryCode, mount.MountainRange, p.PeakName, p.Elevation FROM Countries AS c JOIN MountainsCountries AS m ON m.CountryCode = c.CountryCode AND m.CountryCode = 'BG' JOIN Peaks AS p ON p.MountainId = m.MountainId AND p.Elevation > 2835 JOIN Mountains AS mount ON mount.Id = m.MountainId ORDER BY p.Elevation DESC
<filename>db/db/4init_param/MB/MB_LINK_CONDITION.sql TRUNCATE TABLE mb_link_condition; COMMIT;
<filename>analysis/sql/scratch.sql<gh_stars>1-10 DROP TABLE _ab_1378435_contributions1; -- create first table CREATE TABLE _ab_1378435_contributions1 AS WITH target_fec_files AS ( SELECT 1378435 AS fec_file ) SELECT actor_individual_id, location_id, amount, contributed, transaction_id, contribution_aggregate, memo_id FROM contributions_2020_cycle c WHERE c.actor_individual_id NOT IN (-1, 0) AND c.actor_organization_id = 0 AND EXISTS (SELECT 1 FROM target_fec_files tff WHERE tff.fec_file = c.fec_file) -- check that we are not looking at bundled contributions AND NOT EXISTS (SELECT 1 FROM contributions_2020_cycle_maintenance chk WHERE chk.form_id = c.form_id AND grouped = true) -- check that we are not looking duplicate contributions AND NOT EXISTS (SELECT 1 FROM contributions_2020_cycle_maintenance chk WHERE chk.form_id = c.form_id AND duplicate = true) -- ignore refunds AND NOT EXISTS (SELECT 1 FROM contributions_2020_cycle_maintenance chk WHERE chk.form_id = c.form_id AND refund = true); DROP TABLE IF EXISTS _ab_1378435_contributions2; -- create second cleansing table CREATE TABLE _ab_1378435_contributions2 AS SELECT actor_individual_id AS individual_id, location_id, substring(n.first FROM 1 FOR 1) AS first_name, n.last AS last_name, amount, contributed, com.fec_id AS recipient_committee_fec_id, com_name.name AS recipient_committee_name, transaction_id, contribution_aggregate, m.memo, a.zip_code, a.state FROM _ab_1378435_contributions1 c LEFT JOIN LATERAL (SELECT name_id, zip_code, state FROM actors a WHERE a.id = c.actor_individual_id) AS a ON true LEFT JOIN LATERAL (SELECT first, last FROM names n WHERE n.id = a.name_id) AS n ON true LEFT JOIN LATERAL (SELECT memo FROM contribution_memos m WHERE m.id = c.memo_id) AS m ON true LEFT JOIN LATERAL (SELECT (regexp_matches(memo, '(C\d{8})'))[1] AS fec_id) AS com ON true LEFT JOIN LATERAL (SELECT (regexp_matches(memo, 'EARMARKED FOR (.+)$'))[1] AS name) AS com_name -- memo does not contain fec id ON (memo !~ '(C\d{8})' -- ignore actblue contributions -- and future nominees AND memo !~ 'ACTBLUE|NOMINEE'); -- DEBUG: look for opportunities to improve memo logic SELECT recipient_committee_name, count(*) FROM _ab_1378435_contributions2 WHERE recipient_committee_fec_id IS NULL AND recipient_committee_name IS NOT NULL GROUP BY recipient_committee_name ORDER BY count(*) DESC; -- fix empty fec ids UPDATE _ab_1378435_contributions2 SET recipient_committee_fec_id = 'C00365536' WHERE recipient_committee_name = 'CHC BOLD PAC COMMITTEE FOR HISPANIC CAUSES BUILDING OUR LEADERSHIP DIVERSITY C0036553'; -- update missing recipient committee fec ids WITH missing_com_names AS ( SELECT DISTINCT recipient_committee_name FROM _ab_1378435_contributions2 WHERE recipient_committee_fec_id IS NULL AND recipient_committee_name IS NOT NULL ), com_matches AS ( SELECT recipient_committee_name, coalesce(com.fec_id, a.fec_id) AS fec_id FROM missing_com_names m LEFT JOIN LATERAL (SELECT fec_id FROM fec_committees_detailed f WHERE f.name = m.recipient_committee_name ORDER BY csv_file LIMIT 1) AS com ON true LEFT JOIN LATERAL (SELECT fec_id FROM actors a WHERE a.name = m.recipient_committee_name AND fec_id IS NOT NULL ORDER BY id LIMIT 1) AS a ON (com.fec_id IS NULL) ) UPDATE _ab_1378435_contributions2 a SET recipient_committee_fec_id = cm.fec_id FROM com_matches cm WHERE a.recipient_committee_name = cm.recipient_committee_name; CREATE INDEX _ab_1378435_contributions2_sort_idx ON _ab_1378435_contributions2(state, zip_code, contributed, amount); DROP TABLE IF EXISTS ab_1378435_contributions_sorted; -- create final table CREATE TABLE ab_1378435_contributions_sorted AS SELECT row_number() OVER (ORDER BY state, zip_code, contributed, amount) AS id, individual_id, location_id, first_name, last_name, amount, contributed, recipient_committee_fec_id, transaction_id, contribution_aggregate, memo, zip_code, state FROM _ab_1378435_contributions2 c ORDER BY state, zip_code, contributed, amount; -- for exporting CREATE INDEX ab_1378435_contributions_sorted_export_idx ON ab_1378435_contributions_sorted(state); CREATE INDEX ab_1378435_contributions_sorted_individual_idx ON ab_1378435_contributions_sorted(individual_id); --------- COMMITTEES --------------- CREATE TABLE ab_1378435_committees AS WITH ab_fec_ids AS ( SELECT DISTINCT recipient_committee_fec_id FROM ab_1378435_contributions_sorted WHERE recipient_committee_fec_id IS NOT NULL ), principal_committee_fec_ids AS ( SELECT fec_id FROM fec_committees_detailed WHERE csv_file = 2020 AND designation in ('P') -- make sure we have a candidate and affiliation AND candidate_fec_id IS NOT NULL AND affiliation IS NOT NULL GROUP BY fec_id -- find actors ids based off of the fec_id ), authorized_committee_fec_ids AS ( SELECT fec_id FROM fec_committees_detailed WHERE csv_file = 2020 AND designation in ('A') -- make sure we have a candidate and affiliation AND candidate_fec_id IS NOT NULL AND affiliation IS NOT NULL GROUP BY fec_id ) SELECT recipient_committee_fec_id AS fec_id, com.name, com.candidate_fec_id, com.candidate_name, com.affiliation, com.office, com.state, com.district, com.incumbent_challenger, (CASE WHEN (is_authorized.committee = true) THEN true ELSE false END) AS is_authorized_committee, (CASE WHEN (is_principal.committee = true) THEN true ELSE false END) AS is_principal_committee FROM ab_fec_ids ab LEFT JOIN LATERAL (SELECT f.name, f.candidate_fec_id, can.name AS candidate_name, coalesce(can.affiliation, f.affiliation) AS affiliation, can.office, can.state, can.district, can.incumbent_challenger FROM fec_committees_detailed f LEFT JOIN LATERAL (SELECT name, affiliation, office, state, district, incumbent_challenger FROM fec_candidates_detailed fc WHERE fc.fec_id = f.candidate_fec_id ORDER BY csv_file DESC LIMIT 1) AS can ON (f.candidate_fec_id IS NOT NULL) WHERE f.fec_id = ab.recipient_committee_fec_id ORDER BY f.csv_file DESC LIMIT 1) AS com ON true LEFT JOIN LATERAL (SELECT true AS committee FROM authorized_committee_fec_ids p WHERE p.fec_id = ab.recipient_committee_fec_id LIMIT 1) AS is_authorized ON true LEFT JOIN LATERAL (SELECT true AS committee FROM principal_committee_fec_ids p WHERE p.fec_id = ab.recipient_committee_fec_id LIMIT 1) AS is_principal ON true;
# --- !Ups CREATE TABLE Speakerz ( id varchar(255) NOT NULL, document json NOT NULL, PRIMARY KEY (id) ); # --- !Downs DROP TABLE Speakerz;
/* must begin with the end in mind the end is to load data in mssql so... make a dictionary that's keyed on sql table and column + seq in case comes from more than one place in u2 dictionary shows file, location, format, char separator for concatenation, default, error behavior (fail, default) */ create table u2_mapping ( tbl sysname not null ,col sysname not null ,seq tinyint not null ,fle varchar(255) null ,loc smallint null ,fmt varchar(255) null ,dflt varchar(255) null ,sep varchar(10) null , ,constraint pk_u2_mapping (tbl, col, seq) )
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Apr 13, 2017 at 02:56 PM -- Server version: 10.1.19-MariaDB -- PHP Version: 7.0.13 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: `wallet` -- -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(10) NOT NULL, `avatar` text NOT NULL, `nickname` text NOT NULL, `type` text NOT NULL, `vpa` text NOT NULL, `accountnumber` text NOT NULL, `lat` text NOT NULL, `lng` text NOT NULL, `amount` text NOT NULL, `cust_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `avatar`, `nickname`, `type`, `vpa`, `accountnumber`, `lat`, `lng`, `amount`, `cust_id`) VALUES (1, 'man2', 'partner', 'individual', '1232548952', '4444777755551982', '13.082680', '80.270718', '5566', 33336982), (2, 'boy1', 'Gates', 'individual', '1916394547', '4444777755551981', '13.082680', '80.270718', '', 33336981), (4, 'man2', 'Stationary Shop', 'merchant', '8844884880', '4444777755551983', '13.082680', '80.270718', '', 33336983); -- -- Indexes for dumped tables -- -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; /*!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 */;
CREATE database if NOT EXISTS `nacos` default character set utf8mb4 collate utf8mb4_general_ci; use `nacos`; /* Navicat Premium Data Transfer Source Server : mysql5.7 Source Server Type : MySQL Source Server Version : 50727 Source Host : 127.0.0.1:3306 Source Schema : nacos Target Server Type : MySQL Target Server Version : 50727 File Encoding : 65001 Date: 22/04/2022 19:00:57 */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for config_info -- ---------------------------- DROP TABLE IF EXISTS `config_info`; CREATE TABLE `config_info` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id', `data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id', `group_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL, `content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'content', `md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'md5', `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间', `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间', `src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'source user', `src_ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'source ip', `app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL, `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段', `c_desc` varchar(256) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL, `c_use` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL, `effect` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL, `type` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL, `c_schema` text CHARACTER SET utf8 COLLATE utf8_bin NULL, PRIMARY KEY (`id`) USING BTREE, UNIQUE INDEX `uk_configinfo_datagrouptenant`(`data_id`, `group_id`, `tenant_id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 19 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_info' ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of config_info -- ---------------------------- INSERT INTO `config_info` VALUES (1, 'jeecg-dev.yaml', 'DEFAULT_GROUP', 'spring:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: <PASSWORD> allow:\n web-stat-filter:\n enabled: true\n dynamic:\n druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)\n # 连接池的配置信息\n # 初始化大小,最小,最大\n initial-size: 5\n min-idle: 5\n maxActive: 20\n # 配置获取连接等待超时的时间\n maxWait: 60000\n # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒\n timeBetweenEvictionRunsMillis: 60000\n # 配置一个连接在池中最小生存的时间,单位是毫秒\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n # 打开PSCache,并且指定每个连接上PSCache的大小\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,\'wall\'用于防火墙\n filters: stat,wall,slf4j\n # 通过connectProperties属性来打开mergeSql功能;慢SQL记录\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n\n datasource:\n master:\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n username: root\n password: <PASSWORD> driver-class-name: com.mysql.cj.jdbc.Driver\n # 多数据源配置\n #multi-datasource1:\n #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n #username: root\n #password: <PASSWORD> #driver-class-name: com.mysql.cj.jdbc.Driver\n #redis 配置\n redis:\n database: 0\n host: jeecg-boot-redis\n lettuce:\n pool:\n max-active: 8 #最大连接数据库连接数,设 0 为没有限制\n max-idle: 8 #最大等待连接中的数量,设 0 为没有限制\n max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。\n min-idle: 0 #最小等待连接中的数量,设 0 为没有限制\n shutdown-timeout: 100ms\n password:\n port: 6379\n #rabbitmq配置\n rabbitmq:\n host: jeecg-boot-rabbitmq\n username: guest\n password: <PASSWORD> port: 5672\n publisher-confirms: true\n publisher-returns: true\n virtual-host: /\n listener:\n simple:\n acknowledge-mode: manual\n #消费者的最小数量\n concurrency: 1\n #消费者的最大数量\n max-concurrency: 1\n #是否支持重试\n retry:\n enabled: true\n#jeecg专用配置\nminidao :\n base-package: org.jeecg.modules.jmreport.*\njeecg :\n # 签名密钥串(前后端要一致,正式发布请自行修改)\n signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a\n # 本地:local\\Minio:minio\\阿里云:alioss\n uploadType: local\n path :\n #文件上传根目录 设置\n upload: /opt/upFiles\n #webapp文件路径\n webapp: /opt/webapp\n shiro:\n excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**\n #阿里云oss存储配置\n oss:\n endpoint: oss-cn-beijing.aliyuncs.com\n accessKey: ??\n secretKey: ??\n bucketName: jeecgdev\n staticDomain: ??\n # ElasticSearch 6设置\n elasticsearch:\n cluster-name: jeecg-ES\n cluster-nodes: 127.0.0.1:9200\n check-enabled: false\n # 表单设计器配置\n desform:\n # 主题颜色(仅支持 16进制颜色代码)\n theme-color: \"#1890ff\"\n # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)\n upload-type: system\n map:\n # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home\n baidu: ??\n # 在线预览文件服务器地址配置\n file-view-domain: 127.0.0.1:8012\n # minio文件上传\n minio:\n minio_url: http://minio.jeecg.com\n minio_name: ??\n minio_pass: <PASSWORD> bucketName: otatest\n #大屏报表参数设置\n jmreport:\n mode: dev\n #是否需要校验token\n is_verify_token: false\n #必须校验方法\n verify_methods: remove,delete,save,add,update\n #Wps在线文档\n wps:\n domain: https://wwo.wps.cn/office/\n appid: ??\n appsecret: ??\n #xxl-job配置\n xxljob:\n enabled: false\n adminAddresses: http://jeecg-boot-xxljob:9080/xxl-job-admin\n appname: ${spring.application.name}\n accessToken: \'\'\n logPath: logs/jeecg/job/jobhandler/\n logRetentionDays: 30\n #自定义路由配置 yml nacos database\n route:\n config:\n data-id: jeecg-gateway-router\n group: DEFAULT_GROUP\n data-type: database\n #分布式锁配置\n redisson:\n address: jeecg-boot-redis:6379\n password:\n type: STANDALONE\n enabled: true\n#Mybatis输出sql日志\nlogging:\n level:\n org.jeecg.modules.system.mapper : info\n#cas单点登录\ncas:\n prefixUrl: http://localhost:8888/cas\n#swagger\nknife4j:\n #开启生产环境屏蔽\n production: false\n basic:\n enable: false\n username: jeecg\n password: <PASSWORD>#第三方登录\njustauth:\n enabled: true\n type:\n GITHUB:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/github/callback\n WECHAT_ENTERPRISE:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/wechat_enterprise/callback\n agent-id: ??\n DINGTALK:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/dingtalk/callback\n cache:\n type: default\n prefix: \'demo::\'\n timeout: 1h\n#第三方APP对接\nthird-app:\n enabled: false\n type:\n #企业微信\n WECHAT_ENTERPRISE:\n enabled: false\n #CORP_ID\n client-id: ??\n #SECRET\n client-secret: ??\n agent-id: ??\n #自建应用秘钥(新版企微需要配置)\n # agent-app-secret: ??\n #钉钉\n DINGTALK:\n enabled: false\n # appKey\n client-id: ??\n # appSecret\n client-secret: ??\n agent-id: ??', 'd36623a8f4ca17bf79d4343b34664fea', '2021-03-03 13:01:11', '2022-04-22 10:49:28', 'nacos', '0:0:0:0:0:0:0:1', '', '', '', '', '', 'yaml', ''); INSERT INTO `config_info` VALUES (2, 'jeecg.yaml', 'DEFAULT_GROUP', 'server:\n tomcat:\n max-swallow-size: -1\n error:\n include-exception: true\n include-stacktrace: ALWAYS\n include-message: ALWAYS\n compression:\n enabled: true\n min-response-size: 1024\n mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*\nmanagement:\n health:\n mail:\n enabled: false\n endpoints:\n web:\n exposure:\n include: \"*\" #暴露所有节点\n health:\n sensitive: true #关闭过滤敏感信息\n endpoint:\n health:\n show-details: ALWAYS #显示详细信息\nspring:\n servlet:\n multipart:\n max-file-size: 10MB\n max-request-size: 10MB\n mail:\n host: smtp.163.com\n username: jeecgos@163.com\n password: <PASSWORD> properties:\n mail:\n smtp:\n auth: true\n starttls:\n enable: true\n required: true\n ## quartz定时任务,采用数据库方式\n quartz:\n job-store-type: jdbc\n initialize-schema: embedded\n #设置自动启动,默认为 true\n auto-startup: false\n #启动时更新己存在的Job\n overwrite-existing-jobs: true\n properties:\n org:\n quartz:\n scheduler:\n instanceName: MyScheduler\n instanceId: AUTO\n jobStore:\n class: org.springframework.scheduling.quartz.LocalDataSourceJobStore\n driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate\n tablePrefix: QRTZ_\n isClustered: true\n misfireThreshold: 60000\n clusterCheckinInterval: 10000\n threadPool:\n class: org.quartz.simpl.SimpleThreadPool\n threadCount: 10\n threadPriority: 5\n threadsInheritContextClassLoaderOfInitializingThread: true\n #json 时间戳统一转换\n jackson:\n date-format: yyyy-MM-dd HH:mm:ss\n time-zone: GMT+8\n aop:\n proxy-target-class: true\n activiti:\n check-process-definitions: false\n #启用作业执行器\n async-executor-activate: false\n #启用异步执行器\n job-executor-activate: false\n jpa:\n open-in-view: false\n #配置freemarker\n freemarker:\n # 设置模板后缀名\n suffix: .ftl\n # 设置文档类型\n content-type: text/html\n # 设置页面编码格式\n charset: UTF-8\n # 设置页面缓存\n cache: false\n prefer-file-system-access: false\n # 设置ftl文件路径\n template-loader-path:\n - classpath:/templates\n # 设置静态文件路径,js,css等\n mvc:\n static-path-pattern: /**\n #Spring Boot 2.6+后需手动指定为ant-path-matcher\n pathmatch:\n matching-strategy: ant_path_matcher\n resource:\n static-locations: classpath:/static/,classpath:/public/\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n#mybatis plus 设置\nmybatis-plus:\n mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml\n global-config:\n # 关闭MP3.0自带的banner\n banner: false\n db-config:\n #主键类型 0:\"数据库ID自增\",1:\"该类型为未设置主键类型\", 2:\"用户输入ID\",3:\"全局唯一ID (数字类型唯一ID)\", 4:\"全局唯一ID UUID\",5:\"字符串全局唯一ID (idWorker 的字符串表示)\";\n id-type: ASSIGN_ID\n # 默认数据库表下划线命名\n table-underline: true\n configuration:\n # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用\n #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n # 返回类型为Map,显示null对应的字段\n call-setters-on-nulls: true', '8d5079bd2be1967383be77a1d03b9df3', '2021-03-03 13:01:42', '2022-04-12 15:04:36', 'nacos', '0:0:0:0:0:0:0:1', '', '', '', '', '', 'yaml', ''); INSERT INTO `config_info` VALUES (3, 'jeecg-gateway-router.json', 'DEFAULT_GROUP', '[{\n \"id\": \"jeecg-system\",\n \"order\": 0,\n \"predicates\": [{\n \"name\": \"Path\",\n \"args\": {\n \"_genkey_0\": \"/sys/**\",\n \"_genkey_1\": \"/jmreport/**\",\n \"_genkey_3\": \"/online/**\",\n \"_genkey_4\": \"/generic/**\"\n }\n }],\n \"filters\": [],\n \"uri\": \"lb://jeecg-system\"\n}, {\n \"id\": \"jeecg-demo\",\n \"order\": 1,\n \"predicates\": [{\n \"name\": \"Path\",\n \"args\": {\n \"_genkey_0\": \"/mock/**\",\n \"_genkey_1\": \"/test/**\",\n \"_genkey_2\": \"/bigscreen/template1/**\",\n \"_genkey_3\": \"/bigscreen/template2/**\"\n }\n }],\n \"filters\": [],\n \"uri\": \"lb://jeecg-demo\"\n}, {\n \"id\": \"jeecg-system-websocket\",\n \"order\": 2,\n \"predicates\": [{\n \"name\": \"Path\",\n \"args\": {\n \"_genkey_0\": \"/websocket/**\",\n \"_genkey_1\": \"/newsWebsocket/**\"\n }\n }],\n \"filters\": [],\n \"uri\": \"lb:ws://jeecg-system\"\n}, {\n \"id\": \"jeecg-demo-websocket\",\n \"order\": 3,\n \"predicates\": [{\n \"name\": \"Path\",\n \"args\": {\n \"_genkey_0\": \"/vxeSocket/**\"\n }\n }],\n \"filters\": [],\n \"uri\": \"lb:ws://jeecg-demo\"\n}]', 'be6548051d99309d7fa5ac4398404201', '2021-03-03 13:02:14', '2022-02-23 11:49:01', NULL, '0:0:0:0:0:0:0:1', '', '', '', '', '', 'json', ''); INSERT INTO `config_info` VALUES (6, 'jeecg-test.yaml', 'DEFAULT_GROUP', 'spring:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: <PASSWORD> allow:\r\n web-stat-filter:\r\n enabled: true\r\n dynamic:\r\n druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)\r\n # 连接池的配置信息\r\n # 初始化大小,最小,最大\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n # 配置获取连接等待超时的时间\r\n maxWait: 60000\r\n # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒\r\n timeBetweenEvictionRunsMillis: 60000\r\n # 配置一个连接在池中最小生存的时间,单位是毫秒\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n # 打开PSCache,并且指定每个连接上PSCache的大小\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,\'wall\'用于防火墙\r\n filters: stat,wall,slf4j\r\n # 通过connectProperties属性来打开mergeSql功能;慢SQL记录\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n\r\n datasource:\r\n master:\r\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\r\n username: root\r\n password: <PASSWORD> driver-class-name: com.mysql.cj.jdbc.Driver\r\n # 多数据源配置\r\n #multi-datasource1:\r\n #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\r\n #username: root\r\n #password: <PASSWORD> #driver-class-name: com.mysql.cj.jdbc.Driver\r\n #redis 配置\r\n redis:\r\n database: 0\r\n host: jeecg-boot-redis\r\n lettuce:\r\n pool:\r\n max-active: 8 #最大连接数据库连接数,设 0 为没有限制\r\n max-idle: 8 #最大等待连接中的数量,设 0 为没有限制\r\n max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。\r\n min-idle: 0 #最小等待连接中的数量,设 0 为没有限制\r\n shutdown-timeout: 100ms\r\n password:\r\n port: 6379\r\n #rabbitmq配置\r\n rabbitmq:\r\n host: jeecg-boot-rabbitmq\r\n username: guest\r\n password: <PASSWORD> port: 5672\r\n publisher-confirms: true\r\n publisher-returns: true\r\n virtual-host: /\r\n listener:\r\n simple:\r\n acknowledge-mode: manual\r\n #消费者的最小数量\r\n concurrency: 1\r\n #消费者的最大数量\r\n max-concurrency: 1\r\n #是否支持重试\r\n retry:\r\n enabled: true\r\n#jeecg专用配置\r\nminidao :\r\n base-package: org.jeecg.modules.jmreport.*\r\njeecg :\r\n # 签名密钥串(前后端要一致,正式发布请自行修改)\r\n signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a\r\n # 本地:local\\Minio:minio\\阿里云:alioss\r\n uploadType: local\r\n path :\r\n #文件上传根目录 设置\r\n upload: /opt/upFiles\r\n #webapp文件路径\r\n webapp: /opt/webapp\r\n shiro:\r\n excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**\r\n #阿里云oss存储配置\r\n oss:\r\n endpoint: oss-cn-beijing.aliyuncs.com\r\n accessKey: ??\r\n secretKey: ??\r\n bucketName: jeecgdev\r\n staticDomain: ??\r\n # ElasticSearch 6设置\r\n elasticsearch:\r\n cluster-name: jeecg-ES\r\n cluster-nodes: 127.0.0.1:9200\r\n check-enabled: false\r\n # 表单设计器配置\r\n desform:\r\n # 主题颜色(仅支持 16进制颜色代码)\r\n theme-color: \"#1890ff\"\r\n # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)\r\n upload-type: system\r\n map:\r\n # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home\r\n baidu: ??\r\n # 在线预览文件服务器地址配置\r\n file-view-domain: 127.0.0.1:8012\r\n # minio文件上传\r\n minio:\r\n minio_url: http://minio.jeecg.com\r\n minio_name: ??\r\n minio_pass: <PASSWORD> bucketName: otatest\r\n #大屏报表参数设置\r\n jmreport:\r\n mode: dev\r\n #是否需要校验token\r\n is_verify_token: false\r\n #必须校验方法\r\n verify_methods: remove,delete,save,add,update\r\n #Wps在线文档\r\n wps:\r\n domain: https://wwo.wps.cn/office/\r\n appid: ??\r\n appsecret: ??\r\n #xxl-job配置\r\n xxljob:\r\n enabled: false\r\n adminAddresses: http://jeecg-boot-xxljob:9080/xxl-job-admin\r\n appname: ${spring.application.name}\r\n accessToken: \'\'\r\n logPath: logs/jeecg/job/jobhandler/\r\n logRetentionDays: 30\r\n #自定义路由配置 yml nacos database\r\n route:\r\n config:\r\n data-id: jeecg-gateway-router\r\n group: DEFAULT_GROUP\r\n data-type: database\r\n #分布式锁配置\r\n redisson:\r\n address: jeecg-boot-redis:6379\r\n password:\r\n type: STANDALONE\r\n enabled: true\r\n#Mybatis输出sql日志\r\nlogging:\r\n level:\r\n org.jeecg.modules.system.mapper : info\r\n#cas单点登录\r\ncas:\r\n prefixUrl: http://localhost:8888/cas\r\n#swagger\r\nknife4j:\r\n #开启生产环境屏蔽\r\n production: false\r\n basic:\r\n enable: false\r\n username: jeecg\r\n password: <PASSWORD>\<PASSWORD>#第三方登录\r\njustauth:\r\n enabled: true\r\n type:\r\n GITHUB:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/github/callback\r\n WECHAT_ENTERPRISE:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/wechat_enterprise/callback\r\n agent-id: ??\r\n DINGTALK:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/dingtalk/callback\r\n cache:\r\n type: default\r\n prefix: \'demo::\'\r\n timeout: 1h\r\n#第三方APP对接\r\nthird-app:\r\n enabled: false\r\n type:\r\n #企业微信\r\n WECHAT_ENTERPRISE:\r\n enabled: false\r\n #CORP_ID\r\n client-id: ??\r\n #SECRET\r\n client-secret: ??\r\n agent-id: ??\r\n #自建应用秘钥(新版企微需要配置)\r\n # agent-app-secret: ??\r\n #钉钉\r\n DINGTALK:\r\n enabled: false\r\n # appKey\r\n client-id: ??\r\n # appSecret\r\n client-secret: ??\r\n agent-id: ??', '474e76a8eb3fa24450d51870cc1107c6', '2022-04-12 13:32:45', '2022-04-12 13:32:45', 'nacos', '192.168.5.106', '', '', NULL, NULL, NULL, 'yaml', NULL); INSERT INTO `config_info` VALUES (7, 'jeecg-prod.yaml', 'DEFAULT_GROUP', 'spring:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: <PASSWORD> allow:\r\n web-stat-filter:\r\n enabled: true\r\n dynamic:\r\n druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)\r\n # 连接池的配置信息\r\n # 初始化大小,最小,最大\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n # 配置获取连接等待超时的时间\r\n maxWait: 60000\r\n # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒\r\n timeBetweenEvictionRunsMillis: 60000\r\n # 配置一个连接在池中最小生存的时间,单位是毫秒\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n # 打开PSCache,并且指定每个连接上PSCache的大小\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,\'wall\'用于防火墙\r\n filters: stat,wall,slf4j\r\n # 通过connectProperties属性来打开mergeSql功能;慢SQL记录\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n\r\n datasource:\r\n master:\r\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\r\n username: root\r\n password: <PASSWORD> driver-class-name: com.mysql.cj.jdbc.Driver\r\n # 多数据源配置\r\n #multi-datasource1:\r\n #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\r\n #username: root\r\n #password: <PASSWORD> #driver-class-name: com.mysql.cj.jdbc.Driver\r\n #redis 配置\r\n redis:\r\n database: 0\r\n host: jeecg-boot-redis\r\n lettuce:\r\n pool:\r\n max-active: 8 #最大连接数据库连接数,设 0 为没有限制\r\n max-idle: 8 #最大等待连接中的数量,设 0 为没有限制\r\n max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。\r\n min-idle: 0 #最小等待连接中的数量,设 0 为没有限制\r\n shutdown-timeout: 100ms\r\n password:\r\n port: 6379\r\n #rabbitmq配置\r\n rabbitmq:\r\n host: jeecg-boot-rabbitmq\r\n username: guest\r\n password: <PASSWORD> port: 5672\r\n publisher-confirms: true\r\n publisher-returns: true\r\n virtual-host: /\r\n listener:\r\n simple:\r\n acknowledge-mode: manual\r\n #消费者的最小数量\r\n concurrency: 1\r\n #消费者的最大数量\r\n max-concurrency: 1\r\n #是否支持重试\r\n retry:\r\n enabled: true\r\n#jeecg专用配置\r\nminidao :\r\n base-package: org.jeecg.modules.jmreport.*\r\njeecg :\r\n # 签名密钥串(前后端要一致,正式发布请自行修改)\r\n signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a\r\n # 本地:local\\Minio:minio\\阿里云:alioss\r\n uploadType: local\r\n path :\r\n #文件上传根目录 设置\r\n upload: /opt/upFiles\r\n #webapp文件路径\r\n webapp: /opt/webapp\r\n shiro:\r\n excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**\r\n #阿里云oss存储配置\r\n oss:\r\n endpoint: oss-cn-beijing.aliyuncs.com\r\n accessKey: ??\r\n secretKey: ??\r\n bucketName: jeecgdev\r\n staticDomain: ??\r\n # ElasticSearch 6设置\r\n elasticsearch:\r\n cluster-name: jeecg-ES\r\n cluster-nodes: 127.0.0.1:9200\r\n check-enabled: false\r\n # 表单设计器配置\r\n desform:\r\n # 主题颜色(仅支持 16进制颜色代码)\r\n theme-color: \"#1890ff\"\r\n # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)\r\n upload-type: system\r\n map:\r\n # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home\r\n baidu: ??\r\n # 在线预览文件服务器地址配置\r\n file-view-domain: 127.0.0.1:8012\r\n # minio文件上传\r\n minio:\r\n minio_url: http://minio.jeecg.com\r\n minio_name: ??\r\n minio_pass: ??\r\n bucketName: otatest\r\n #大屏报表参数设置\r\n jmreport:\r\n mode: dev\r\n #是否需要校验token\r\n is_verify_token: false\r\n #必须校验方法\r\n verify_methods: remove,delete,save,add,update\r\n #Wps在线文档\r\n wps:\r\n domain: https://wwo.wps.cn/office/\r\n appid: ??\r\n appsecret: ??\r\n #xxl-job配置\r\n xxljob:\r\n enabled: false\r\n adminAddresses: http://jeecg-boot-xxljob:9080/xxl-job-admin\r\n appname: ${spring.application.name}\r\n accessToken: \'\'\r\n logPath: logs/jeecg/job/jobhandler/\r\n logRetentionDays: 30\r\n #自定义路由配置 yml nacos database\r\n route:\r\n config:\r\n data-id: jeecg-gateway-router\r\n group: DEFAULT_GROUP\r\n data-type: database\r\n #分布式锁配置\r\n redisson:\r\n address: jeecg-boot-redis:6379\r\n password:\r\n type: STANDALONE\r\n enabled: true\r\n#Mybatis输出sql日志\r\nlogging:\r\n level:\r\n org.jeecg.modules.system.mapper : info\r\n#cas单点登录\r\ncas:\r\n prefixUrl: http://localhost:8888/cas\r\n#swagger\r\nknife4j:\r\n #开启生产环境屏蔽\r\n production: false\r\n basic:\r\n enable: false\r\n username: jeecg\r\n password: <PASSWORD>\r\n\r\n#第三方登录\r\njustauth:\r\n enabled: true\r\n type:\r\n GITHUB:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/github/callback\r\n WECHAT_ENTERPRISE:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/wechat_enterprise/callback\r\n agent-id: ??\r\n DINGTALK:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/dingtalk/callback\r\n cache:\r\n type: default\r\n prefix: \'demo::\'\r\n timeout: 1h\r\n#第三方APP对接\r\nthird-app:\r\n enabled: false\r\n type:\r\n #企业微信\r\n WECHAT_ENTERPRISE:\r\n enabled: false\r\n #CORP_ID\r\n client-id: ??\r\n #SECRET\r\n client-secret: ??\r\n agent-id: ??\r\n #自建应用秘钥(新版企微需要配置)\r\n # agent-app-secret: ??\r\n #钉钉\r\n DINGTALK:\r\n enabled: false\r\n # appKey\r\n client-id: ??\r\n # appSecret\r\n client-secret: ??\r\n agent-id: ??', '474e76a8eb3fa24450d51870cc1107c6', '2022-04-12 13:33:15', '2022-04-12 13:33:15', 'nacos', '192.168.5.106', '', '', NULL, NULL, NULL, 'yaml', NULL); INSERT INTO `config_info` VALUES (11, 'jeecg-sharding.yaml', 'DEFAULT_GROUP', '# 单库分表配置\nspring:\n shardingsphere:\n props:\n sql-show: true\n datasource:\n #添加分库数据源\n ds0:\n driverClassName: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai\n username: root\n password: <PASSWORD> type: com.alibaba.druid.pool.DruidDataSource\n names: ds0\n # 规则配置\n rules:\n sharding:\n # 配置绑定表,每一行为一组\n binding-tables: sys_log\n # 分布式序列算法配置\n key-generators:\n snowflake:\n type: SNOWFLAKE\n props:\n worker-id: 123\n # 分片算法配置\n sharding-algorithms:\n table-classbased:\n props:\n strategy: standard\n # 自定义标准分配算法\n algorithmClassName: org.jeecg.modules.test.sharding.algorithm.StandardModTableShardAlgorithm\n type: CLASS_BASED\n tables:\n # 逻辑表名称\n sys_log:\n #配置具体表的数据节点\n actual-data-nodes: ds0.sys_log$->{0..1}\n # 分表策略\n table-strategy:\n standard:\n # 分片算法名称\n sharding-algorithm-name: table-classbased\n # 分片列名称(对应数据库字段)\n sharding-column: log_type', '0e6f4541eb8581313bb568bd947ebc3d', '2022-04-13 03:12:28', '2022-04-13 06:11:31', 'nacos', '0:0:0:0:0:0:0:1', '', '', '', '', '', 'yaml', ''); INSERT INTO `config_info` VALUES (15, 'jeecg-sharding2.yaml', 'DEFAULT_GROUP', '# 双库分表配置\r\nspring:\r\n shardingsphere:\r\n props:\r\n sql-show: true\r\n datasource:\r\n ds0:\r\n driverClassName: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai\r\n type: com.alibaba.druid.pool.DruidDataSource\r\n username: root\r\n password: <PASSWORD> ds1:\r\n driverClassName: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot2?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai\r\n type: com.alibaba.druid.pool.DruidDataSource\r\n username: root\r\n password: <PASSWORD> names: ds0,ds1\r\n # 规则配置\r\n rules:\r\n replica-query:\r\n # 负载均衡算法\r\n load-balancers:\r\n round-robin:\r\n type: ROUND_ROBIN\r\n props:\r\n default: 0\r\n data-sources:\r\n prds:\r\n primary-data-source-name: ds0\r\n replica-data-source-names: ds1\r\n load-balancer-name: round_robin\r\n sharding:\r\n # 配置绑定表,每一行为一组,绑定表会提高查询效率\r\n binding-tables:\r\n - sys_log\r\n # 分布式序列算法配置\r\n key-generators:\r\n snowflake:\r\n type: SNOWFLAKE\r\n props:\r\n worker-id: 123\r\n # 分片算法配置\r\n sharding-algorithms:\r\n table-classbased:\r\n props:\r\n strategy: standard\r\n algorithmClassName: org.jeecg.modules.test.sharding.algorithm.StandardModTableShardAlgorithm\r\n type: CLASS_BASED\r\n # 通过operate_type取模的方式确定数据落在哪个库\r\n database-inline:\r\n type: INLINE\r\n props:\r\n algorithm-expression: ds$->{operate_type % 2}\r\n tables:\r\n # 逻辑表名称\r\n sys_log:\r\n #配置具体表的数据节点\r\n actual-data-nodes: ds$->{0..1}.sys_log$->{0..1}\r\n # 分库策略\r\n database-strategy:\r\n standard:\r\n sharding-column: operate_type\r\n sharding-algorithm-name: database-inline\r\n # 分表策略\r\n table-strategy:\r\n standard:\r\n # 分片算法名称\r\n sharding-algorithm-name: table-classbased\r\n # 分片列名称\r\n sharding-column: log_type', '257969ade38b413213f56267ab338bb6', '2022-04-13 06:11:11', '2022-04-13 06:11:11', NULL, '0:0:0:0:0:0:0:1', '', '', NULL, NULL, NULL, 'yaml', NULL); -- ---------------------------- -- Table structure for config_info_aggr -- ---------------------------- DROP TABLE IF EXISTS `config_info_aggr`; CREATE TABLE `config_info_aggr` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id', `data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id', `group_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id', `datum_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'datum_id', `content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '内容', `gmt_modified` datetime NOT NULL COMMENT '修改时间', `app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL, `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段', PRIMARY KEY (`id`) USING BTREE, UNIQUE INDEX `uk_configinfoaggr_datagrouptenantdatum`(`data_id`, `group_id`, `tenant_id`, `datum_id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '增加租户字段' ROW_FORMAT = Dynamic; -- ---------------------------- -- Table structure for config_info_beta -- ---------------------------- DROP TABLE IF EXISTS `config_info_beta`; CREATE TABLE `config_info_beta` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id', `data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id', `group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id', `app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'app_name', `content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'content', `beta_ips` varchar(1024) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'betaIps', `md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'md5', `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间', `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间', `src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'source user', `src_ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'source ip', `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段', PRIMARY KEY (`id`) USING BTREE, UNIQUE INDEX `uk_configinfobeta_datagrouptenant`(`data_id`, `group_id`, `tenant_id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_info_beta' ROW_FORMAT = Dynamic; -- ---------------------------- -- Table structure for config_info_tag -- ---------------------------- DROP TABLE IF EXISTS `config_info_tag`; CREATE TABLE `config_info_tag` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id', `data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id', `group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id', `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT 'tenant_id', `tag_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'tag_id', `app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'app_name', `content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'content', `md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'md5', `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间', `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间', `src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT 'source user', `src_ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'source ip', PRIMARY KEY (`id`) USING BTREE, UNIQUE INDEX `uk_configinfotag_datagrouptenanttag`(`data_id`, `group_id`, `tenant_id`, `tag_id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_info_tag' ROW_FORMAT = Dynamic; -- ---------------------------- -- Table structure for config_tags_relation -- ---------------------------- DROP TABLE IF EXISTS `config_tags_relation`; CREATE TABLE `config_tags_relation` ( `id` bigint(20) NOT NULL COMMENT 'id', `tag_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'tag_name', `tag_type` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'tag_type', `data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'data_id', `group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'group_id', `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT 'tenant_id', `nid` bigint(20) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`nid`) USING BTREE, UNIQUE INDEX `uk_configtagrelation_configidtag`(`id`, `tag_name`, `tag_type`) USING BTREE, INDEX `idx_tenant_id`(`tenant_id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'config_tag_relation' ROW_FORMAT = Dynamic; -- ---------------------------- -- Table structure for group_capacity -- ---------------------------- DROP TABLE IF EXISTS `group_capacity`; CREATE TABLE `group_capacity` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键ID', `group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'Group ID,空字符表示整个集群', `quota` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '配额,0表示使用默认值', `usage` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '使用量', `max_size` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个配置大小上限,单位为字节,0表示使用默认值', `max_aggr_count` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '聚合子配置最大个数,,0表示使用默认值', `max_aggr_size` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个聚合数据的子配置大小上限,单位为字节,0表示使用默认值', `max_history_count` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最大变更历史数量', `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间', `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间', PRIMARY KEY (`id`) USING BTREE, UNIQUE INDEX `uk_group_id`(`group_id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '集群、各Group容量信息表' ROW_FORMAT = Dynamic; -- ---------------------------- -- Table structure for his_config_info -- ---------------------------- DROP TABLE IF EXISTS `his_config_info`; CREATE TABLE `his_config_info` ( `id` bigint(64) UNSIGNED NOT NULL, `nid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `data_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, `group_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, `app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'app_name', `content` longtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, `md5` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL, `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00', `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00', `src_user` text CHARACTER SET utf8 COLLATE utf8_bin NULL, `src_ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL, `op_type` char(10) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL, `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT '租户字段', PRIMARY KEY (`nid`) USING BTREE, INDEX `idx_gmt_create`(`gmt_create`) USING BTREE, INDEX `idx_gmt_modified`(`gmt_modified`) USING BTREE, INDEX `idx_did`(`data_id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 53 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '多租户改造' ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of his_config_info -- ---------------------------- INSERT INTO `his_config_info` VALUES (2, 23, 'jeecg.yaml', 'DEFAULT_GROUP', '', 'server:\n tomcat:\n max-swallow-size: -1\n error:\n include-exception: true\n include-stacktrace: ALWAYS\n include-message: ALWAYS\n compression:\n enabled: true\n min-response-size: 1024\n mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*\nmanagement:\n health:\n mail:\n enabled: false\n endpoints:\n web:\n exposure:\n include: \"*\" #暴露所有节点\n health:\n sensitive: true #关闭过滤敏感信息\n endpoint:\n health:\n show-details: ALWAYS #显示详细信息\nspring:\n servlet:\n multipart:\n max-file-size: 10MB\n max-request-size: 10MB\n mail:\n host: smtp.163.com\n username: <EMAIL>\n password: <PASSWORD> properties:\n mail:\n smtp:\n auth: true\n starttls:\n enable: true\n required: true\n ## quartz定时任务,采用数据库方式\n quartz:\n job-store-type: jdbc\n initialize-schema: embedded\n #设置自动启动,默认为 true\n auto-startup: false\n #启动时更新己存在的Job\n overwrite-existing-jobs: true\n properties:\n org:\n quartz:\n scheduler:\n instanceName: MyScheduler\n instanceId: AUTO\n jobStore:\n class: org.quartz.impl.jdbcjobstore.JobStoreTX\n driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate\n tablePrefix: QRTZ_\n isClustered: true\n misfireThreshold: 60000\n clusterCheckinInterval: 10000\n threadPool:\n class: org.quartz.simpl.SimpleThreadPool\n threadCount: 10\n threadPriority: 5\n threadsInheritContextClassLoaderOfInitializingThread: true\n #json 时间戳统一转换\n jackson:\n date-format: yyyy-MM-dd HH:mm:ss\n time-zone: GMT+8\n aop:\n proxy-target-class: true\n activiti:\n check-process-definitions: false\n #启用作业执行器\n async-executor-activate: false\n #启用异步执行器\n job-executor-activate: false\n jpa:\n open-in-view: false\n #配置freemarker\n freemarker:\n # 设置模板后缀名\n suffix: .ftl\n # 设置文档类型\n content-type: text/html\n # 设置页面编码格式\n charset: UTF-8\n # 设置页面缓存\n cache: false\n prefer-file-system-access: false\n # 设置ftl文件路径\n template-loader-path:\n - classpath:/templates\n # 设置静态文件路径,js,css等\n mvc:\n static-path-pattern: /**\n resource:\n static-locations: classpath:/static/,classpath:/public/\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n#mybatis plus 设置\nmybatis-plus:\n mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml\n global-config:\n # 关闭MP3.0自带的banner\n banner: false\n db-config:\n #主键类型 0:\"数据库ID自增\",1:\"该类型为未设置主键类型\", 2:\"用户输入ID\",3:\"全局唯一ID (数字类型唯一ID)\", 4:\"全局唯一ID UUID\",5:\"字符串全局唯一ID (idWorker 的字符串表示)\";\n id-type: ASSIGN_ID\n # 默认数据库表下划线命名\n table-underline: true\n configuration:\n # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用\n #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n # 返回类型为Map,显示null对应的字段\n call-setters-on-nulls: true', '411f9c73fc519225add2f7c992279f6f', '2010-05-05 00:00:00', '2022-04-12 13:31:15', 'nacos', '192.168.5.106', 'U', ''); INSERT INTO `his_config_info` VALUES (0, 24, 'jeecg-prod.yml', 'DEFAULT_GROUP', '', 'spring:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: <PASSWORD> allow:\r\n web-stat-filter:\r\n enabled: true\r\n dynamic:\r\n druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)\r\n # 连接池的配置信息\r\n # 初始化大小,最小,最大\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n # 配置获取连接等待超时的时间\r\n maxWait: 60000\r\n # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒\r\n timeBetweenEvictionRunsMillis: 60000\r\n # 配置一个连接在池中最小生存的时间,单位是毫秒\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n # 打开PSCache,并且指定每个连接上PSCache的大小\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,\'wall\'用于防火墙\r\n filters: stat,wall,slf4j\r\n # 通过connectProperties属性来打开mergeSql功能;慢SQL记录\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n\r\n datasource:\r\n master:\r\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\r\n username: root\r\n password: <PASSWORD> driver-class-name: com.mysql.cj.jdbc.Driver\r\n # 多数据源配置\r\n #multi-datasource1:\r\n #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\r\n #username: root\r\n #password: <PASSWORD> #driver-class-name: com.mysql.cj.jdbc.Driver\r\n #redis 配置\r\n redis:\r\n database: 0\r\n host: jeecg-boot-redis\r\n lettuce:\r\n pool:\r\n max-active: 8 #最大连接数据库连接数,设 0 为没有限制\r\n max-idle: 8 #最大等待连接中的数量,设 0 为没有限制\r\n max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。\r\n min-idle: 0 #最小等待连接中的数量,设 0 为没有限制\r\n shutdown-timeout: 100ms\r\n password:\r\n port: 6379\r\n #rabbitmq配置\r\n rabbitmq:\r\n host: jeecg-boot-rabbitmq\r\n username: guest\r\n password: <PASSWORD> port: 5672\r\n publisher-confirms: true\r\n publisher-returns: true\r\n virtual-host: /\r\n listener:\r\n simple:\r\n acknowledge-mode: manual\r\n #消费者的最小数量\r\n concurrency: 1\r\n #消费者的最大数量\r\n max-concurrency: 1\r\n #是否支持重试\r\n retry:\r\n enabled: true\r\n#jeecg专用配置\r\nminidao :\r\n base-package: org.jeecg.modules.jmreport.*\r\njeecg :\r\n # 签名密钥串(前后端要一致,正式发布请自行修改)\r\n signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a\r\n # 本地:local\\Minio:minio\\阿里云:alioss\r\n uploadType: local\r\n path :\r\n #文件上传根目录 设置\r\n upload: /opt/upFiles\r\n #webapp文件路径\r\n webapp: /opt/webapp\r\n shiro:\r\n excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**\r\n #阿里云oss存储配置\r\n oss:\r\n endpoint: oss-cn-beijing.aliyuncs.com\r\n accessKey: ??\r\n secretKey: ??\r\n bucketName: jeecgdev\r\n staticDomain: ??\r\n # ElasticSearch 6设置\r\n elasticsearch:\r\n cluster-name: jeecg-ES\r\n cluster-nodes: 127.0.0.1:9200\r\n check-enabled: false\r\n # 表单设计器配置\r\n desform:\r\n # 主题颜色(仅支持 16进制颜色代码)\r\n theme-color: \"#1890ff\"\r\n # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)\r\n upload-type: system\r\n map:\r\n # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home\r\n baidu: ??\r\n # 在线预览文件服务器地址配置\r\n file-view-domain: 127.0.0.1:8012\r\n # minio文件上传\r\n minio:\r\n minio_url: http://minio.jeecg.com\r\n minio_name: ??\r\n minio_pass: <PASSWORD> bucketName: otatest\r\n #大屏报表参数设置\r\n jmreport:\r\n mode: dev\r\n #是否需要校验token\r\n is_verify_token: false\r\n #必须校验方法\r\n verify_methods: remove,delete,save,add,update\r\n #Wps在线文档\r\n wps:\r\n domain: https://wwo.wps.cn/office/\r\n appid: ??\r\n appsecret: ??\r\n #xxl-job配置\r\n xxljob:\r\n enabled: false\r\n adminAddresses: http://jeecg-boot-xxljob:9080/xxl-job-admin\r\n appname: ${spring.application.name}\r\n accessToken: \'\'\r\n logPath: logs/jeecg/job/jobhandler/\r\n logRetentionDays: 30\r\n #自定义路由配置 yml nacos database\r\n route:\r\n config:\r\n data-id: jeecg-gateway-router\r\n group: DEFAULT_GROUP\r\n data-type: database\r\n #分布式锁配置\r\n redisson:\r\n address: jeecg-boot-redis:6379\r\n password:\r\n type: STANDALONE\r\n enabled: true\r\n#Mybatis输出sql日志\r\nlogging:\r\n level:\r\n org.jeecg.modules.system.mapper : info\r\n#cas单点登录\r\ncas:\r\n prefixUrl: http://localhost:8888/cas\r\n#swagger\r\nknife4j:\r\n #开启生产环境屏蔽\r\n production: false\r\n basic:\r\n enable: false\r\n username: jeecg\r\n password: <PASSWORD>#第三方登录\r\njustauth:\r\n enabled: true\r\n type:\r\n GITHUB:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/github/callback\r\n WECHAT_ENTERPRISE:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/wechat_enterprise/callback\r\n agent-id: ??\r\n DINGTALK:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/dingtalk/callback\r\n cache:\r\n type: default\r\n prefix: \'demo::\'\r\n timeout: 1h\r\n#第三方APP对接\r\nthird-app:\r\n enabled: false\r\n type:\r\n #企业微信\r\n WECHAT_ENTERPRISE:\r\n enabled: false\r\n #CORP_ID\r\n client-id: ??\r\n #SECRET\r\n client-secret: ??\r\n agent-id: ??\r\n #自建应用秘钥(新版企微需要配置)\r\n # agent-app-secret: ??\r\n #钉钉\r\n DINGTALK:\r\n enabled: false\r\n # appKey\r\n client-id: ??\r\n # appSecret\r\n client-secret: ??\r\n agent-id: ??', '474e76a8eb3fa24450d51870cc1107c6', '2010-05-05 00:00:00', '2022-04-12 13:32:17', 'nacos', '192.168.5.106', 'I', ''); INSERT INTO `his_config_info` VALUES (0, 25, 'jeecg-test.yaml', 'DEFAULT_GROUP', '', 'spring:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: <PASSWORD> allow:\r\n web-stat-filter:\r\n enabled: true\r\n dynamic:\r\n druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)\r\n # 连接池的配置信息\r\n # 初始化大小,最小,最大\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n # 配置获取连接等待超时的时间\r\n maxWait: 60000\r\n # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒\r\n timeBetweenEvictionRunsMillis: 60000\r\n # 配置一个连接在池中最小生存的时间,单位是毫秒\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n # 打开PSCache,并且指定每个连接上PSCache的大小\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,\'wall\'用于防火墙\r\n filters: stat,wall,slf4j\r\n # 通过connectProperties属性来打开mergeSql功能;慢SQL记录\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n\r\n datasource:\r\n master:\r\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\r\n username: root\r\n password: <PASSWORD> driver-class-name: com.mysql.cj.jdbc.Driver\r\n # 多数据源配置\r\n #multi-datasource1:\r\n #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\r\n #username: root\r\n #password: <PASSWORD> #driver-class-name: com.mysql.cj.jdbc.Driver\r\n #redis 配置\r\n redis:\r\n database: 0\r\n host: jeecg-boot-redis\r\n lettuce:\r\n pool:\r\n max-active: 8 #最大连接数据库连接数,设 0 为没有限制\r\n max-idle: 8 #最大等待连接中的数量,设 0 为没有限制\r\n max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。\r\n min-idle: 0 #最小等待连接中的数量,设 0 为没有限制\r\n shutdown-timeout: 100ms\r\n password:\<PASSWORD> port: 6379\r\n #rabbitmq配置\r\n rabbitmq:\r\n host: jeecg-boot-rabbitmq\r\n username: guest\r\n password: <PASSWORD> port: 5672\r\n publisher-confirms: true\r\n publisher-returns: true\r\n virtual-host: /\r\n listener:\r\n simple:\r\n acknowledge-mode: manual\r\n #消费者的最小数量\r\n concurrency: 1\r\n #消费者的最大数量\r\n max-concurrency: 1\r\n #是否支持重试\r\n retry:\r\n enabled: true\r\n#jeecg专用配置\r\nminidao :\r\n base-package: org.jeecg.modules.jmreport.*\r\njeecg :\r\n # 签名密钥串(前后端要一致,正式发布请自行修改)\r\n signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a\r\n # 本地:local\\Minio:minio\\阿里云:alioss\r\n uploadType: local\r\n path :\r\n #文件上传根目录 设置\r\n upload: /opt/upFiles\r\n #webapp文件路径\r\n webapp: /opt/webapp\r\n shiro:\r\n excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**\r\n #阿里云oss存储配置\r\n oss:\r\n endpoint: oss-cn-beijing.aliyuncs.com\r\n accessKey: ??\r\n secretKey: ??\r\n bucketName: jeecgdev\r\n staticDomain: ??\r\n # ElasticSearch 6设置\r\n elasticsearch:\r\n cluster-name: jeecg-ES\r\n cluster-nodes: 127.0.0.1:9200\r\n check-enabled: false\r\n # 表单设计器配置\r\n desform:\r\n # 主题颜色(仅支持 16进制颜色代码)\r\n theme-color: \"#1890ff\"\r\n # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)\r\n upload-type: system\r\n map:\r\n # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home\r\n baidu: ??\r\n # 在线预览文件服务器地址配置\r\n file-view-domain: 127.0.0.1:8012\r\n # minio文件上传\r\n minio:\r\n minio_url: http://minio.jeecg.com\r\n minio_name: ??\r\n minio_pass: <PASSWORD> bucketName: otatest\r\n #大屏报表参数设置\r\n jmreport:\r\n mode: dev\r\n #是否需要校验token\r\n is_verify_token: false\r\n #必须校验方法\r\n verify_methods: remove,delete,save,add,update\r\n #Wps在线文档\r\n wps:\r\n domain: https://wwo.wps.cn/office/\r\n appid: ??\r\n appsecret: ??\r\n #xxl-job配置\r\n xxljob:\r\n enabled: false\r\n adminAddresses: http://jeecg-boot-xxljob:9080/xxl-job-admin\r\n appname: ${spring.application.name}\r\n accessToken: \'\'\r\n logPath: logs/jeecg/job/jobhandler/\r\n logRetentionDays: 30\r\n #自定义路由配置 yml nacos database\r\n route:\r\n config:\r\n data-id: jeecg-gateway-router\r\n group: DEFAULT_GROUP\r\n data-type: database\r\n #分布式锁配置\r\n redisson:\r\n address: jeecg-boot-redis:6379\r\n password:\<PASSWORD> type: STANDALONE\r\n enabled: true\r\n#Mybatis输出sql日志\r\nlogging:\r\n level:\r\n org.jeecg.modules.system.mapper : info\r\n#cas单点登录\r\ncas:\r\n prefixUrl: http://localhost:8888/cas\r\n#swagger\r\nknife4j:\r\n #开启生产环境屏蔽\r\n production: false\r\n basic:\r\n enable: false\r\n username: jeecg\r\n password: <PASSWORD>#第三方登录\r\njustauth:\r\n enabled: true\r\n type:\r\n GITHUB:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/github/callback\r\n WECHAT_ENTERPRISE:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/wechat_enterprise/callback\r\n agent-id: ??\r\n DINGTALK:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/dingtalk/callback\r\n cache:\r\n type: default\r\n prefix: \'demo::\'\r\n timeout: 1h\r\n#第三方APP对接\r\nthird-app:\r\n enabled: false\r\n type:\r\n #企业微信\r\n WECHAT_ENTERPRISE:\r\n enabled: false\r\n #CORP_ID\r\n client-id: ??\r\n #SECRET\r\n client-secret: ??\r\n agent-id: ??\r\n #自建应用秘钥(新版企微需要配置)\r\n # agent-app-secret: ??\r\n #钉钉\r\n DINGTALK:\r\n enabled: false\r\n # appKey\r\n client-id: ??\r\n # appSecret\r\n client-secret: ??\r\n agent-id: ??', '474e76a8eb3fa24450d51870cc1107c6', '2010-05-05 00:00:00', '2022-04-12 13:32:45', 'nacos', '192.168.5.106', 'I', ''); INSERT INTO `his_config_info` VALUES (5, 26, 'jeecg-prod.yml', 'DEFAULT_GROUP', '', 'spring:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: <PASSWORD> allow:\r\n web-stat-filter:\r\n enabled: true\r\n dynamic:\r\n druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)\r\n # 连接池的配置信息\r\n # 初始化大小,最小,最大\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n # 配置获取连接等待超时的时间\r\n maxWait: 60000\r\n # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒\r\n timeBetweenEvictionRunsMillis: 60000\r\n # 配置一个连接在池中最小生存的时间,单位是毫秒\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n # 打开PSCache,并且指定每个连接上PSCache的大小\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,\'wall\'用于防火墙\r\n filters: stat,wall,slf4j\r\n # 通过connectProperties属性来打开mergeSql功能;慢SQL记录\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n\r\n datasource:\r\n master:\r\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\r\n username: root\r\n password: <PASSWORD> driver-class-name: com.mysql.cj.jdbc.Driver\r\n # 多数据源配置\r\n #multi-datasource1:\r\n #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\r\n #username: root\r\n #password: <PASSWORD> #driver-class-name: com.mysql.cj.jdbc.Driver\r\n #redis 配置\r\n redis:\r\n database: 0\r\n host: jeecg-boot-redis\r\n lettuce:\r\n pool:\r\n max-active: 8 #最大连接数据库连接数,设 0 为没有限制\r\n max-idle: 8 #最大等待连接中的数量,设 0 为没有限制\r\n max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。\r\n min-idle: 0 #最小等待连接中的数量,设 0 为没有限制\r\n shutdown-timeout: 100ms\r\n password:\<PASSWORD> port: 6379\r\n #rabbitmq配置\r\n rabbitmq:\r\n host: jeecg-boot-rabbitmq\r\n username: guest\r\n password: <PASSWORD> port: 5672\r\n publisher-confirms: true\r\n publisher-returns: true\r\n virtual-host: /\r\n listener:\r\n simple:\r\n acknowledge-mode: manual\r\n #消费者的最小数量\r\n concurrency: 1\r\n #消费者的最大数量\r\n max-concurrency: 1\r\n #是否支持重试\r\n retry:\r\n enabled: true\r\n#jeecg专用配置\r\nminidao :\r\n base-package: org.jeecg.modules.jmreport.*\r\njeecg :\r\n # 签名密钥串(前后端要一致,正式发布请自行修改)\r\n signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a\r\n # 本地:local\\Minio:minio\\阿里云:alioss\r\n uploadType: local\r\n path :\r\n #文件上传根目录 设置\r\n upload: /opt/upFiles\r\n #webapp文件路径\r\n webapp: /opt/webapp\r\n shiro:\r\n excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**\r\n #阿里云oss存储配置\r\n oss:\r\n endpoint: oss-cn-beijing.aliyuncs.com\r\n accessKey: ??\r\n secretKey: ??\r\n bucketName: jeecgdev\r\n staticDomain: ??\r\n # ElasticSearch 6设置\r\n elasticsearch:\r\n cluster-name: jeecg-ES\r\n cluster-nodes: 127.0.0.1:9200\r\n check-enabled: false\r\n # 表单设计器配置\r\n desform:\r\n # 主题颜色(仅支持 16进制颜色代码)\r\n theme-color: \"#1890ff\"\r\n # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)\r\n upload-type: system\r\n map:\r\n # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home\r\n baidu: ??\r\n # 在线预览文件服务器地址配置\r\n file-view-domain: 127.0.0.1:8012\r\n # minio文件上传\r\n minio:\r\n minio_url: http://minio.jeecg.com\r\n minio_name: ??\r\n minio_pass: ??\r\n bucketName: otatest\r\n #大屏报表参数设置\r\n jmreport:\r\n mode: dev\r\n #是否需要校验token\r\n is_verify_token: false\r\n #必须校验方法\r\n verify_methods: remove,delete,save,add,update\r\n #Wps在线文档\r\n wps:\r\n domain: https://wwo.wps.cn/office/\r\n appid: ??\r\n appsecret: ??\r\n #xxl-job配置\r\n xxljob:\r\n enabled: false\r\n adminAddresses: http://jeecg-boot-xxljob:9080/xxl-job-admin\r\n appname: ${spring.application.name}\r\n accessToken: \'\'\r\n logPath: logs/jeecg/job/jobhandler/\r\n logRetentionDays: 30\r\n #自定义路由配置 yml nacos database\r\n route:\r\n config:\r\n data-id: jeecg-gateway-router\r\n group: DEFAULT_GROUP\r\n data-type: database\r\n #分布式锁配置\r\n redisson:\r\n address: jeecg-boot-redis:6379\r\n password:\<PASSWORD> type: STANDALONE\r\n enabled: true\r\n#Mybatis输出sql日志\r\nlogging:\r\n level:\r\n org.jeecg.modules.system.mapper : info\r\n#cas单点登录\r\ncas:\r\n prefixUrl: http://localhost:8888/cas\r\n#swagger\r\nknife4j:\r\n #开启生产环境屏蔽\r\n production: false\r\n basic:\r\n enable: false\r\n username: jeecg\r\n password: <PASSWORD>\r\n\r\n#第三方登录\r\njustauth:\r\n enabled: true\r\n type:\r\n GITHUB:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/github/callback\r\n WECHAT_ENTERPRISE:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/wechat_enterprise/callback\r\n agent-id: ??\r\n DINGTALK:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/dingtalk/callback\r\n cache:\r\n type: default\r\n prefix: \'demo::\'\r\n timeout: 1h\r\n#第三方APP对接\r\nthird-app:\r\n enabled: false\r\n type:\r\n #企业微信\r\n WECHAT_ENTERPRISE:\r\n enabled: false\r\n #CORP_ID\r\n client-id: ??\r\n #SECRET\r\n client-secret: ??\r\n agent-id: ??\r\n #自建应用秘钥(新版企微需要配置)\r\n # agent-app-secret: ??\r\n #钉钉\r\n DINGTALK:\r\n enabled: false\r\n # appKey\r\n client-id: ??\r\n # appSecret\r\n client-secret: ??\r\n agent-id: ??', '474e76a8eb3fa24450d51870cc1107c6', '2010-05-05 00:00:00', '2022-04-12 13:32:54', 'nacos', '192.168.5.106', 'D', ''); INSERT INTO `his_config_info` VALUES (0, 27, 'jeecg-prod.yaml', 'DEFAULT_GROUP', '', 'spring:\r\n datasource:\r\n druid:\r\n stat-view-servlet:\r\n enabled: true\r\n loginUsername: admin\r\n loginPassword: <PASSWORD> allow:\r\n web-stat-filter:\r\n enabled: true\r\n dynamic:\r\n druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)\r\n # 连接池的配置信息\r\n # 初始化大小,最小,最大\r\n initial-size: 5\r\n min-idle: 5\r\n maxActive: 20\r\n # 配置获取连接等待超时的时间\r\n maxWait: 60000\r\n # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒\r\n timeBetweenEvictionRunsMillis: 60000\r\n # 配置一个连接在池中最小生存的时间,单位是毫秒\r\n minEvictableIdleTimeMillis: 300000\r\n validationQuery: SELECT 1 FROM DUAL\r\n testWhileIdle: true\r\n testOnBorrow: false\r\n testOnReturn: false\r\n # 打开PSCache,并且指定每个连接上PSCache的大小\r\n poolPreparedStatements: true\r\n maxPoolPreparedStatementPerConnectionSize: 20\r\n # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,\'wall\'用于防火墙\r\n filters: stat,wall,slf4j\r\n # 通过connectProperties属性来打开mergeSql功能;慢SQL记录\r\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\r\n\r\n datasource:\r\n master:\r\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\r\n username: root\r\n password: <PASSWORD> driver-class-name: com.mysql.cj.jdbc.Driver\r\n # 多数据源配置\r\n #multi-datasource1:\r\n #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\r\n #username: root\r\n #password: <PASSWORD> #driver-class-name: com.mysql.cj.jdbc.Driver\r\n #redis 配置\r\n redis:\r\n database: 0\r\n host: jeecg-boot-redis\r\n lettuce:\r\n pool:\r\n max-active: 8 #最大连接数据库连接数,设 0 为没有限制\r\n max-idle: 8 #最大等待连接中的数量,设 0 为没有限制\r\n max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。\r\n min-idle: 0 #最小等待连接中的数量,设 0 为没有限制\r\n shutdown-timeout: 100ms\r\n password:\r\n port: 6379\r\n #rabbitmq配置\r\n rabbitmq:\r\n host: jeecg-boot-rabbitmq\r\n username: guest\r\n password: <PASSWORD> port: 5672\r\n publisher-confirms: true\r\n publisher-returns: true\r\n virtual-host: /\r\n listener:\r\n simple:\r\n acknowledge-mode: manual\r\n #消费者的最小数量\r\n concurrency: 1\r\n #消费者的最大数量\r\n max-concurrency: 1\r\n #是否支持重试\r\n retry:\r\n enabled: true\r\n#jeecg专用配置\r\nminidao :\r\n base-package: org.jeecg.modules.jmreport.*\r\njeecg :\r\n # 签名密钥串(前后端要一致,正式发布请自行修改)\r\n signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a\r\n # 本地:local\\Minio:minio\\阿里云:alioss\r\n uploadType: local\r\n path :\r\n #文件上传根目录 设置\r\n upload: /opt/upFiles\r\n #webapp文件路径\r\n webapp: /opt/webapp\r\n shiro:\r\n excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**\r\n #阿里云oss存储配置\r\n oss:\r\n endpoint: oss-cn-beijing.aliyuncs.com\r\n accessKey: ??\r\n secretKey: ??\r\n bucketName: jeecgdev\r\n staticDomain: ??\r\n # ElasticSearch 6设置\r\n elasticsearch:\r\n cluster-name: jeecg-ES\r\n cluster-nodes: 127.0.0.1:9200\r\n check-enabled: false\r\n # 表单设计器配置\r\n desform:\r\n # 主题颜色(仅支持 16进制颜色代码)\r\n theme-color: \"#1890ff\"\r\n # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)\r\n upload-type: system\r\n map:\r\n # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home\r\n baidu: ??\r\n # 在线预览文件服务器地址配置\r\n file-view-domain: 127.0.0.1:8012\r\n # minio文件上传\r\n minio:\r\n minio_url: http://minio.jeecg.com\r\n minio_name: ??\r\n minio_pass: ??\r\n bucketName: otatest\r\n #大屏报表参数设置\r\n jmreport:\r\n mode: dev\r\n #是否需要校验token\r\n is_verify_token: false\r\n #必须校验方法\r\n verify_methods: remove,delete,save,add,update\r\n #Wps在线文档\r\n wps:\r\n domain: https://wwo.wps.cn/office/\r\n appid: ??\r\n appsecret: ??\r\n #xxl-job配置\r\n xxljob:\r\n enabled: false\r\n adminAddresses: http://jeecg-boot-xxljob:9080/xxl-job-admin\r\n appname: ${spring.application.name}\r\n accessToken: \'\'\r\n logPath: logs/jeecg/job/jobhandler/\r\n logRetentionDays: 30\r\n #自定义路由配置 yml nacos database\r\n route:\r\n config:\r\n data-id: jeecg-gateway-router\r\n group: DEFAULT_GROUP\r\n data-type: database\r\n #分布式锁配置\r\n redisson:\r\n address: jeecg-boot-redis:6379\r\n password:\r\n type: STANDALONE\r\n enabled: true\r\n#Mybatis输出sql日志\r\nlogging:\r\n level:\r\n org.jeecg.modules.system.mapper : info\r\n#cas单点登录\r\ncas:\r\n prefixUrl: http://localhost:8888/cas\r\n#swagger\r\nknife4j:\r\n #开启生产环境屏蔽\r\n production: false\r\n basic:\r\n enable: false\r\n username: jeecg\r\n password: <PASSWORD>#第三方登录\r\njustauth:\r\n enabled: true\r\n type:\r\n GITHUB:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/github/callback\r\n WECHAT_ENTERPRISE:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/wechat_enterprise/callback\r\n agent-id: ??\r\n DINGTALK:\r\n client-id: ??\r\n client-secret: ??\r\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/dingtalk/callback\r\n cache:\r\n type: default\r\n prefix: \'demo::\'\r\n timeout: 1h\r\n#第三方APP对接\r\nthird-app:\r\n enabled: false\r\n type:\r\n #企业微信\r\n WECHAT_ENTERPRISE:\r\n enabled: false\r\n #CORP_ID\r\n client-id: ??\r\n #SECRET\r\n client-secret: ??\r\n agent-id: ??\r\n #自建应用秘钥(新版企微需要配置)\r\n # agent-app-secret: ??\r\n #钉钉\r\n DINGTALK:\r\n enabled: false\r\n # appKey\r\n client-id: ??\r\n # appSecret\r\n client-secret: ??\r\n agent-id: ??', '474e76a8eb3fa24450d51870cc1107c6', '2010-05-05 00:00:00', '2022-04-12 13:33:15', 'nacos', '192.168.5.106', 'I', ''); INSERT INTO `his_config_info` VALUES (1, 28, 'jeecg-dev.yaml', 'DEFAULT_GROUP', '', 'spring:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: <PASSWORD> allow:\n web-stat-filter:\n enabled: true\n dynamic:\n druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)\n # 连接池的配置信息\n # 初始化大小,最小,最大\n initial-size: 5\n min-idle: 5\n maxActive: 20\n # 配置获取连接等待超时的时间\n maxWait: 60000\n # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒\n timeBetweenEvictionRunsMillis: 60000\n # 配置一个连接在池中最小生存的时间,单位是毫秒\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n # 打开PSCache,并且指定每个连接上PSCache的大小\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,\'wall\'用于防火墙\n filters: stat,wall,slf4j\n # 通过connectProperties属性来打开mergeSql功能;慢SQL记录\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n\n datasource:\n master:\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n username: root\n password: <PASSWORD> driver-class-name: com.mysql.cj.jdbc.Driver\n # 多数据源配置\n #multi-datasource1:\n #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n #username: root\n #password: <PASSWORD> #driver-class-name: com.mysql.cj.jdbc.Driver\n #redis 配置\n redis:\n database: 0\n host: jeecg-boot-redis\n lettuce:\n pool:\n max-active: 8 #最大连接数据库连接数,设 0 为没有限制\n max-idle: 8 #最大等待连接中的数量,设 0 为没有限制\n max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。\n min-idle: 0 #最小等待连接中的数量,设 0 为没有限制\n shutdown-timeout: 100ms\n password:\n port: 6379\n #rabbitmq配置\n rabbitmq:\n host: jeecg-boot-rabbitmq\n username: guest\n password: <PASSWORD> port: 5672\n publisher-confirms: true\n publisher-returns: true\n virtual-host: /\n listener:\n simple:\n acknowledge-mode: manual\n #消费者的最小数量\n concurrency: 1\n #消费者的最大数量\n max-concurrency: 1\n #是否支持重试\n retry:\n enabled: true\n#jeecg专用配置\nminidao :\n base-package: org.jeecg.modules.jmreport.*\njeecg :\n # 签名密钥串(前后端要一致,正式发布请自行修改)\n signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a\n # 本地:local\\Minio:minio\\阿里云:alioss\n uploadType: local\n path :\n #文件上传根目录 设置\n upload: /opt/upFiles\n #webapp文件路径\n webapp: /opt/webapp\n shiro:\n excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**\n #阿里云oss存储配置\n oss:\n endpoint: oss-cn-beijing.aliyuncs.com\n accessKey: ??\n secretKey: ??\n bucketName: jeecgdev\n staticDomain: ??\n # ElasticSearch 6设置\n elasticsearch:\n cluster-name: jeecg-ES\n cluster-nodes: 127.0.0.1:9200\n check-enabled: false\n # 表单设计器配置\n desform:\n # 主题颜色(仅支持 16进制颜色代码)\n theme-color: \"#1890ff\"\n # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)\n upload-type: system\n map:\n # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home\n baidu: ??\n # 在线预览文件服务器地址配置\n file-view-domain: 127.0.0.1:8012\n # minio文件上传\n minio:\n minio_url: http://minio.jeecg.com\n minio_name: ??\n minio_pass: <PASSWORD> bucketName: otatest\n #大屏报表参数设置\n jmreport:\n mode: dev\n #是否需要校验token\n is_verify_token: false\n #必须校验方法\n verify_methods: remove,delete,save,add,update\n #Wps在线文档\n wps:\n domain: https://wwo.wps.cn/office/\n appid: ??\n appsecret: ??\n #xxl-job配置\n xxljob:\n enabled: false\n adminAddresses: http://jeecg-boot-xxljob:9080/xxl-job-admin\n appname: ${spring.application.name}\n accessToken: \'\'\n logPath: logs/jeecg/job/jobhandler/\n logRetentionDays: 30\n #自定义路由配置 yml nacos database\n route:\n config:\n data-id: jeecg-gateway-router\n group: DEFAULT_GROUP\n data-type: database\n #分布式锁配置\n redisson:\n address: jeecg-boot-redis:6379\n password:\n type: STANDALONE\n enabled: true\n#Mybatis输出sql日志\nlogging:\n level:\n org.jeecg.modules.system.mapper : info\n#cas单点登录\ncas:\n prefixUrl: http://localhost:8888/cas\n#swagger\nknife4j:\n #开启生产环境屏蔽\n production: false\n basic:\n enable: false\n username: jeecg\n password: <PASSWORD>#第三方登录\njustauth:\n enabled: true\n type:\n GITHUB:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/github/callback\n WECHAT_ENTERPRISE:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/wechat_enterprise/callback\n agent-id: ??\n DINGTALK:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/dingtalk/callback\n cache:\n type: default\n prefix: \'demo::\'\n timeout: 1h\n#第三方APP对接\nthird-app:\n enabled: false\n type:\n #企业微信\n WECHAT_ENTERPRISE:\n enabled: false\n #CORP_ID\n client-id: ??\n #SECRET\n client-secret: ??\n agent-id: ??\n #自建应用秘钥(新版企微需要配置)\n # agent-app-secret: ??\n #钉钉\n DINGTALK:\n enabled: false\n # appKey\n client-id: ??\n # appSecret\n client-secret: ??\n agent-id: ??', 'd36623a8f4ca17bf79d4343b34664fea', '2010-05-05 00:00:00', '2022-04-12 13:58:36', 'nacos', '0:0:0:0:0:0:0:1', 'U', ''); INSERT INTO `his_config_info` VALUES (2, 29, 'jeecg.yaml', 'DEFAULT_GROUP', '', 'server:\n tomcat:\n max-swallow-size: -1\n error:\n include-exception: true\n include-stacktrace: ALWAYS\n include-message: ALWAYS\n compression:\n enabled: true\n min-response-size: 1024\n mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*\nmanagement:\n health:\n mail:\n enabled: false\n endpoints:\n web:\n exposure:\n include: \"*\" #暴露所有节点\n health:\n sensitive: true #关闭过滤敏感信息\n endpoint:\n health:\n show-details: ALWAYS #显示详细信息\nspring:\n servlet:\n multipart:\n max-file-size: 10MB\n max-request-size: 10MB\n mail:\n host: smtp.163.com\n username: <EMAIL>3.com\n password: <PASSWORD> properties:\n mail:\n smtp:\n auth: true\n starttls:\n enable: true\n required: true\n ## quartz定时任务,采用数据库方式\n quartz:\n job-store-type: jdbc\n initialize-schema: embedded\n #设置自动启动,默认为 true\n auto-startup: false\n #启动时更新己存在的Job\n overwrite-existing-jobs: true\n properties:\n org:\n quartz:\n scheduler:\n instanceName: MyScheduler\n instanceId: AUTO\n jobStore:\n class: org.springframework.scheduling.quartz.LocalDataSourceJobStore\n driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate\n tablePrefix: QRTZ_\n isClustered: true\n misfireThreshold: 60000\n clusterCheckinInterval: 10000\n threadPool:\n class: org.quartz.simpl.SimpleThreadPool\n threadCount: 10\n threadPriority: 5\n threadsInheritContextClassLoaderOfInitializingThread: true\n #json 时间戳统一转换\n jackson:\n date-format: yyyy-MM-dd HH:mm:ss\n time-zone: GMT+8\n aop:\n proxy-target-class: true\n activiti:\n check-process-definitions: false\n #启用作业执行器\n async-executor-activate: false\n #启用异步执行器\n job-executor-activate: false\n jpa:\n open-in-view: false\n #配置freemarker\n freemarker:\n # 设置模板后缀名\n suffix: .ftl\n # 设置文档类型\n content-type: text/html\n # 设置页面编码格式\n charset: UTF-8\n # 设置页面缓存\n cache: false\n prefer-file-system-access: false\n # 设置ftl文件路径\n template-loader-path:\n - classpath:/templates\n # 设置静态文件路径,js,css等\n mvc:\n static-path-pattern: /**\n resource:\n static-locations: classpath:/static/,classpath:/public/\n autoconfigure:\n exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure\n#mybatis plus 设置\nmybatis-plus:\n mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml\n global-config:\n # 关闭MP3.0自带的banner\n banner: false\n db-config:\n #主键类型 0:\"数据库ID自增\",1:\"该类型为未设置主键类型\", 2:\"用户输入ID\",3:\"全局唯一ID (数字类型唯一ID)\", 4:\"全局唯一ID UUID\",5:\"字符串全局唯一ID (idWorker 的字符串表示)\";\n id-type: ASSIGN_ID\n # 默认数据库表下划线命名\n table-underline: true\n configuration:\n # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用\n #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl\n # 返回类型为Map,显示null对应的字段\n call-setters-on-nulls: true', '3d36513f76f0f6cf5c8b4daa9201e463', '2010-05-05 00:00:00', '2022-04-12 15:04:36', 'nacos', '0:0:0:0:0:0:0:1', 'U', ''); INSERT INTO `his_config_info` VALUES (0, 30, 'jeecg--sharding.yaml', 'DEFAULT_GROUP', '', 'spring:\r\n shardingsphere:\r\n props:\r\n sql-show: true\r\n datasource:\r\n #添加分库数据源\r\n ds0:\r\n driverClassName: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://jeecg-boot-mysql:3300/jeecg-boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai\r\n username: root\r\n password: <PASSWORD> type: com.alibaba.druid.pool.DruidDataSource\r\n names: ds0\r\n # 规则配置\r\n rules:\r\n sharding:\r\n # 配置绑定表,每一行为一组\r\n binding-tables: sys_log\r\n # 分布式序列算法配置\r\n key-generators:\r\n snowflake:\r\n type: SNOWFLAKE\r\n props:\r\n worker-id: 123\r\n # 分片算法配置\r\n sharding-algorithms:\r\n table-classbased:\r\n props:\r\n strategy: standard\r\n # 自定义标准分配算法\r\n algorithmClassName: org.jeecg.modules.test.sharding.algorithm.StandardModTableShardAlgorithm\r\n type: CLASS_BASED\r\n tables:\r\n # 逻辑表名称\r\n sys_log:\r\n #配置具体表的数据节点\r\n actual-data-nodes: ds0.sys_log$->{0..1}\r\n # 分表策略\r\n table-strategy:\r\n standard:\r\n # 分片算法名称\r\n sharding-algorithm-name: table-classbased\r\n # 分片列名称(对应数据库字段)\r\n sharding-column: log_type', '2d98965ca6c093041df0b126357b613b', '2010-05-05 00:00:00', '2022-04-13 03:12:00', NULL, '0:0:0:0:0:0:0:1', 'I', ''); INSERT INTO `his_config_info` VALUES (10, 31, 'jeecg--sharding.yaml', 'DEFAULT_GROUP', '', 'spring:\r\n shardingsphere:\r\n props:\r\n sql-show: true\r\n datasource:\r\n #添加分库数据源\r\n ds0:\r\n driverClassName: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://jeecg-boot-mysql:3300/jeecg-boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai\r\n username: root\r\n password: <PASSWORD> type: com.alibaba.druid.pool.DruidDataSource\r\n names: ds0\r\n # 规则配置\r\n rules:\r\n sharding:\r\n # 配置绑定表,每一行为一组\r\n binding-tables: sys_log\r\n # 分布式序列算法配置\r\n key-generators:\r\n snowflake:\r\n type: SNOWFLAKE\r\n props:\r\n worker-id: 123\r\n # 分片算法配置\r\n sharding-algorithms:\r\n table-classbased:\r\n props:\r\n strategy: standard\r\n # 自定义标准分配算法\r\n algorithmClassName: org.jeecg.modules.test.sharding.algorithm.StandardModTableShardAlgorithm\r\n type: CLASS_BASED\r\n tables:\r\n # 逻辑表名称\r\n sys_log:\r\n #配置具体表的数据节点\r\n actual-data-nodes: ds0.sys_log$->{0..1}\r\n # 分表策略\r\n table-strategy:\r\n standard:\r\n # 分片算法名称\r\n sharding-algorithm-name: table-classbased\r\n # 分片列名称(对应数据库字段)\r\n sharding-column: log_type', '2d98965ca6c093041df0b126357b613b', '2010-05-05 00:00:00', '2022-04-13 03:12:09', NULL, '0:0:0:0:0:0:0:1', 'D', ''); INSERT INTO `his_config_info` VALUES (0, 32, 'jeecg-sharding.yaml', 'DEFAULT_GROUP', '', 'spring:\r\n shardingsphere:\r\n props:\r\n sql-show: true\r\n datasource:\r\n #添加分库数据源\r\n ds0:\r\n driverClassName: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://jeecg-boot-mysql:3300/jeecg-boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai\r\n username: root\r\n password: <PASSWORD> type: com.alibaba.druid.pool.DruidDataSource\r\n names: ds0\r\n # 规则配置\r\n rules:\r\n sharding:\r\n # 配置绑定表,每一行为一组\r\n binding-tables: sys_log\r\n # 分布式序列算法配置\r\n key-generators:\r\n snowflake:\r\n type: SNOWFLAKE\r\n props:\r\n worker-id: 123\r\n # 分片算法配置\r\n sharding-algorithms:\r\n table-classbased:\r\n props:\r\n strategy: standard\r\n # 自定义标准分配算法\r\n algorithmClassName: org.jeecg.modules.test.sharding.algorithm.StandardModTableShardAlgorithm\r\n type: CLASS_BASED\r\n tables:\r\n # 逻辑表名称\r\n sys_log:\r\n #配置具体表的数据节点\r\n actual-data-nodes: ds0.sys_log$->{0..1}\r\n # 分表策略\r\n table-strategy:\r\n standard:\r\n # 分片算法名称\r\n sharding-algorithm-name: table-classbased\r\n # 分片列名称(对应数据库字段)\r\n sharding-column: log_type', '2d98965ca6c093041df0b126357b613b', '2010-05-05 00:00:00', '2022-04-13 03:12:28', NULL, '0:0:0:0:0:0:0:1', 'I', ''); INSERT INTO `his_config_info` VALUES (11, 33, 'jeecg-sharding.yaml', 'DEFAULT_GROUP', '', 'spring:\r\n shardingsphere:\r\n props:\r\n sql-show: true\r\n datasource:\r\n #添加分库数据源\r\n ds0:\r\n driverClassName: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://jeecg-boot-mysql:3300/jeecg-boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai\r\n username: root\r\n password: <PASSWORD> type: com.alibaba.druid.pool.DruidDataSource\r\n names: ds0\r\n # 规则配置\r\n rules:\r\n sharding:\r\n # 配置绑定表,每一行为一组\r\n binding-tables: sys_log\r\n # 分布式序列算法配置\r\n key-generators:\r\n snowflake:\r\n type: SNOWFLAKE\r\n props:\r\n worker-id: 123\r\n # 分片算法配置\r\n sharding-algorithms:\r\n table-classbased:\r\n props:\r\n strategy: standard\r\n # 自定义标准分配算法\r\n algorithmClassName: org.jeecg.modules.test.sharding.algorithm.StandardModTableShardAlgorithm\r\n type: CLASS_BASED\r\n tables:\r\n # 逻辑表名称\r\n sys_log:\r\n #配置具体表的数据节点\r\n actual-data-nodes: ds0.sys_log$->{0..1}\r\n # 分表策略\r\n table-strategy:\r\n standard:\r\n # 分片算法名称\r\n sharding-algorithm-name: table-classbased\r\n # 分片列名称(对应数据库字段)\r\n sharding-column: log_type', '2d98965ca6c093041df0b126357b613b', '2010-05-05 00:00:00', '2022-04-13 03:25:40', 'nacos', '0:0:0:0:0:0:0:1', 'U', ''); INSERT INTO `his_config_info` VALUES (11, 34, 'jeecg-sharding.yaml', 'DEFAULT_GROUP', '', 'spring:\n shardingsphere:\n props:\n sql-show: true\n datasource:\n #添加分库数据源\n ds0:\n driverClassName: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://jeecg-boot-mysql:3300/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n username: root\n password: <PASSWORD> type: com.alibaba.druid.pool.DruidDataSource\n names: ds0\n # 规则配置\n rules:\n sharding:\n # 配置绑定表,每一行为一组\n binding-tables: sys_log\n # 分布式序列算法配置\n key-generators:\n snowflake:\n type: SNOWFLAKE\n props:\n worker-id: 123\n # 分片算法配置\n sharding-algorithms:\n table-classbased:\n props:\n strategy: standard\n # 自定义标准分配算法\n algorithmClassName: org.jeecg.modules.test.sharding.algorithm.StandardModTableShardAlgorithm\n type: CLASS_BASED\n tables:\n # 逻辑表名称\n sys_log:\n #配置具体表的数据节点\n actual-data-nodes: ds0.sys_log$->{0..1}\n # 分表策略\n table-strategy:\n standard:\n # 分片算法名称\n sharding-algorithm-name: table-classbased\n # 分片列名称(对应数据库字段)\n sharding-column: log_type', '229a1bbc81ac94f732320744a6ca4762', '2010-05-05 00:00:00', '2022-04-13 03:30:40', 'nacos', '0:0:0:0:0:0:0:1', 'U', ''); INSERT INTO `his_config_info` VALUES (11, 35, 'jeecg-sharding.yaml', 'DEFAULT_GROUP', '', 'spring:\n shardingsphere:\n props:\n sql-show: true\n datasource:\n #添加分库数据源\n ds0:\n driverClassName: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://jeecg-boot-mysql:3300/jeecg-boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai\n username: root\n password: <PASSWORD> type: com.alibaba.druid.pool.DruidDataSource\n names: ds0\n # 规则配置\n rules:\n sharding:\n # 配置绑定表,每一行为一组\n binding-tables: sys_log\n # 分布式序列算法配置\n key-generators:\n snowflake:\n type: SNOWFLAKE\n props:\n worker-id: 123\n # 分片算法配置\n sharding-algorithms:\n table-classbased:\n props:\n strategy: standard\n # 自定义标准分配算法\n algorithmClassName: org.jeecg.modules.test.sharding.algorithm.StandardModTableShardAlgorithm\n type: CLASS_BASED\n tables:\n # 逻辑表名称\n sys_log:\n #配置具体表的数据节点\n actual-data-nodes: ds0.sys_log$->{0..1}\n # 分表策略\n table-strategy:\n standard:\n # 分片算法名称\n sharding-algorithm-name: table-classbased\n # 分片列名称(对应数据库字段)\n sharding-column: log_type', '8a6f39994dfb0d936c0e3725ed35a621', '2010-05-05 00:00:00', '2022-04-13 03:31:13', 'nacos', '0:0:0:0:0:0:0:1', 'U', ''); INSERT INTO `his_config_info` VALUES (0, 36, 'jeecg-sharding2.yaml', 'DEFAULT_GROUP', '', '# 双库分表配置\r\nspring:\r\n shardingsphere:\r\n props:\r\n sql-show: true\r\n datasource:\r\n ds0:\r\n driverClassName: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai\r\n type: com.alibaba.druid.pool.DruidDataSource\r\n username: root\r\n password: <PASSWORD> ds1:\r\n driverClassName: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot2?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai\r\n type: com.alibaba.druid.pool.DruidDataSource\r\n username: root\r\n password: <PASSWORD> names: ds0,ds1\r\n # 规则配置\r\n rules:\r\n replica-query:\r\n # 负载均衡算法\r\n load-balancers:\r\n round-robin:\r\n type: ROUND_ROBIN\r\n props:\r\n default: 0\r\n data-sources:\r\n prds:\r\n primary-data-source-name: ds0\r\n replica-data-source-names: ds1\r\n load-balancer-name: round_robin\r\n sharding:\r\n # 配置绑定表,每一行为一组,绑定表会提高查询效率\r\n binding-tables:\r\n - sys_log\r\n # 分布式序列算法配置\r\n key-generators:\r\n snowflake:\r\n type: SNOWFLAKE\r\n props:\r\n worker-id: 123\r\n # 分片算法配置\r\n sharding-algorithms:\r\n table-classbased:\r\n props:\r\n strategy: standard\r\n algorithmClassName: org.jeecg.modules.test.sharding.algorithm.StandardModTableShardAlgorithm\r\n type: CLASS_BASED\r\n # 通过operate_type取模的方式确定数据落在哪个库\r\n database-inline:\r\n type: INLINE\r\n props:\r\n algorithm-expression: ds$->{operate_type % 2}\r\n tables:\r\n # 逻辑表名称\r\n sys_log:\r\n #配置具体表的数据节点\r\n actual-data-nodes: ds$->{0..1}.sys_log$->{0..1}\r\n # 分库策略\r\n database-strategy:\r\n standard:\r\n sharding-column: operate_type\r\n sharding-algorithm-name: database-inline\r\n # 分表策略\r\n table-strategy:\r\n standard:\r\n # 分片算法名称\r\n sharding-algorithm-name: table-classbased\r\n # 分片列名称\r\n sharding-column: log_type', '257969ade38b413213f56267ab338bb6', '2010-05-05 00:00:00', '2022-04-13 06:11:11', NULL, '0:0:0:0:0:0:0:1', 'I', ''); INSERT INTO `his_config_info` VALUES (11, 37, 'jeecg-sharding.yaml', 'DEFAULT_GROUP', '', 'spring:\n shardingsphere:\n props:\n sql-show: true\n datasource:\n #添加分库数据源\n ds0:\n driverClassName: com.mysql.cj.jdbc.Driver\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai\n username: root\n password: <PASSWORD> type: com.alibaba.druid.pool.DruidDataSource\n names: ds0\n # 规则配置\n rules:\n sharding:\n # 配置绑定表,每一行为一组\n binding-tables: sys_log\n # 分布式序列算法配置\n key-generators:\n snowflake:\n type: SNOWFLAKE\n props:\n worker-id: 123\n # 分片算法配置\n sharding-algorithms:\n table-classbased:\n props:\n strategy: standard\n # 自定义标准分配算法\n algorithmClassName: org.jeecg.modules.test.sharding.algorithm.StandardModTableShardAlgorithm\n type: CLASS_BASED\n tables:\n # 逻辑表名称\n sys_log:\n #配置具体表的数据节点\n actual-data-nodes: ds0.sys_log$->{0..1}\n # 分表策略\n table-strategy:\n standard:\n # 分片算法名称\n sharding-algorithm-name: table-classbased\n # 分片列名称(对应数据库字段)\n sharding-column: log_type', 'a454ad40d1edccb6ce3fafcb0a4d350c', '2010-05-05 00:00:00', '2022-04-13 06:11:31', 'nacos', '0:0:0:0:0:0:0:1', 'U', ''); INSERT INTO `his_config_info` VALUES (0, 38, 'jeecg-gateway-flow-rules', 'SENTINEL_GROUP', '', '[{\"app\":\"jeecg-gateway\",\"burst\":0,\"controlBehavior\":0,\"count\":1.0,\"gmtCreate\":1649948215727,\"gmtModified\":1649948215727,\"grade\":1,\"id\":1,\"interval\":1,\"intervalUnit\":0,\"ip\":\"172.31.16.1\",\"port\":8720,\"resource\":\"jeecg-system\",\"resourceMode\":0}]', 'b60a6340babb144a879201cff2dc93f7', '2010-05-05 00:00:00', '2022-04-14 14:56:56', NULL, '127.0.0.1', 'I', ''); INSERT INTO `his_config_info` VALUES (17, 39, 'jeecg-gateway-flow-rules', 'SENTINEL_GROUP', '', '[{\"app\":\"jeecg-gateway\",\"burst\":0,\"controlBehavior\":0,\"count\":1.0,\"gmtCreate\":1649948215727,\"gmtModified\":1649948215727,\"grade\":1,\"id\":1,\"interval\":1,\"intervalUnit\":0,\"ip\":\"172.31.16.1\",\"port\":8720,\"resource\":\"jeecg-system\",\"resourceMode\":0}]', 'b60a6340babb144a879201cff2dc93f7', '2010-05-05 00:00:00', '2022-04-14 14:57:16', NULL, '127.0.0.1', 'U', ''); INSERT INTO `his_config_info` VALUES (17, 40, 'jeecg-gateway-flow-rules', 'SENTINEL_GROUP', '', '[{\"app\":\"jeecg-gateway\",\"burst\":0,\"controlBehavior\":0,\"count\":1.0,\"gmtCreate\":1649948215727,\"gmtModified\":1649948215727,\"grade\":1,\"id\":1,\"interval\":1,\"intervalUnit\":0,\"ip\":\"172.31.16.1\",\"port\":8720,\"resource\":\"jeecg-system\",\"resourceMode\":0},{\"app\":\"jeecg-gateway\",\"burst\":0,\"controlBehavior\":0,\"count\":22.0,\"gmtCreate\":1649948235849,\"gmtModified\":1649948235849,\"grade\":1,\"id\":2,\"interval\":1,\"intervalUnit\":0,\"ip\":\"172.31.16.1\",\"port\":8720,\"resource\":\"22\",\"resourceMode\":0}]', '81d3110456f0256a43ccd83ec16aa067', '2010-05-05 00:00:00', '2022-04-14 14:57:19', NULL, '127.0.0.1', 'U', ''); INSERT INTO `his_config_info` VALUES (0, 41, 'jeecg-gateway-api-rules', 'SENTINEL_GROUP', '', '[{\"apiName\":\"SYSAPI\",\"app\":\"jeecg-gateway\",\"gmtCreate\":1649948439664,\"gmtModified\":1649948439664,\"id\":1,\"ip\":\"172.31.16.1\",\"port\":8720,\"predicateItems\":[{\"matchStrategy\":1,\"pattern\":\"/sys/test/**\"}]}]', '5d897363933340ac8b80879ea34a2566', '2010-05-05 00:00:00', '2022-04-14 15:00:40', NULL, '127.0.0.1', 'I', ''); INSERT INTO `his_config_info` VALUES (17, 42, 'jeecg-gateway-flow-rules', 'SENTINEL_GROUP', '', '[{\"app\":\"jeecg-gateway\",\"burst\":0,\"controlBehavior\":0,\"count\":1.0,\"gmtCreate\":1649948215727,\"gmtModified\":1649948215727,\"grade\":1,\"id\":1,\"interval\":1,\"intervalUnit\":0,\"ip\":\"172.31.16.1\",\"port\":8720,\"resource\":\"jeecg-system\",\"resourceMode\":0}]', 'b60a6340babb144a879201cff2dc93f7', '2010-05-05 00:00:00', '2022-04-14 15:00:53', NULL, '127.0.0.1', 'U', ''); INSERT INTO `his_config_info` VALUES (17, 43, 'jeecg-gateway-flow-rules', 'SENTINEL_GROUP', '', '[{\"app\":\"jeecg-gateway\",\"burst\":0,\"controlBehavior\":0,\"count\":1000.0,\"gmtCreate\":1649948215727,\"gmtModified\":1649948453314,\"grade\":1,\"id\":1,\"interval\":1,\"intervalUnit\":0,\"ip\":\"172.31.16.1\",\"port\":8720,\"resource\":\"jeecg-system\",\"resourceMode\":0}]', 'da56e9a65f43503e3731ac173bfb6f99', '2010-05-05 00:00:00', '2022-04-14 15:01:10', NULL, '127.0.0.1', 'U', ''); INSERT INTO `his_config_info` VALUES (0, 44, 'jeecg-gateway-degrade-rules', 'SENTINEL_GROUP', '', '[{\"app\":\"jeecg-gateway\",\"count\":0.1,\"gmtCreate\":1649948712243,\"gmtModified\":1649948712243,\"grade\":0,\"id\":1,\"ip\":\"172.31.16.1\",\"limitApp\":\"default\",\"minRequestAmount\":5,\"port\":8720,\"resource\":\"jeecg-system\",\"slowRatioThreshold\":0.1,\"statIntervalMs\":1000,\"timeWindow\":30}]', 'f14f2b6ef6126f9f44aa6506aa7c6077', '2010-05-05 00:00:00', '2022-04-14 15:05:12', NULL, '127.0.0.1', 'I', ''); INSERT INTO `his_config_info` VALUES (1, 45, 'jeecg-dev.yaml', 'DEFAULT_GROUP', '', 'spring:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: <PASSWORD> allow:\n web-stat-filter:\n enabled: true\n dynamic:\n druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)\n # 连接池的配置信息\n # 初始化大小,最小,最大\n initial-size: 5\n min-idle: 5\n maxActive: 20\n # 配置获取连接等待超时的时间\n maxWait: 60000\n # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒\n timeBetweenEvictionRunsMillis: 60000\n # 配置一个连接在池中最小生存的时间,单位是毫秒\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n # 打开PSCache,并且指定每个连接上PSCache的大小\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,\'wall\'用于防火墙\n filters: stat,wall,slf4j\n # 通过connectProperties属性来打开mergeSql功能;慢SQL记录\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n\n datasource:\n master:\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n username: root\n password: <PASSWORD> driver-class-name: com.mysql.cj.jdbc.Driver\n # 多数据源配置\n #multi-datasource1:\n #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n #username: root\n #password: <PASSWORD> #driver-class-name: com.mysql.cj.jdbc.Driver\n #redis 配置\n redis:\n database: 0\n host: jeecg-boot-redis\n lettuce:\n pool:\n max-active: 8 #最大连接数据库连接数,设 0 为没有限制\n max-idle: 8 #最大等待连接中的数量,设 0 为没有限制\n max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。\n min-idle: 0 #最小等待连接中的数量,设 0 为没有限制\n shutdown-timeout: 100ms\n password:\n port: 6379\n #rabbitmq配置\n rabbitmq:\n host: jeecg-boot-rabbitmq\n username: guest\n password: <PASSWORD> port: 5672\n publisher-confirms: true\n publisher-returns: true\n virtual-host: /\n listener:\n simple:\n acknowledge-mode: manual\n #消费者的最小数量\n concurrency: 1\n #消费者的最大数量\n max-concurrency: 1\n #是否支持重试\n retry:\n enabled: true\n#jeecg专用配置\nminidao :\n base-package: org.jeecg.modules.jmreport.*\njeecg :\n # 签名密钥串(前后端要一致,正式发布请自行修改)\n signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a\n # 本地:local\\Minio:minio\\阿里云:alioss\n uploadType: local\n path :\n #文件上传根目录 设置\n upload: /opt/upFiles\n #webapp文件路径\n webapp: /opt/webapp\n shiro:\n excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**\n #阿里云oss存储配置\n oss:\n endpoint: oss-cn-beijing.aliyuncs.com\n accessKey: ??\n secretKey: ??\n bucketName: jeecgdev\n staticDomain: ??\n # ElasticSearch 6设置\n elasticsearch:\n cluster-name: jeecg-ES\n cluster-nodes: 127.0.0.1:9200\n check-enabled: false\n # 表单设计器配置\n desform:\n # 主题颜色(仅支持 16进制颜色代码)\n theme-color: \"#1890ff\"\n # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)\n upload-type: system\n map:\n # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home\n baidu: ??\n # 在线预览文件服务器地址配置\n file-view-domain: 127.0.0.1:8012\n # minio文件上传\n minio:\n minio_url: http://minio.jeecg.com\n minio_name: ??\n minio_pass: <PASSWORD> bucketName: otatest\n #大屏报表参数设置\n jmreport:\n mode: dev\n #是否需要校验token\n is_verify_token: false\n #必须校验方法\n verify_methods: remove,delete,save,add,update\n #Wps在线文档\n wps:\n domain: https://wwo.wps.cn/office/\n appid: ??\n appsecret: ??\n #xxl-job配置\n xxljob:\n enabled: true\n adminAddresses: http://jeecg-boot-xxljob:9080/xxl-job-admin\n appname: ${spring.application.name}\n accessToken: \'\'\n logPath: logs/jeecg/job/jobhandler/\n logRetentionDays: 30\n #自定义路由配置 yml nacos database\n route:\n config:\n data-id: jeecg-gateway-router\n group: DEFAULT_GROUP\n data-type: database\n #分布式锁配置\n redisson:\n address: jeecg-boot-redis:6379\n password:\n type: STANDALONE\n enabled: true\n#Mybatis输出sql日志\nlogging:\n level:\n org.jeecg.modules.system.mapper : info\n#cas单点登录\ncas:\n prefixUrl: http://localhost:8888/cas\n#swagger\nknife4j:\n #开启生产环境屏蔽\n production: false\n basic:\n enable: false\n username: jeecg\n password: <PASSWORD>#第三方登录\njustauth:\n enabled: true\n type:\n GITHUB:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/github/callback\n WECHAT_ENTERPRISE:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/wechat_enterprise/callback\n agent-id: ??\n DINGTALK:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/dingtalk/callback\n cache:\n type: default\n prefix: \'demo::\'\n timeout: 1h\n#第三方APP对接\nthird-app:\n enabled: false\n type:\n #企业微信\n WECHAT_ENTERPRISE:\n enabled: false\n #CORP_ID\n client-id: ??\n #SECRET\n client-secret: ??\n agent-id: ??\n #自建应用秘钥(新版企微需要配置)\n # agent-app-secret: ??\n #钉钉\n DINGTALK:\n enabled: false\n # appKey\n client-id: ??\n # appSecret\n client-secret: ??\n agent-id: ??', '2c0746e66cbde68a15c8f240b00ef47a', '2010-05-05 00:00:00', '2022-04-15 04:58:44', 'nacos', '0:0:0:0:0:0:0:1', 'U', ''); INSERT INTO `his_config_info` VALUES (1, 46, 'jeecg-dev.yaml', 'DEFAULT_GROUP', '', 'spring:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: <PASSWORD> allow:\n web-stat-filter:\n enabled: true\n dynamic:\n druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)\n # 连接池的配置信息\n # 初始化大小,最小,最大\n initial-size: 5\n min-idle: 5\n maxActive: 20\n # 配置获取连接等待超时的时间\n maxWait: 60000\n # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒\n timeBetweenEvictionRunsMillis: 60000\n # 配置一个连接在池中最小生存的时间,单位是毫秒\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n # 打开PSCache,并且指定每个连接上PSCache的大小\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,\'wall\'用于防火墙\n filters: stat,wall,slf4j\n # 通过connectProperties属性来打开mergeSql功能;慢SQL记录\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n\n datasource:\n master:\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n username: root\n password: <PASSWORD> driver-class-name: com.mysql.cj.jdbc.Driver\n # 多数据源配置\n #multi-datasource1:\n #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n #username: root\n #password: <PASSWORD> #driver-class-name: com.mysql.cj.jdbc.Driver\n #redis 配置\n redis:\n database: 0\n host: jeecg-boot-redis\n lettuce:\n pool:\n max-active: 8 #最大连接数据库连接数,设 0 为没有限制\n max-idle: 8 #最大等待连接中的数量,设 0 为没有限制\n max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。\n min-idle: 0 #最小等待连接中的数量,设 0 为没有限制\n shutdown-timeout: 100ms\n password: \'<PASSWORD>\'\n port: 6379\n #rabbitmq配置\n rabbitmq:\n host: jeecg-boot-rabbitmq\n username: guest\n password: <PASSWORD> port: 5672\n publisher-confirms: true\n publisher-returns: true\n virtual-host: /\n listener:\n simple:\n acknowledge-mode: manual\n #消费者的最小数量\n concurrency: 1\n #消费者的最大数量\n max-concurrency: 1\n #是否支持重试\n retry:\n enabled: true\n#jeecg专用配置\nminidao :\n base-package: org.jeecg.modules.jmreport.*\njeecg :\n # 签名密钥串(前后端要一致,正式发布请自行修改)\n signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a\n # 本地:local\\Minio:minio\\阿里云:alioss\n uploadType: local\n path :\n #文件上传根目录 设置\n upload: /opt/upFiles\n #webapp文件路径\n webapp: /opt/webapp\n shiro:\n excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**\n #阿里云oss存储配置\n oss:\n endpoint: oss-cn-beijing.aliyuncs.com\n accessKey: ??\n secretKey: ??\n bucketName: jeecgdev\n staticDomain: ??\n # ElasticSearch 6设置\n elasticsearch:\n cluster-name: jeecg-ES\n cluster-nodes: 127.0.0.1:9200\n check-enabled: false\n # 表单设计器配置\n desform:\n # 主题颜色(仅支持 16进制颜色代码)\n theme-color: \"#1890ff\"\n # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)\n upload-type: system\n map:\n # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home\n baidu: ??\n # 在线预览文件服务器地址配置\n file-view-domain: 127.0.0.1:8012\n # minio文件上传\n minio:\n minio_url: http://minio.jeecg.com\n minio_name: ??\n minio_pass: ??\n bucketName: otatest\n #大屏报表参数设置\n jmreport:\n mode: dev\n #是否需要校验token\n is_verify_token: false\n #必须校验方法\n verify_methods: remove,delete,save,add,update\n #Wps在线文档\n wps:\n domain: https://wwo.wps.cn/office/\n appid: ??\n appsecret: ??\n #xxl-job配置\n xxljob:\n enabled: true\n adminAddresses: http://jeecg-boot-xxljob:9080/xxl-job-admin\n appname: ${spring.application.name}\n accessToken: \'\'\n logPath: logs/jeecg/job/jobhandler/\n logRetentionDays: 30\n #自定义路由配置 yml nacos database\n route:\n config:\n data-id: jeecg-gateway-router\n group: DEFAULT_GROUP\n data-type: database\n #分布式锁配置\n redisson:\n address: jeecg-boot-redis:6379\n password:\n type: STANDALONE\n enabled: true\n#Mybatis输出sql日志\nlogging:\n level:\n org.jeecg.modules.system.mapper : info\n#cas单点登录\ncas:\n prefixUrl: http://localhost:8888/cas\n#swagger\nknife4j:\n #开启生产环境屏蔽\n production: false\n basic:\n enable: false\n username: jeecg\n password: <PASSWORD>4\n\n#第三方登录\njustauth:\n enabled: true\n type:\n GITHUB:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/github/callback\n WECHAT_ENTERPRISE:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/wechat_enterprise/callback\n agent-id: ??\n DINGTALK:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/dingtalk/callback\n cache:\n type: default\n prefix: \'demo::\'\n timeout: 1h\n#第三方APP对接\nthird-app:\n enabled: false\n type:\n #企业微信\n WECHAT_ENTERPRISE:\n enabled: false\n #CORP_ID\n client-id: ??\n #SECRET\n client-secret: ??\n agent-id: ??\n #自建应用秘钥(新版企微需要配置)\n # agent-app-secret: ??\n #钉钉\n DINGTALK:\n enabled: false\n # appKey\n client-id: ??\n # appSecret\n client-secret: ??\n agent-id: ??', '762ef6033b00e3f4dcb1e86948591995', '2010-05-05 00:00:00', '2022-04-15 04:59:43', 'nacos', '0:0:0:0:0:0:0:1', 'U', ''); INSERT INTO `his_config_info` VALUES (17, 47, 'jeecg-gateway-flow-rules', 'SENTINEL_GROUP', '', '[{\"app\":\"jeecg-gateway\",\"burst\":0,\"controlBehavior\":0,\"count\":1000.0,\"gmtCreate\":1649948215727,\"gmtModified\":1649948453314,\"grade\":1,\"id\":1,\"interval\":1,\"intervalUnit\":0,\"ip\":\"172.31.16.1\",\"port\":8720,\"resource\":\"jeecg-system\",\"resourceMode\":0},{\"app\":\"jeecg-gateway\",\"burst\":0,\"controlBehavior\":0,\"count\":1.0,\"gmtCreate\":1649948469824,\"gmtModified\":1649948469824,\"grade\":1,\"id\":3,\"interval\":1,\"intervalUnit\":0,\"ip\":\"172.31.16.1\",\"port\":8720,\"resource\":\"SYSAPI\",\"resourceMode\":1}]', 'e99c56c11c6db8497f1870edb1f5971b', '2010-05-05 00:00:00', '2022-04-17 09:37:18', NULL, '0:0:0:0:0:0:0:1', 'D', ''); INSERT INTO `his_config_info` VALUES (20, 48, 'jeecg-gateway-api-rules', 'SENTINEL_GROUP', '', '[{\"apiName\":\"SYSAPI\",\"app\":\"jeecg-gateway\",\"gmtCreate\":1649948439664,\"gmtModified\":1649948439664,\"id\":1,\"ip\":\"172.31.16.1\",\"port\":8720,\"predicateItems\":[{\"matchStrategy\":1,\"pattern\":\"/sys/test/**\"}]}]', '5d897363933340ac8b80879ea34a2566', '2010-05-05 00:00:00', '2022-04-17 09:37:18', NULL, '0:0:0:0:0:0:0:1', 'D', ''); INSERT INTO `his_config_info` VALUES (23, 49, 'jeecg-gateway-degrade-rules', 'SENTINEL_GROUP', '', '[{\"app\":\"jeecg-gateway\",\"count\":0.1,\"gmtCreate\":1649948712243,\"gmtModified\":1649948712243,\"grade\":0,\"id\":1,\"ip\":\"172.31.16.1\",\"limitApp\":\"default\",\"minRequestAmount\":5,\"port\":8720,\"resource\":\"jeecg-system\",\"slowRatioThreshold\":0.1,\"statIntervalMs\":1000,\"timeWindow\":30}]', 'f14f2b6ef6126f9f44aa6506aa7c6077', '2010-05-05 00:00:00', '2022-04-17 09:37:18', NULL, '0:0:0:0:0:0:0:1', 'D', ''); INSERT INTO `his_config_info` VALUES (1, 50, 'jeecg-dev.yaml', 'DEFAULT_GROUP', '', 'spring:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: <PASSWORD> allow:\n web-stat-filter:\n enabled: true\n dynamic:\n druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)\n # 连接池的配置信息\n # 初始化大小,最小,最大\n initial-size: 5\n min-idle: 5\n maxActive: 20\n # 配置获取连接等待超时的时间\n maxWait: 60000\n # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒\n timeBetweenEvictionRunsMillis: 60000\n # 配置一个连接在池中最小生存的时间,单位是毫秒\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n # 打开PSCache,并且指定每个连接上PSCache的大小\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,\'wall\'用于防火墙\n filters: stat,wall,slf4j\n # 通过connectProperties属性来打开mergeSql功能;慢SQL记录\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n\n datasource:\n master:\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n username: root\n password: <PASSWORD> driver-class-name: com.mysql.cj.jdbc.Driver\n # 多数据源配置\n #multi-datasource1:\n #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n #username: root\n #password: <PASSWORD> #driver-class-name: com.mysql.cj.jdbc.Driver\n #redis 配置\n redis:\n database: 0\n host: jeecg-boot-redis\n lettuce:\n pool:\n max-active: 8 #最大连接数据库连接数,设 0 为没有限制\n max-idle: 8 #最大等待连接中的数量,设 0 为没有限制\n max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。\n min-idle: 0 #最小等待连接中的数量,设 0 为没有限制\n shutdown-timeout: 100ms\n password:\n port: 6379\n #rabbitmq配置\n rabbitmq:\n host: jeecg-boot-rabbitmq\n username: guest\n password: <PASSWORD> port: 5672\n publisher-confirms: true\n publisher-returns: true\n virtual-host: /\n listener:\n simple:\n acknowledge-mode: manual\n #消费者的最小数量\n concurrency: 1\n #消费者的最大数量\n max-concurrency: 1\n #是否支持重试\n retry:\n enabled: true\n#jeecg专用配置\nminidao :\n base-package: org.jeecg.modules.jmreport.*\njeecg :\n # 签名密钥串(前后端要一致,正式发布请自行修改)\n signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a\n # 本地:local\\Minio:minio\\阿里云:alioss\n uploadType: local\n path :\n #文件上传根目录 设置\n upload: /opt/upFiles\n #webapp文件路径\n webapp: /opt/webapp\n shiro:\n excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**\n #阿里云oss存储配置\n oss:\n endpoint: oss-cn-beijing.aliyuncs.com\n accessKey: ??\n secretKey: ??\n bucketName: jeecgdev\n staticDomain: ??\n # ElasticSearch 6设置\n elasticsearch:\n cluster-name: jeecg-ES\n cluster-nodes: 127.0.0.1:9200\n check-enabled: false\n # 表单设计器配置\n desform:\n # 主题颜色(仅支持 16进制颜色代码)\n theme-color: \"#1890ff\"\n # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)\n upload-type: system\n map:\n # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home\n baidu: ??\n # 在线预览文件服务器地址配置\n file-view-domain: 127.0.0.1:8012\n # minio文件上传\n minio:\n minio_url: http://minio.jeecg.com\n minio_name: ??\n minio_pass: ??\n bucketName: otatest\n #大屏报表参数设置\n jmreport:\n mode: dev\n #是否需要校验token\n is_verify_token: false\n #必须校验方法\n verify_methods: remove,delete,save,add,update\n #Wps在线文档\n wps:\n domain: https://wwo.wps.cn/office/\n appid: ??\n appsecret: ??\n #xxl-job配置\n xxljob:\n enabled: true\n adminAddresses: http://jeecg-boot-xxljob:9080/xxl-job-admin\n appname: ${spring.application.name}\n accessToken: \'\'\n logPath: logs/jeecg/job/jobhandler/\n logRetentionDays: 30\n #自定义路由配置 yml nacos database\n route:\n config:\n data-id: jeecg-gateway-router\n group: DEFAULT_GROUP\n data-type: database\n #分布式锁配置\n redisson:\n address: jeecg-boot-redis:6379\n password:\n type: STANDALONE\n enabled: true\n#Mybatis输出sql日志\nlogging:\n level:\n org.jeecg.modules.system.mapper : info\n#cas单点登录\ncas:\n prefixUrl: http://localhost:8888/cas\n#swagger\nknife4j:\n #开启生产环境屏蔽\n production: false\n basic:\n enable: false\n username: jeecg\n password: <PASSWORD>#第三方登录\njustauth:\n enabled: true\n type:\n GITHUB:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/github/callback\n WECHAT_ENTERPRISE:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/wechat_enterprise/callback\n agent-id: ??\n DINGTALK:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/dingtalk/callback\n cache:\n type: default\n prefix: \'demo::\'\n timeout: 1h\n#第三方APP对接\nthird-app:\n enabled: false\n type:\n #企业微信\n WECHAT_ENTERPRISE:\n enabled: false\n #CORP_ID\n client-id: ??\n #SECRET\n client-secret: ??\n agent-id: ??\n #自建应用秘钥(新版企微需要配置)\n # agent-app-secret: ??\n #钉钉\n DINGTALK:\n enabled: false\n # appKey\n client-id: ??\n # appSecret\n client-secret: ??\n agent-id: ??', '2c0746e66cbde68a15c8f240b00ef47a', '2010-05-05 00:00:00', '2022-04-22 09:10:12', 'nacos', '0:0:0:0:0:0:0:1', 'U', ''); INSERT INTO `his_config_info` VALUES (1, 51, 'jeecg-dev.yaml', 'DEFAULT_GROUP', '', 'spring:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: <PASSWORD> allow:\n web-stat-filter:\n enabled: true\n dynamic:\n druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)\n # 连接池的配置信息\n # 初始化大小,最小,最大\n initial-size: 5\n min-idle: 5\n maxActive: 20\n # 配置获取连接等待超时的时间\n maxWait: 60000\n # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒\n timeBetweenEvictionRunsMillis: 60000\n # 配置一个连接在池中最小生存的时间,单位是毫秒\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n # 打开PSCache,并且指定每个连接上PSCache的大小\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,\'wall\'用于防火墙\n filters: stat,wall,slf4j\n # 通过connectProperties属性来打开mergeSql功能;慢SQL记录\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n\n datasource:\n master:\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n username: root\n password: <PASSWORD> driver-class-name: com.mysql.cj.jdbc.Driver\n # 多数据源配置\n #multi-datasource1:\n #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n #username: root\n #password: <PASSWORD> #driver-class-name: com.mysql.cj.jdbc.Driver\n #redis 配置\n redis:\n database: 0\n host: jeecg-boot-redis\n lettuce:\n pool:\n max-active: 8 #最大连接数据库连接数,设 0 为没有限制\n max-idle: 8 #最大等待连接中的数量,设 0 为没有限制\n max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。\n min-idle: 0 #最小等待连接中的数量,设 0 为没有限制\n shutdown-timeout: 100ms\n password:\n port: 6379\n #rabbitmq配置\n rabbitmq:\n host: jeecg-boot-rabbitmq\n username: guest\n password: <PASSWORD> port: 5672\n publisher-confirms: true\n publisher-returns: true\n virtual-host: /\n listener:\n simple:\n acknowledge-mode: manual\n #消费者的最小数量\n concurrency: 1\n #消费者的最大数量\n max-concurrency: 1\n #是否支持重试\n retry:\n enabled: true\n#jeecg专用配置\nminidao :\n base-package: org.jeecg.modules.jmreport.*\njeecg :\n # 签名密钥串(前后端要一致,正式发布请自行修改)\n signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a\n # 本地:local\\Minio:minio\\阿里云:alioss\n uploadType: local\n path :\n #文件上传根目录 设置\n upload: /opt/upFiles\n #webapp文件路径\n webapp: /opt/webapp\n shiro:\n excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**\n #阿里云oss存储配置\n oss:\n endpoint: oss-cn-beijing.aliyuncs.com\n accessKey: ??\n secretKey: ??\n bucketName: jeecgdev\n staticDomain: ??\n # ElasticSearch 6设置\n elasticsearch:\n cluster-name: jeecg-ES\n cluster-nodes: 127.0.0.1:9200\n check-enabled: false\n # 表单设计器配置\n desform:\n # 主题颜色(仅支持 16进制颜色代码)\n theme-color: \"#1890ff\"\n # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)\n upload-type: system\n map:\n # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home\n baidu: ??\n # 在线预览文件服务器地址配置\n file-view-domain: 127.0.0.1:8012\n # minio文件上传\n minio:\n minio_url: http://minio.jeecg.com\n minio_name: ??\n minio_pass: <PASSWORD> bucketName: otatest\n #大屏报表参数设置\n jmreport:\n mode: dev\n #是否需要校验token\n is_verify_token: false\n #必须校验方法\n verify_methods: remove,delete,save,add,update\n #Wps在线文档\n wps:\n domain: https://wwo.wps.cn/office/\n appid: ??\n appsecret: ??\n #xxl-job配置\n xxljob:\n enabled: false\n adminAddresses: http://jeecg-boot-xxljob:9080/xxl-job-admin\n appname: ${spring.application.name}\n accessToken: \'\'\n logPath: logs/jeecg/job/jobhandler/\n logRetentionDays: 30\n #自定义路由配置 yml nacos database\n route:\n config:\n data-id: jeecg-gateway-router\n group: DEFAULT_GROUP\n data-type: database\n #分布式锁配置\n redisson:\n address: jeecg-boot-redis:6379\n password:\n type: STANDALONE\n enabled: true\n#Mybatis输出sql日志\nlogging:\n level:\n org.jeecg.modules.system.mapper : info\n#cas单点登录\ncas:\n prefixUrl: http://localhost:8888/cas\n#swagger\nknife4j:\n #开启生产环境屏蔽\n production: false\n basic:\n enable: false\n username: jeecg\n password: <PASSWORD>#第三方登录\njustauth:\n enabled: true\n type:\n GITHUB:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/github/callback\n WECHAT_ENTERPRISE:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/wechat_enterprise/callback\n agent-id: ??\n DINGTALK:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/dingtalk/callback\n cache:\n type: default\n prefix: \'demo::\'\n timeout: 1h\n#第三方APP对接\nthird-app:\n enabled: false\n type:\n #企业微信\n WECHAT_ENTERPRISE:\n enabled: false\n #CORP_ID\n client-id: ??\n #SECRET\n client-secret: ??\n agent-id: ??\n #自建应用秘钥(新版企微需要配置)\n # agent-app-secret: ??\n #钉钉\n DINGTALK:\n enabled: false\n # appKey\n client-id: ??\n # appSecret\n client-secret: ??\n agent-id: ??', 'd36623a8f4ca17bf79d4343b34664fea', '2010-05-05 00:00:00', '2022-04-22 09:26:37', 'nacos', '0:0:0:0:0:0:0:1', 'U', ''); INSERT INTO `his_config_info` VALUES (1, 52, 'jeecg-dev.yaml', 'DEFAULT_GROUP', '', 'spring:\n datasource:\n druid:\n stat-view-servlet:\n enabled: true\n loginUsername: admin\n loginPassword: <PASSWORD> allow:\n web-stat-filter:\n enabled: true\n dynamic:\n druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)\n # 连接池的配置信息\n # 初始化大小,最小,最大\n initial-size: 5\n min-idle: 5\n maxActive: 20\n # 配置获取连接等待超时的时间\n maxWait: 60000\n # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒\n timeBetweenEvictionRunsMillis: 60000\n # 配置一个连接在池中最小生存的时间,单位是毫秒\n minEvictableIdleTimeMillis: 300000\n validationQuery: SELECT 1 FROM DUAL\n testWhileIdle: true\n testOnBorrow: false\n testOnReturn: false\n # 打开PSCache,并且指定每个连接上PSCache的大小\n poolPreparedStatements: true\n maxPoolPreparedStatementPerConnectionSize: 20\n # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,\'wall\'用于防火墙\n filters: stat,wall,slf4j\n # 通过connectProperties属性来打开mergeSql功能;慢SQL记录\n connectionProperties: druid.stat.mergeSql\\=true;druid.stat.slowSqlMillis\\=5000\n\n datasource:\n master:\n url: jdbc:mysql://jeecg-boot-mysql:3306/jeecg-boot-os-re?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n username: root\n password: <PASSWORD> driver-class-name: com.mysql.cj.jdbc.Driver\n # 多数据源配置\n #multi-datasource1:\n #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai\n #username: root\n #password: <PASSWORD> #driver-class-name: com.mysql.cj.jdbc.Driver\n #redis 配置\n redis:\n database: 0\n host: jeecg-boot-redis\n lettuce:\n pool:\n max-active: 8 #最大连接数据库连接数,设 0 为没有限制\n max-idle: 8 #最大等待连接中的数量,设 0 为没有限制\n max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。\n min-idle: 0 #最小等待连接中的数量,设 0 为没有限制\n shutdown-timeout: 100ms\n password:\n port: 6379\n #rabbitmq配置\n rabbitmq:\n host: jeecg-boot-rabbitmq\n username: guest\n password: <PASSWORD> port: 5672\n publisher-confirms: true\n publisher-returns: true\n virtual-host: /\n listener:\n simple:\n acknowledge-mode: manual\n #消费者的最小数量\n concurrency: 1\n #消费者的最大数量\n max-concurrency: 1\n #是否支持重试\n retry:\n enabled: true\n#jeecg专用配置\nminidao :\n base-package: org.jeecg.modules.jmreport.*\njeecg :\n # 签名密钥串(前后端要一致,正式发布请自行修改)\n signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a\n # 本地:local\\Minio:minio\\阿里云:alioss\n uploadType: local\n path :\n #文件上传根目录 设置\n upload: /opt/upFiles\n #webapp文件路径\n webapp: /opt/webapp\n shiro:\n excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**\n #阿里云oss存储配置\n oss:\n endpoint: oss-cn-beijing.aliyuncs.com\n accessKey: ??\n secretKey: ??\n bucketName: jeecgdev\n staticDomain: ??\n # ElasticSearch 6设置\n elasticsearch:\n cluster-name: jeecg-ES\n cluster-nodes: 127.0.0.1:9200\n check-enabled: false\n # 表单设计器配置\n desform:\n # 主题颜色(仅支持 16进制颜色代码)\n theme-color: \"#1890ff\"\n # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)\n upload-type: system\n map:\n # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home\n baidu: ??\n # 在线预览文件服务器地址配置\n file-view-domain: 127.0.0.1:8012\n # minio文件上传\n minio:\n minio_url: http://minio.jeecg.com\n minio_name: ??\n minio_pass: ??\n bucketName: otatest\n #大屏报表参数设置\n jmreport:\n mode: dev\n #是否需要校验token\n is_verify_token: false\n #必须校验方法\n verify_methods: remove,delete,save,add,update\n #Wps在线文档\n wps:\n domain: https://wwo.wps.cn/office/\n appid: ??\n appsecret: ??\n #xxl-job配置\n xxljob:\n enabled: false\n adminAddresses: http://jeecg-boot-xxljob:9080/xxl-job-admin\n appname: ${spring.application.name}\n accessToken: \'\'\n logPath: logs/jeecg/job/jobhandler/\n logRetentionDays: 30\n #自定义路由配置 yml nacos database\n route:\n config:\n data-id: jeecg-gateway-router\n group: DEFAULT_GROUP\n data-type: database\n #分布式锁配置\n redisson:\n address: jeecg-boot-redis:6379\n password:\n type: STANDALONE\n enabled: true\n#Mybatis输出sql日志\nlogging:\n level:\n org.jeecg.modules.system.mapper : info\n#cas单点登录\ncas:\n prefixUrl: http://localhost:8888/cas\n#swagger\nknife4j:\n #开启生产环境屏蔽\n production: false\n basic:\n enable: false\n username: jeecg\n password: <PASSWORD>4\n\n#第三方登录\njustauth:\n enabled: true\n type:\n GITHUB:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/github/callback\n WECHAT_ENTERPRISE:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/wechat_enterprise/callback\n agent-id: ??\n DINGTALK:\n client-id: ??\n client-secret: ??\n redirect-uri: http://sso.test.com:8080/jeecg-boot/thirdLogin/dingtalk/callback\n cache:\n type: default\n prefix: \'demo::\'\n timeout: 1h\n#第三方APP对接\nthird-app:\n enabled: false\n type:\n #企业微信\n WECHAT_ENTERPRISE:\n enabled: false\n #CORP_ID\n client-id: ??\n #SECRET\n client-secret: ??\n agent-id: ??\n #自建应用秘钥(新版企微需要配置)\n # agent-app-secret: ??\n #钉钉\n DINGTALK:\n enabled: false\n # appKey\n client-id: ??\n # appSecret\n client-secret: ??\n agent-id: ??', '4b7743e8f3db343209230ef3c84271b3', '2010-05-05 00:00:00', '2022-04-22 10:49:28', 'nacos', '0:0:0:0:0:0:0:1', 'U', ''); -- ---------------------------- -- Table structure for permissions -- ---------------------------- DROP TABLE IF EXISTS `permissions`; CREATE TABLE `permissions` ( `role` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, `resource` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, `action` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, UNIQUE INDEX `uk_role_permission`(`role`, `resource`, `action`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Table structure for roles -- ---------------------------- DROP TABLE IF EXISTS `roles`; CREATE TABLE `roles` ( `username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, `role` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, UNIQUE INDEX `uk_username_role`(`username`, `role`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of roles -- ---------------------------- INSERT INTO `roles` VALUES ('nacos', 'ROLE_ADMIN'); -- ---------------------------- -- Table structure for tenant_capacity -- ---------------------------- DROP TABLE IF EXISTS `tenant_capacity`; CREATE TABLE `tenant_capacity` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键ID', `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'Tenant ID', `quota` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '配额,0表示使用默认值', `usage` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '使用量', `max_size` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个配置大小上限,单位为字节,0表示使用默认值', `max_aggr_count` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '聚合子配置最大个数', `max_aggr_size` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '单个聚合数据的子配置大小上限,单位为字节,0表示使用默认值', `max_history_count` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最大变更历史数量', `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间', `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间', PRIMARY KEY (`id`) USING BTREE, UNIQUE INDEX `uk_tenant_id`(`tenant_id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '租户容量信息表' ROW_FORMAT = Dynamic; -- ---------------------------- -- Table structure for tenant_info -- ---------------------------- DROP TABLE IF EXISTS `tenant_info`; CREATE TABLE `tenant_info` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id', `kp` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'kp', `tenant_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT 'tenant_id', `tenant_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '' COMMENT 'tenant_name', `tenant_desc` varchar(256) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'tenant_desc', `create_source` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT 'create_source', `gmt_create` bigint(20) NOT NULL COMMENT '创建时间', `gmt_modified` bigint(20) NOT NULL COMMENT '修改时间', PRIMARY KEY (`id`) USING BTREE, UNIQUE INDEX `uk_tenant_info_kptenantid`(`kp`, `tenant_id`) USING BTREE, INDEX `idx_tenant_id`(`tenant_id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = 'tenant_info' ROW_FORMAT = Dynamic; -- ---------------------------- -- Table structure for users -- ---------------------------- DROP TABLE IF EXISTS `users`; CREATE TABLE `users` ( `username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, `password` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, `enabled` tinyint(1) NOT NULL, PRIMARY KEY (`username`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of users -- ---------------------------- INSERT INTO `users` VALUES ('nacos', '$2a$10$EuWPZHzz32dJN7jexM34MOeYirDdFAZm2kuWj7VEOJhhZkDrxfvUu', 1); SET FOREIGN_KEY_CHECKS = 1;
<reponame>ChenShuai1981/flink-sql-submit<gh_stars>0 -- 使用 TableEnvironment -- source CREATE TABLE player_source ( player_id BIGINT, team_id BIGINT, player_name VARCHAR, height DOUBLE ) WITH ( 'connector.type' = 'filesystem', 'connector.path' = 'file:///Users/chenshuai1/github/flink-sql-submit/src/main/resources/player.csv', 'format.type' = 'csv', 'format.fields.0.name' = 'player_id', 'format.fields.0.type' = 'BIGINT', 'format.fields.1.name' = 'team_id', 'format.fields.1.type' = 'BIGINT', 'format.fields.2.name' = 'player_name', 'format.fields.2.type' = 'VARCHAR', 'format.fields.3.name' = 'height', 'format.fields.3.type' = 'DOUBLE', 'format.field-delimiter' = ',', 'format.ignore-first-line' = 'true' ); -- sink CREATE TABLE player_sink ( player_id BIGINT, team_id BIGINT, player_name VARCHAR, height DOUBLE ) WITH ( 'connector.type' = 'kafka', 'connector.version' = 'universal', 'connector.topic' = 'player', 'connector.startup-mode' = 'earliest-offset', 'connector.properties.0.key' = 'zookeeper.connect', 'connector.properties.0.value' = 'localhost:2181', 'connector.properties.1.key' = 'bootstrap.servers', 'connector.properties.1.value' = 'localhost:9092', 'connector.properties.2.key' = 'group.id', 'connector.properties.2.value' = 'testGroup', 'update-mode' = 'append', 'format.type' = 'json', 'format.json-schema' = -- or by using a JSON schema which parses to DECIMAL and TIMESTAMP '{ "type": "object", "properties": { "player_id": { "type": "number" }, "team_id": { "type": "number" }, "player_name": { "type": "string" }, "height": { "type": "number" } } }' ); INSERT INTO player_sink SELECT player_id, team_id, player_name, height FROM player_source;
SELECT catcheffort.fishery, catcheffort.gridresolution, catcheffort.rfmo, catcheffort.effort_units, catcheffort.catch_units, catcheffort.cpue_units, catcheffort.dates, catcheffort.lat, catcheffort.lon, catcheffort.effort, catcheffort.species, catcheffort.catch, catcheffort.cpue, st_makepoint(catcheffort.lon, catcheffort.lat) AS geom FROM catcheffort WHERE catcheffort.species::text = ANY (ARRAY['BSG'::character varying::text, 'CCL'::character varying::text, 'FAL'::character varying::text, 'MAK'::character varying::text, 'OCS'::character varying::text, 'POR'::character varying::text, 'SMA'::character varying::text, 'SPL'::character varying::text, 'SPZ'::character varying::text, 'THR'::character varying::text]) ORDER BY catcheffort.fishery, catcheffort.gridresolution, catcheffort.rfmo, catcheffort.effort_units, catcheffort.catch_units, catcheffort.cpue_units, catcheffort.dates, catcheffort.lat, catcheffort.lon, catcheffort.species;
-- SPDX-License-Identifier: Apache-2.0 -- Licensed to the Ed-Fi Alliance under one or more agreements. -- The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. -- See the LICENSE and NOTICES files in the project root for more information. do $$ declare appId int; declare relationshipBasedDataResourceClaimId int; begin SELECT ApplicationId into appId FROM dbo.Applications WHERE ApplicationName = 'Ed-Fi ODS API'; SELECT ResourceClaimId into relationshipBasedDataResourceClaimId FROM dbo.ResourceClaims WHERE ResourceName = 'relationshipBasedData'; INSERT INTO dbo.ResourceClaims ( DisplayName ,ResourceName ,ClaimName ,ParentResourceClaimId ,Application_ApplicationId ) VALUES ( 'studentTransportation' , 'studentTransportation' , 'http://ed-fi.org/ods/identity/claims/sample-student-transportation/studentTransportation' , relationshipBasedDataResourceClaimId , appId ); end $$
/****** Object: Rule [booleanRule2] Script Date: 1/1/2017 12:00:00 AM ******/ -- comment CREATE RULE booleanRule2 as @booleanValue in (1, 0) GO
<gh_stars>100-1000 select foo, bar from baz limit 7 offset 42
<reponame>digitalsatori/narrows CREATE TABLE narration_exports (id integer AUTO_INCREMENT PRIMARY KEY, character_id integer, token varchar(128), created timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, FOREIGN KEY (character_id) REFERENCES characters(id)) DEFAULT CHARSET=utf8;
<filename>openGaussBase/testcase/KEYWORDS/numstr/Opengauss_Function_Keyword_Numstr_Case0029.sql -- @testpoint:opengauss关键字numstr(非保留),作为表空间名 --关键字不带引号,创建成功 drop tablespace if exists numstr; CREATE TABLESPACE numstr RELATIVE LOCATION 'hdfs_tablespace/hdfs_tablespace_1'; drop tablespace numstr; --关键字带双引号,创建成功 drop tablespace if exists "numstr"; CREATE TABLESPACE "numstr" RELATIVE LOCATION 'hdfs_tablespace/hdfs_tablespace_1'; drop tablespace "numstr"; --关键字带单引号,合理报错 drop tablespace if exists 'numstr'; CREATE TABLESPACE 'numstr' RELATIVE LOCATION 'hdfs_tablespace/hdfs_tablespace_1'; --关键字带反引号,合理报错 drop tablespace if exists `numstr`; CREATE TABLESPACE `numstr` RELATIVE LOCATION 'hdfs_tablespace/hdfs_tablespace_1';
-- Table: messages insert into messages values (1,1,'Important: free sex','Call 054638749 NOW!'); insert into messages values (2,2,null,'Kthxbye');
<reponame>yuting1214/Leetcode_Database # Solution select name, bonus from Employee e left join Bonus b on e.empId = b.empId where b.bonus < 1000 or b.bonus is null
<reponame>suxstellino/events<filename>2015/SQLSat462 - Parma/src/db/04 - unsupported.sql USE Samples; GO IF EXISTS(SELECT 1 FROM sys.tables WHERE name = 'CLRTypes') DROP TABLE dbo.CLRTypes; GO CREATE TABLE dbo.CLRTypes ( Id hierarchyid PRIMARY KEY, value xml, geo geography ); GO DECLARE @root hierarchyid = hierarchyid::GetRoot(); DECLARE @id hierarchyid; DECLARE @xml xml = (SELECT FirstName, LastName FROM dbo.Users FOR XML AUTO); DECLARE @g geography; INSERT INTO CLRTypes (id, value, geo) VALUES (@root, @xml, @g); SET @id = @root.GetDescendant(null, null); INSERT INTO CLRTypes (id, value, geo) VALUES (@id, @xml, @g); -- CLR - supported USE Samples; GO SELECT id, value FROM CLRTypes FOR JSON AUTO; GO -- CLR - unsupported USE Samples; GO SELECT geo FROM CLRTypes FOR JSON AUTO; GO -- SELECT INTO - unsupported USE Samples; GO SELECT FirstName, LastName INTO temp FROM dbo.Users FOR JSON AUTO; GO SELECT * FROM temp; GO -- ALIASES USE Samples; GO SELECT 1, 'ciao' FOR JSON PATH; GO USE Samples; GO SELECT 1, 'ciao' FOR JSON AUTO; GO
-- CreateTable CREATE TABLE `Policy` ( `id` INTEGER NOT NULL AUTO_INCREMENT, `title` VARCHAR(191) NOT NULL, `contents` TEXT NOT NULL, `createdAt` DATETIME(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3), `updatedAt` DATETIME(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3), UNIQUE INDEX `Policy_title_key`(`title`), PRIMARY KEY (`id`) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
-- phpMyAdmin SQL Dump -- version 4.7.0 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: 2018-05-01 08:41:12 -- 服务器版本: 10.1.25-MariaDB -- PHP Version: 5.6.31 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: `codefoo2019-articles` -- -- -------------------------------------------------------- CREATE TABLE `articles` ( `content_id` varchar(200) NOT NULL, -- `content_type` ENUM('video', 'article') NOT NULL, `title` varchar(200), `headline` varchar(200), `description` varchar(1000), `publish_date` datetime, `slug` varchar(200) NOT NULL, -- `state` ENUM('published', 'archived', 'draft') NOT NULL, `duration` tinyint(10) NOT NULL DEFAULT '0', `video_series` varchar(200), `author_1` varchar(200) NOT NULL, `author_2` varchar(200), `tag_1` varchar(200), `tag_2` varchar(200), `tag_3` varchar(200), `thumbnail_1_URL` varchar(300) NOT NULL, -- `thumbnail_1_size` ENUM('compact', 'medium', 'large') NOT NULL, `thumbnail_1_width` tinyint(10) NOT NULL DEFAULT '0', `thumbnail_1_height` tinyint(10) NOT NULL DEFAULT '0', `thumbnail_2_URL` varchar(300), -- `thumbnail_2_size` ENUM('compact', 'medium', 'large'), `thumbnail_2_width` tinyint(10), `thumbnail_2_height` tinyint(10), -- `thumbnail_3_URL` varchar(300), -- `thumbnail_3_size` ENUM('compact', 'medium', 'large'), `thumbnail_3_width` tinyint(10), `thumbnail_3_height` tinyint(10), PRIMARY KEY (`content_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO `articles` (`content_id`, `slug`, `duration`, `author_1`, `thumbnail_1_URL`) VALUES ('alsdkamdlkas', 'kylin', 1000, 'jack', 'http:exmaple.com'); /*!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 */;
-- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Servidor: 127.0.0.1:3306 -- Tiempo de generación: 17-07-2019 a las 21:42:59 -- Versión del servidor: 5.7.26 -- Versión de PHP: 7.2.18 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 */; -- -- Base de datos: `disenio2` -- DELIMITER $$ -- -- Procedimientos -- DROP PROCEDURE IF EXISTS `INSERT_COTIZACION`$$ CREATE DEFINER=`root`@`localhost` PROCEDURE `INSERT_COTIZACION` (IN `v_id_pedido` INT, IN `v_id_proveedor` INT) BEGIN SELECT @fecha := CAST(NOW() AS CHAR); INSERT INTO `cotizacion`( `id_pedido`, `id_proveedor`, `fecha_cotizacion` ) VALUES ( v_id_pedido, v_id_proveedor, @fecha ); END$$ DROP PROCEDURE IF EXISTS `INSERT_DET_COTIZACION`$$ CREATE DEFINER=`root`@`localhost` PROCEDURE `INSERT_DET_COTIZACION` (IN `v_id_cotizacion` INT, IN `v_id_insumo` INT, IN `v_cantidad` INT, IN `v_pu` VARCHAR(255), IN `v_valoracion` VARCHAR(255)) BEGIN INSERT INTO `cotizacion_detalle`( `id_cotizacion`, `insumo_id`, `cant_total`, `pu`, `valoracion` ) VALUES ( v_id_cotizacion, v_id_insumo, v_pu, v_valoracion ); END$$ DROP PROCEDURE IF EXISTS `UPDATE_COTIZACION`$$ CREATE DEFINER=`root`@`localhost` PROCEDURE `UPDATE_COTIZACION` (IN `v_id_cotizacion` INT) BEGIN SELECT @v_precio := SUM(CAST(`pu` AS SIGNED)*CAST(`cant_total` AS SIGNED)) FROM `cotizacion_detalle` WHERE `id_cotizacion` = v_id_cotizacion; SELECT @v_puntuacion := SUM(CAST(`valoracion` AS SIGNED)*`cant_total`) FROM `cotizacion_detallae` WHERE `id_cotizacion` = v_id_cotizacion; UPDATE `cotizacion` SET `puntuacion` = @v_puntuacion, `precio` = @v_precio WHERE `id` = v_id_cotizacion; END$$ DELIMITER ; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `categories` -- DROP TABLE IF EXISTS `categories`; CREATE TABLE IF NOT EXISTS `categories` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(255) NOT NULL, `active` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `categories` -- INSERT INTO `categories` (`id`, `nombre`, `active`) VALUES (1, 'Barras', 1), (2, 'Llaves', 1), (3, 'Perfiles', 1), (4, 'Forjados', 1), (5, 'Válvulas', 1), (6, 'Portaválvulas', 1), (7, 'Maquinados', 1); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `company` -- DROP TABLE IF EXISTS `company`; CREATE TABLE IF NOT EXISTS `company` ( `id` int(11) NOT NULL AUTO_INCREMENT, `company_name` varchar(255) NOT NULL, `service_charge_value` varchar(255) NOT NULL, `vat_charge_value` varchar(255) NOT NULL, `address` varchar(255) NOT NULL, `phone` varchar(255) NOT NULL, `country` varchar(255) NOT NULL, `message` text NOT NULL, `currency` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `company` -- INSERT INTO `company` (`id`, `company_name`, `service_charge_value`, `vat_charge_value`, `address`, `phone`, `country`, `message`, `currency`) VALUES (1, 'nombre', '', '18', 'doreccopm', '12312321', 'pais', 'holi', '5'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `cotizacion` -- DROP TABLE IF EXISTS `cotizacion`; CREATE TABLE IF NOT EXISTS `cotizacion` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_pedido` int(11) NOT NULL, `id_proveedor` int(11) NOT NULL, `fecha_cotizacion` varchar(255) NOT NULL, `puntuacion` varchar(255) NOT NULL, `precio` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `cotizacion` -- INSERT INTO `cotizacion` (`id`, `id_pedido`, `id_proveedor`, `fecha_cotizacion`, `puntuacion`, `precio`) VALUES (36, 8, 1, '', '', ''), (37, 8, 2, '', '', ''), (38, 8, 3, '', '', ''); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `cotizacion_detalle` -- DROP TABLE IF EXISTS `cotizacion_detalle`; CREATE TABLE IF NOT EXISTS `cotizacion_detalle` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_cotizacion` int(11) NOT NULL, `insumo_id` int(11) NOT NULL, `cant_total` varchar(255) NOT NULL, `pu` varchar(255) NOT NULL, `valoracion` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `groups` -- DROP TABLE IF EXISTS `groups`; CREATE TABLE IF NOT EXISTS `groups` ( `id` int(11) NOT NULL AUTO_INCREMENT, `group_name` varchar(255) NOT NULL, `permission` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `groups` -- INSERT INTO `groups` (`id`, `group_name`, `permission`) VALUES (1, 'Administrator', 'a:36:{i:0;s:10:\"createUser\";i:1;s:10:\"updateUser\";i:2;s:8:\"viewUser\";i:3;s:10:\"deleteUser\";i:4;s:11:\"createGroup\";i:5;s:11:\"updateGroup\";i:6;s:9:\"viewGroup\";i:7;s:11:\"deleteGroup\";i:8;s:11:\"createBrand\";i:9;s:11:\"updateBrand\";i:10;s:9:\"viewBrand\";i:11;s:11:\"deleteBrand\";i:12;s:14:\"createCategory\";i:13;s:14:\"updateCategory\";i:14;s:12:\"viewCategory\";i:15;s:14:\"deleteCategory\";i:16;s:11:\"createStore\";i:17;s:11:\"updateStore\";i:18;s:9:\"viewStore\";i:19;s:11:\"deleteStore\";i:20;s:15:\"createAttribute\";i:21;s:15:\"updateAttribute\";i:22;s:13:\"viewAttribute\";i:23;s:15:\"deleteAttribute\";i:24;s:13:\"createProduct\";i:25;s:13:\"updateProduct\";i:26;s:11:\"viewProduct\";i:27;s:13:\"deleteProduct\";i:28;s:11:\"createOrder\";i:29;s:11:\"updateOrder\";i:30;s:9:\"viewOrder\";i:31;s:11:\"deleteOrder\";i:32;s:11:\"viewReports\";i:33;s:13:\"updateCompany\";i:34;s:11:\"viewProfile\";i:35;s:13:\"updateSetting\";}'), (2, 'Administrador', 'a:24:{i:0;s:10:\"createUser\";i:1;s:10:\"updateUser\";i:2;s:8:\"viewUser\";i:3;s:10:\"deleteUser\";i:4;s:11:\"createGroup\";i:5;s:11:\"updateGroup\";i:6;s:9:\"viewGroup\";i:7;s:11:\"deleteGroup\";i:8;s:14:\"createCategory\";i:9;s:14:\"updateCategory\";i:10;s:12:\"viewCategory\";i:11;s:14:\"deleteCategory\";i:12;s:13:\"createProduct\";i:13;s:13:\"updateProduct\";i:14;s:11:\"viewProduct\";i:15;s:13:\"deleteProduct\";i:16;s:11:\"createOrder\";i:17;s:11:\"updateOrder\";i:18;s:9:\"viewOrder\";i:19;s:11:\"deleteOrder\";i:20;s:11:\"viewReports\";i:21;s:13:\"updateCompany\";i:22;s:11:\"viewProfile\";i:23;s:13:\"updateSetting\";}'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `insumos` -- DROP TABLE IF EXISTS `insumos`; CREATE TABLE IF NOT EXISTS `insumos` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(255) NOT NULL, `cantidad` int(11) NOT NULL, `unidad_medida` varchar(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `insumos` -- INSERT INTO `insumos` (`id`, `nombre`, `cantidad`, `unidad_medida`) VALUES (1, 'insumo1', 2, 'kg'), (2, 'insumo2', 20, 'kg'), (3, 'insumo3', 62, 'kg'), (4, 'insumo4', 58, 'gr'), (5, 'insumo5', 0, 'lt'), (6, 'insumo6', 7, 'u'), (7, 'insumo7', 0, 'u'), (8, 'insumo8', 0, 'kg'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `insumo_proveedor` -- DROP TABLE IF EXISTS `insumo_proveedor`; CREATE TABLE IF NOT EXISTS `insumo_proveedor` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_proveedor` int(11) NOT NULL, `id_insumo` int(11) NOT NULL, `precio_unitario` varchar(255) NOT NULL, `valoracion` int(1) NOT NULL, PRIMARY KEY (`id`), KEY `id_proveedor` (`id_proveedor`), KEY `id_insumo` (`id_insumo`) ) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `insumo_proveedor` -- INSERT INTO `insumo_proveedor` (`id`, `id_proveedor`, `id_insumo`, `precio_unitario`, `valoracion`) VALUES (1, 1, 1, '5', 3), (2, 1, 2, '5', 3), (3, 1, 3, '5.8', 5), (4, 1, 4, '5', 4), (5, 1, 5, '7', 3), (6, 1, 6, '3', 3), (7, 1, 7, '5', 4), (8, 1, 8, '4', 3), (9, 2, 1, '5.4', 3), (10, 2, 2, '5.1', 3), (11, 2, 3, '5', 5), (12, 2, 4, '5', 4), (13, 2, 5, '6.8', 3), (14, 2, 6, '3.2', 3), (15, 2, 7, '4', 4), (16, 2, 8, '3', 3), (17, 3, 1, '5.6', 3), (18, 4, 2, '6', 3), (19, 3, 3, '6.8', 5), (20, 4, 4, '5', 4), (21, 3, 5, '7.3', 3), (22, 3, 6, '3.5', 3), (23, 3, 7, '5.7', 4), (24, 3, 8, '4.9', 3); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `orders` -- DROP TABLE IF EXISTS `orders`; CREATE TABLE IF NOT EXISTS `orders` ( `id` int(11) NOT NULL AUTO_INCREMENT, `bill_no` varchar(255) NOT NULL, `id_mesa` int(11) NOT NULL, `estado_orden` int(11) NOT NULL, `customer_name` varchar(255) NOT NULL, `customer_address` varchar(255) NOT NULL, `customer_phone` varchar(255) NOT NULL, `date_time` varchar(255) NOT NULL, `gross_amount` varchar(255) NOT NULL, `service_charge_rate` varchar(255) NOT NULL, `service_charge` varchar(255) NOT NULL, `vat_charge_rate` varchar(255) NOT NULL, `vat_charge` varchar(255) NOT NULL, `net_amount` varchar(255) NOT NULL, `discount` varchar(255) NOT NULL, `paid_status` int(11) NOT NULL, `user_id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `orders` -- INSERT INTO `orders` (`id`, `bill_no`, `id_mesa`, `estado_orden`, `customer_name`, `customer_address`, `customer_phone`, `date_time`, `gross_amount`, `service_charge_rate`, `service_charge`, `vat_charge_rate`, `vat_charge`, `net_amount`, `discount`, `paid_status`, `user_id`) VALUES (2, 'FISI-A8C5', 5, 0, 'aa', 'aa', 'aa', '1562160362', 'NaN', '', '0', '', '0', 'NaN', '', 2, 1); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `orders_item` -- DROP TABLE IF EXISTS `orders_item`; CREATE TABLE IF NOT EXISTS `orders_item` ( `id` int(11) NOT NULL AUTO_INCREMENT, `order_id` int(11) NOT NULL, `product_id` int(11) NOT NULL, `qty` varchar(255) NOT NULL, `rate` varchar(255) NOT NULL, `amount` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `orders_item` -- INSERT INTO `orders_item` (`id`, `order_id`, `product_id`, `qty`, `rate`, `amount`) VALUES (5, 31, 2, '1', '', ''), (6, 31, 3, '3', '', ''); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `pedidos` -- DROP TABLE IF EXISTS `pedidos`; CREATE TABLE IF NOT EXISTS `pedidos` ( `id` int(11) NOT NULL AUTO_INCREMENT, `codPedido` varchar(255) NOT NULL, `fecha` varchar(255) NOT NULL, `nombre_cli` varchar(255) NOT NULL, `direccion_cli` varchar(255) NOT NULL, `telefono_cli` varchar(255) NOT NULL, `ruc_cli` varchar(255) NOT NULL, `estado_pedido` int(11) NOT NULL, `estado_pago` int(11) NOT NULL, `cant_bruta` varchar(255) NOT NULL, `descuento` varchar(255) NOT NULL, `cant_neta` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `pedidos` -- INSERT INTO `pedidos` (`id`, `codPedido`, `fecha`, `nombre_cli`, `direccion_cli`, `telefono_cli`, `ruc_cli`, `estado_pedido`, `estado_pago`, `cant_bruta`, `descuento`, `cant_neta`) VALUES (7, 'FISI-PED-1BD8', '1563361139', 'cli4', '', '', '', 0, 0, '4.24', '', '5.00'), (8, 'FISI-PED-7880', '1563364095', 'Aaaaa', 'Aaaaaa', 'Bbbbbb', '1232132', 3, 0, '98.00', '10', '105.64'), (9, 'FISI-PED-4416', '1563390182', 'aa', '', '', '', 0, 0, '5.23', '', '6.17'), (10, 'FISI-PED-AB99', '1563390189', 'ss', 'ss', '', '', 0, 0, '5.23', '', '6.17'), (11, 'FISI-PED-9D40', '1563390198', 'ssda', '', '', '', 0, 0, '3.15', '', '3.72'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `pedidos_item` -- DROP TABLE IF EXISTS `pedidos_item`; CREATE TABLE IF NOT EXISTS `pedidos_item` ( `id` int(11) NOT NULL AUTO_INCREMENT, `pedido_id` int(11) NOT NULL, `producto_id` int(11) NOT NULL, `cantidad` varchar(255) NOT NULL, `pu` int(11) NOT NULL, `monto` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `pedidos_item` -- INSERT INTO `pedidos_item` (`id`, `pedido_id`, `producto_id`, `cantidad`, `pu`, `monto`) VALUES (11, 7, 122, '1', 4, 4), (29, 8, 121, '6', 3, 18), (30, 8, 122, '20', 4, 80), (31, 9, 123, '1', 5, 5), (32, 10, 123, '1', 5, 5), (33, 11, 121, '1', 3, 3); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `productosnew` -- DROP TABLE IF EXISTS `productosnew`; CREATE TABLE IF NOT EXISTS `productosnew` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(255) NOT NULL, `category_id` text NOT NULL, `material` varchar(255) DEFAULT NULL, `unidad_medida` varchar(255) NOT NULL, `descripcion` varchar(255) DEFAULT NULL, `image` text NOT NULL, `precio_unitario` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=126 DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `productosnew` -- INSERT INTO `productosnew` (`id`, `nombre`, `category_id`, `material`, `unidad_medida`, `descripcion`, `image`, `precio_unitario`) VALUES (91, 'eeeddddd', '1', '1', '1', 'edddd', 'assets/images/product_image/5d2ba1bec4227.jpg', ''), (109, 'Barra redonde para forja', '1', '1', '0', '', 'assets/images/product_image/defecto.jpg', '3.10'), (110, '<NAME>', '2', '1', '0', '', 'assets/images/product_image/defecto.jpg', '0.25'), (111, 'American Motors', '2', '1', '0', '', 'assets/images/product_image/defecto.jpg', '0.31'), (112, 'BMW', '2', '1', '0', '', 'assets/images/product_image/defecto.jpg', '1.09'), (113, 'Caterpillar', '2', '1', '0', '', 'assets/images/product_image/defecto.jpg', '2.3'), (114, 'Trefilado hexagonal y redonda', '3', '1', '0', '', 'assets/images/product_image/defecto.jpg', '2.3'), (115, 'Blindado candado', '3', '1', '0', '', 'assets/images/product_image/defecto.jpg', '3.02'), (116, 'Tirador', '3', '1', '0', '', 'assets/images/product_image/defecto.jpg', '2.0'), (117, 'Tee', '4', '1', '0', '', 'assets/images/product_image/defecto.jpg', '3.09'), (118, 'Codos', '4', '1', '0', '', 'assets/images/product_image/defecto.jpg', '5.58'), (119, 'Robinetes', '4', '1', '0', '', 'assets/images/product_image/defecto.jpg', '5.08'), (120, 'Esparcellamas', '4', '1', '0', '', 'assets/images/product_image/defecto.jpg', '4.12'), (121, 'Premium', '5', '1', '0', '', 'assets/images/product_image/defecto.jpg', '3.15'), (122, 'Portaválvulas', '6', '1', '0', '', 'assets/images/product_image/defecto.jpg', '4.24'), (123, 'Peritas', '2', '1', '2', 'lkk', 'assets/images/product_image/defecto.jpg', '5.23'), (125, 'sa', '1', '1', '0', '', 'assets/images/product_image/defecto.jpg', '333'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `producto_insumo` -- DROP TABLE IF EXISTS `producto_insumo`; CREATE TABLE IF NOT EXISTS `producto_insumo` ( `id` int(11) NOT NULL AUTO_INCREMENT, `producto_id` int(11) NOT NULL, `insumo_id` int(11) NOT NULL, `cantidad` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=96 DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `producto_insumo` -- INSERT INTO `producto_insumo` (`id`, `producto_id`, `insumo_id`, `cantidad`) VALUES (57, 94, 3, '1'), (58, 95, 5, '2'), (59, 95, 3, '2'), (60, 96, 7, '2'), (61, 96, 4, '2'), (62, 100, 7, '3'), (63, 100, 3, '3'), (64, 104, 4, '4'), (65, 104, 3, '3'), (66, 107, 4, '1'), (67, 108, 2, '1'), (68, 109, 1, '2'), (69, 109, 3, '1'), (70, 110, 4, '3'), (71, 110, 2, '1'), (72, 111, 5, '1'), (73, 111, 2, '2'), (74, 112, 5, '1'), (75, 112, 3, '1'), (76, 113, 4, '1'), (77, 114, 5, '1'), (78, 114, 2, '2'), (79, 115, 5, '1'), (80, 115, 1, '2'), (81, 116, 2, '2'), (82, 116, 4, '5'), (83, 117, 3, '3'), (84, 118, 4, '1'), (85, 119, 4, '3'), (86, 120, 2, '4'), (87, 121, 3, '1'), (88, 122, 3, '3'), (89, 122, 2, '2'), (90, 123, 3, '4'), (91, 123, 2, '1'), (92, 124, 4, '2'), (93, 124, 2, '2'), (94, 125, 3, '2'), (95, 125, 6, '13'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `products` -- DROP TABLE IF EXISTS `products`; CREATE TABLE IF NOT EXISTS `products` ( `id` int(11) NOT NULL AUTO_INCREMENT, `category_id` int(11) NOT NULL, `proveedor_id` int(11) NOT NULL, `name` varchar(255) NOT NULL, `material` varchar(255) DEFAULT NULL, `unidad_medida` varchar(255) NOT NULL, `descripcion` varchar(255) DEFAULT NULL, `price` varchar(255) NOT NULL, `qty` varchar(255) NOT NULL, `image` text NOT NULL, `description` text NOT NULL, PRIMARY KEY (`id`), KEY `category_id` (`category_id`), KEY `proveedor_id` (`proveedor_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `proveedores` -- DROP TABLE IF EXISTS `proveedores`; CREATE TABLE IF NOT EXISTS `proveedores` ( `id` int(11) NOT NULL AUTO_INCREMENT, `razon_social` varchar(255) DEFAULT NULL, `ruc` varchar(255) NOT NULL, `direccion` varchar(255) DEFAULT NULL, `tipo_proveedor` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `proveedores` -- INSERT INTO `proveedores` (`id`, `razon_social`, `ruc`, `direccion`, `tipo_proveedor`) VALUES (1, '<NAME>', '20415721677', 'Avenida Colonial 560', '1'), (2, 'Mecanica Industrial Lira', '20190143806', 'Calle Huarán 149 - 151 . Urb.27 de Abril', '1'), (3, 'Dincorsa', '20165016115', 'Cal<NAME> 544', '1'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `users` -- DROP TABLE IF EXISTS `users`; CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `firstname` varchar(255) NOT NULL, `lastname` varchar(255) NOT NULL, `phone` varchar(255) NOT NULL, `gender` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `users` -- INSERT INTO `users` (`id`, `username`, `password`, `email`, `firstname`, `lastname`, `phone`, `gender`) VALUES (1, '<EMAIL>', '$2y$10$yfi5nUQGXUZtMdl27dWAyOd/jMOmATBpiUvJDmUu9hJ5Ro6BE5wsK', '<EMAIL>', 'john', 'doe', '<PASSWORD>', 1), (2, 'Nataly', '$2y$10$44zFjWQ3fICYE3rlwPvIyen/wY.esf1kaPIzXxHTtBfLK0PED0g7K', '<EMAIL>', 'Nataly', 'Vasquez', '934495673', 2), (3, 'jackore', '$2y$10$JGnF4Soh3rl.KRTlF2nwi.6vtAwKdKnecLY5SNLuX.1x7QpG5B4hO', '<EMAIL>', 'jack', 'ore', '966199155', 1); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `user_group` -- DROP TABLE IF EXISTS `user_group`; CREATE TABLE IF NOT EXISTS `user_group` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `group_id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `user_group` -- INSERT INTO `user_group` (`id`, `user_id`, `group_id`) VALUES (1, 1, 1), (2, 2, 2), (3, 3, 2); -- -- Restricciones para tablas volcadas -- -- -- Filtros para la tabla `products` -- ALTER TABLE `products` ADD CONSTRAINT `products_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`), ADD CONSTRAINT `products_ibfk_2` FOREIGN KEY (`proveedor_id`) REFERENCES `proveedores` (`id`); 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 */;
DROP DATABASE IF EXISTS pokemon_db; CREATE DATABASE pokemon_db; USE pokemon_db; CREATE TABLE pokemon ( id INT NOT NULL AUTO_INCREMENT, pokemon_id INT NOT NULL, pokemon_name VARCHAR(255), pokemon_nickName VARCHAR(255), pokemon_front_sprite_url VARCHAR(255) NOT NULL, appeared BOOLEAN DEFAULT false, caught BOOLEAN DEFAULT false, PRIMARY KEY(id) )
<reponame>krasiymihajlov/Soft-Uni-practices SELECT * FROM Towns ORDER BY Name SELECT * FROM Departments ORDER BY Name SELECT * FROM Employees ORDER BY Salary DESC
create table if not exists clients( id varchar(100) primary key, first_name varchar(200), last_name varchar(200), login varchar(100), chat_id varchar(100), active boolean );
set echo on set timing on set time on set lines 200 set pages 5000 set serveroutput on EXEC DBMS_SESSION.set_identifier('backoffice'); select a.spid from v$process a, v$session b where a.addr = b.paddr and b.audsid = userenv('sessionid') / show parameter timed_statistics; alter session set timed_Statistics=true; show parameter timed_statistics; --alter session set sql_trace=true; alter session set events '10046 TRACE NAME CONTEXT FOREVER, LEVEL 12'; -- now execute query -- --then go to udump dir and look for trace file with the matching oraSPID.trc file. -- --and run eg C:\>tkprof c:\oracle\diag\rdbms\ultdb6\raceall\trace\raceall_ora_53784.trc c:\\oracle\diag\rdbms\ultdb6\raceall\trace\tk.txt sys=no -- --use sys=no to suppress the tracing of recursive system statements -- --your trace file will appear in report.txt -- -- -- -- --If you want to turn on sql_trace on system (instance) level, you need put --sql_trace = true in the init.ora file and bounce the database.
-- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Servidor: 127.0.0.1 -- Tiempo de generación: 19-03-2020 a las 19:49:46 -- Versión del servidor: 10.3.16-MariaDB -- Versión de PHP: 7.3.7 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 */; -- -- Base de datos: `cardiocentro_manta` -- -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `area` -- CREATE TABLE `area` ( `Id_Area` int(11) NOT NULL, `Descripcion` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `area` -- INSERT INTO `area` (`Id_Area`, `Descripcion`) VALUES (23, 'ADMINISTRACIÓN'), (24, 'ANESTESIOLOGÍA'), (25, 'CARDIOLOGÍA INTERVENCIONISTA'), (26, 'CIRUGÍA CARDIOVASCULAR'), (27, 'CIRUGÍA VASCULAR E INTERVENCIONISTA'), (28, 'CARDIOLOGÍA CLÍNICA'), (29, 'CIRUGÍA VASCULAR'), (30, 'ELECTROCARDIOGRAMA'), (31, 'TICS'), (39, 'TECNOLOGÍA'), (40, 'ENFERMERÍA'), (41, 'hh'), (42, 'dasdas'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `area_roles` -- CREATE TABLE `area_roles` ( `Id_Area_Roles` int(11) NOT NULL, `Id_Area` int(11) DEFAULT NULL, `Id_Roles` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `area_roles` -- INSERT INTO `area_roles` (`Id_Area_Roles`, `Id_Area`, `Id_Roles`) VALUES (44, 23, 13), (45, 31, 16), (46, 31, 15), (47, 31, 17), (50, 30, 17), (51, 30, 19), (53, 30, 14), (56, 23, 18), (57, 28, 19), (58, 28, 18), (61, 24, 19), (62, 24, 17), (63, 29, 18), (64, 25, 15), (65, 25, 16), (66, 23, 19), (67, 39, 19), (68, 39, 18), (69, 39, 17), (70, 25, NULL); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `asistencia` -- CREATE TABLE `asistencia` ( `Id_asistencia` int(11) NOT NULL, `Id_Usuario` int(11) DEFAULT NULL, `asistencia` int(11) DEFAULT NULL, `IdReunion` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `asistencia` -- INSERT INTO `asistencia` (`Id_asistencia`, `Id_Usuario`, `asistencia`, `IdReunion`) VALUES (1, 120, 2, 1); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `conclusion` -- CREATE TABLE `conclusion` ( `Id_Conclusion` int(11) NOT NULL, `Conclusion` varchar(2000) NOT NULL, `Id_Itinerario` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `documento` -- CREATE TABLE `documento` ( `Id_Documento` int(11) NOT NULL, `Descripcion` varchar(200) NOT NULL, `Ruta` varchar(500) NOT NULL, `Id_Tarea` int(11) DEFAULT NULL, `Id_Usuario` int(11) DEFAULT NULL, `Fecha` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `documento` -- INSERT INTO `documento` (`Id_Documento`, `Descripcion`, `Ruta`, `Id_Tarea`, `Id_Usuario`, `Fecha`) VALUES (106, 'hjhghjgkjh', '201911251574664393_133.pdf', 133, 120, '2019-11-25 01:46:33'), (107, 'dfd', '201911251574665084_139.docx', 139, 120, '2019-11-25 01:58:04'), (108, 'VC', '201911251574665239_139.pdf', 139, 120, '2019-11-25 02:00:39'), (109, 'DDDD', '201911251574665404_139.pdf', 139, 120, '2019-11-25 02:03:24'), (110, 'df', '201911251574665900_139.pdf', 139, 120, '2019-11-25 02:11:40'), (111, 'a', '201911251574666023_139.docx', 139, 120, '2019-11-25 02:13:43'), (112, 'ds', '201911251574666181_139.pdf', 139, 120, '2019-11-25 02:16:21'), (113, 'ff', '201911251574666281_139.pdf', 139, 120, '2019-11-25 02:18:01'), (114, 'ds', '201911251574666421_139.pdf', 139, 120, '2019-11-25 02:20:21'), (115, 'kk', '201911251574666577_139.docx', 139, 120, '2019-11-25 02:22:57'), (116, 'kk', '201911251574666669_139.pdf', 139, 120, '2019-11-25 02:24:29'), (117, 'mn', '201911251574666881_139.pdf', 139, 120, '2019-11-25 02:28:01'), (118, 'ds', '201911251574667012_139.pdf', 139, 120, '2019-11-25 02:30:12'), (119, 'erw', '201911251574667218_139.pdf', 139, 120, '2019-11-25 02:33:38'), (120, 'f', '201911251574667335_139.pdf', 139, 120, '2019-11-25 02:35:35'), (121, 'frfrfrfrfr', '201911251574700008_139.docx', 139, 120, '2019-11-25 11:40:08'), (122, 'dasdasdasd', '201911251574700574_139.pdf', 139, 120, '2019-11-25 11:49:34'), (123, 'aaaaa', '201911251574700776_139.png', 139, 120, '2019-11-25 11:52:56'), (124, 'nhgbfgh', '201911271574882004_154.png', 154, 120, '2019-11-27 14:13:24'), (125, 'jhgh', '201911271574882055_140.png', 140, 120, '2019-11-27 14:14:15'), (126, 'jhgggghhjjgjgh', '201911271574882089_154.docx', 154, 120, '2019-11-27 14:14:49'), (127, 'jjjj', '201911271574882734_133.png', 133, 120, '2019-11-27 14:25:34'), (128, 'llllllll', '201911271574882781_133.jpeg', 133, 120, '2019-11-27 14:26:21'), (129, 'kk', '201911271574882831_133.pdf', 133, 120, '2019-11-27 14:27:11'), (130, 'gfhj', '201911281574963720_133.png', 133, 120, '2019-11-28 12:55:20'), (131, 'ghfg', '201911281574963763_136.pdf', 136, 120, '2019-11-28 12:56:03'), (132, 'lolo', '201911281574964335_136.pdf', 136, 120, '2019-11-28 13:05:35'), (133, 'dasdasdasd', '201911281574964498_133.pdf', 133, 120, '2019-11-28 13:08:18'), (134, 'ads', '201911281574964575_133.pdf', 133, 120, '2019-11-28 13:09:35'), (135, 'dasdasd', '201911281574965593_162.png', 162, 120, '2019-11-28 13:26:33'), (136, 'ddd', '201911281574965682_162.png', 162, 120, '2019-11-28 13:28:02'), (137, 'fsdf', '201911281574965723_162.pdf', 162, 120, '2019-11-28 13:28:43'), (138, 'dasdasdasd', '201911281574965830_162.pdf', 162, 120, '2019-11-28 13:30:30'), (139, 'dasdasdasd', '201911281574965893_162.png', 162, 120, '2019-11-28 13:31:33'), (140, 'dasdasdasd', '201911281574966062_162.png', 162, 120, '2019-11-28 13:34:22'), (141, 'dasdasdasd', '201911281574966076_162.png', 162, 120, '2019-11-28 13:34:36'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `documento_tarea` -- CREATE TABLE `documento_tarea` ( `IdDocumento_Tarea` int(11) NOT NULL, `Id_Documento` int(11) NOT NULL, `Id_Tarea` int(11) NOT NULL, `Id_Usuario` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `estado_tarea` -- CREATE TABLE `estado_tarea` ( `Id_Estado_Tarea` int(11) NOT NULL, `Descripcion` varchar(200) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `estado_tarea` -- INSERT INTO `estado_tarea` (`Id_Estado_Tarea`, `Descripcion`) VALUES (1, 'ACTIVA'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `evento` -- CREATE TABLE `evento` ( `Id_Evento` int(11) NOT NULL, `Nombre` varchar(200) NOT NULL, `FechaEvento` date NOT NULL, `Descripcion` varchar(300) NOT NULL, `FechaCreacion` date NOT NULL, `Id_Usuario` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `itinerario` -- CREATE TABLE `itinerario` ( `Id_Itinerario` int(11) NOT NULL, `Descripcion` varchar(500) NOT NULL, `Id_Reunion` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `notificaciones` -- CREATE TABLE `notificaciones` ( `Id_notificaciones` int(11) NOT NULL, `descripcion` varchar(1000) DEFAULT NULL, `Id_Usuario` int(11) DEFAULT NULL, `FechaLimite` datetime DEFAULT NULL, `VistaWeb` int(11) DEFAULT NULL, `VistaMovil` int(11) DEFAULT NULL, `tipo` varchar(45) DEFAULT NULL, `Id_Ttar_Reu` int(11) DEFAULT NULL, `tipoRol` varchar(45) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `notificaciones` -- INSERT INTO `notificaciones` (`Id_notificaciones`, `descripcion`, `Id_Usuario`, `FechaLimite`, `VistaWeb`, `VistaMovil`, `tipo`, `Id_Ttar_Reu`, `tipoRol`) VALUES (1, 'Se te asignado como participante a la tarea de Revision de Tesis', 120, NULL, 1, 0, 'Tarea', 133, NULL), (2, 'Se te asignado como participante a la tarea de Revision de Tutot', 120, NULL, 0, 0, 'Tarea', 133, NULL), (3, 'ESTAS INIVITADO A UNA REUNION', 120, NULL, 0, 0, 'Reunion', 91, 'MisTareasParticipantes'), (4, 'se le ha invitado a una reunion', NULL, NULL, NULL, NULL, NULL, 134, ''), (5, 'se le ha invitado a una reunion', 120, NULL, 1, NULL, 'Reunion', 135, NULL), (6, 'Ha sido invitado como Responsable de la tareaPROBANDO NOTIFICACIONES', 120, '2019-11-27 00:00:00', 1, NULL, 'Tarea', NULL, 'MisTareasResponsable'), (7, 'Ha sido invitado como Responsable de la tarea SEGUNDA PRUEBA DE NOTIFICACIONES', 120, '2019-11-27 00:00:00', 0, 0, 'Tarea', 156, 'MisTareasResponsable'), (8, 'Ha sido invitado como Responsable de la tarea TERCERA PRUEBA', 120, '2019-11-27 00:00:00', 0, 0, 'Tarea', 157, 'Responsable'), (9, 'Ha sido invitado como Responsable de la tarea EDWIN PROBANDO', 120, '2019-11-27 00:00:00', 0, 0, 'Tarea', 158, 'Responsable'), (10, 'Ha sido invitado como Responsable de la tarea otra prueba', 120, '2019-11-27 00:00:00', 0, 0, 'Tarea', 159, 'Responsable'), (11, 'Ha sido invitado como Participante de la tarea otra prueba', 120, '2019-11-27 00:00:00', 0, 0, 'Tarea', 159, 'Participante'), (12, 'Ha sido invitado como Observador de la tarea otra prueba', 120, '2019-11-27 00:00:00', 0, 0, 'Tarea', 159, 'Participante'), (13, 'Ha sido invitado como Responsable de la tarea fffffffffffffffff', 120, '2019-11-27 00:00:00', 0, 0, 'Tarea', 160, 'Responsable'), (14, 'Ha sido invitado como Participante de la tarea fffffffffffffffff', 120, '2019-11-27 00:00:00', 1, 0, 'Tarea', 160, 'Participante'), (15, 'Ha sido invitado como Observador de la tarea fffffffffffffffff', 120, '2019-11-27 00:00:00', 1, 0, 'Tarea', 160, 'Observador'), (16, 'Ha sido invitado como Responsable a la reunión ggggggg', 120, '2019-11-27 00:00:00', 1, 0, 'Reunion', 63, 'Responsable'), (17, 'Ha sido invitado como Participante a la reunión ggggggg', 120, '2019-11-27 00:00:00', 1, 0, 'Reunion', 63, 'Participante'), (18, 'Ha sido invitado como Responsable a la reunión ultima nose, para confirmar su asistencia por favor revise su correo electrónico.', 120, '2019-11-27 00:00:00', 1, 0, 'Reunion', 64, 'Responsable'), (19, 'Ha sido invitado como Participante a la reunión ultima nose, para confirmar su asistencia por favor revise su correo electrónico.', 120, '2019-11-27 00:00:00', 1, 0, 'Reunion', 64, 'Participante'), (20, 'Ha sido invitado como Responsable de la tarea \"holo\"', 120, '2019-11-28 00:00:00', 1, 0, 'Tarea', 162, 'Responsable'), (21, 'Ha sido invitado como Participante de la tarea \"holo\"', 117, '2019-11-28 00:00:00', 0, 0, 'Tarea', 162, 'Participante'), (22, 'Ha sido invitado como Observador de la tarea \"holo\"', 117, '2019-11-28 00:00:00', 0, 0, 'Tarea', 162, 'Observador'), (23, 'Ha sido invitado como Responsable de la tarea \"sss\"', 120, '2019-12-09 00:00:00', 0, 0, 'Tarea', 163, 'MisTareasResponsables'), (24, 'Ha sido invitado como Participante de la tarea \"sss\"', 117, '2019-12-09 00:00:00', 0, 0, 'Tarea', 163, 'MisTareasParticipantes'), (25, 'Ha sido invitado como Responsable de la tarea \"vencida\"', 120, '2019-12-08 00:00:00', 0, 0, 'Tarea', 164, 'MisTareasResponsables'), (26, 'Ha sido invitado como Participante de la tarea \"vencida\"', 120, '2019-12-08 00:00:00', 0, 0, 'Tarea', 164, 'MisTareasParticipantes'), (27, 'Ha sido invitado como Responsable a la reunión \"probando en casa\", para confirmar su asistencia por favor revise su correo electrónico.', 120, '2019-12-08 00:00:00', 0, 0, 'Reunion', 65, 'Responsable'), (28, 'Ha sido invitado como Participante a la reunión \"probando en casa\", para confirmar su asistencia por favor revise su correo electrónico.', 120, '2019-12-08 00:00:00', 0, 0, 'Reunion', 65, 'Participante'), (29, 'Ha sido invitado como Responsable de la tarea \"nuevamente\"', 120, '2019-12-12 00:00:00', 0, 0, 'Tarea', 166, 'MisTareasResponsables'), (30, 'Ha sido invitado como Participante de la tarea \"nuevamente\"', 120, '2019-12-12 00:00:00', 0, 0, 'Tarea', 166, 'MisTareasParticipantes'), (31, 'Ha sido invitado como Responsable a la reunión \"sad\", para confirmar su asistencia por favor revise su correo electrónico.', 120, '2019-12-12 00:00:00', 0, 0, 'Reunion', 69, 'Responsable'), (32, 'Ha sido invitado como Participante a la reunión \"sad\", para confirmar su asistencia por favor revise su correo electrónico.', 120, '2019-12-12 00:00:00', 0, 0, 'Reunion', 69, 'Participante'), (33, 'Ha sido invitado como Responsable de la tarea \"gfhf\"', 120, '2019-12-13 00:00:00', 0, 0, 'Tarea', 167, 'MisTareasResponsables'), (34, 'Ha sido invitado como Participante de la tarea \"gfhf\"', 120, '2019-12-13 00:00:00', 0, 0, 'Tarea', 167, 'MisTareasParticipantes'), (35, 'Ha sido invitado como Responsable de la tarea \"ssssss\"', 120, '2019-12-11 00:00:00', 0, 0, 'Tarea', 168, 'MisTareasResponsables'), (36, 'Ha sido invitado como Participante de la tarea \"ssssss\"', 117, '2019-12-11 00:00:00', 0, 0, 'Tarea', 168, 'MisTareasParticipantes'), (37, 'Ha sido invitado como Responsable de la tarea \"se\"', 120, '2019-12-11 00:00:00', 0, 0, 'Tarea', 169, 'MisTareasResponsables'), (38, 'Ha sido invitado como Participante de la tarea \"se\"', 120, '2019-12-11 00:00:00', 0, 0, 'Tarea', 169, 'MisTareasParticipantes'), (39, 'Ha sido invitado como Responsable de la tarea \"thrgh\"', 120, '2019-12-12 00:00:00', 0, 0, 'Tarea', 170, 'MisTareasResponsables'), (40, 'Ha sido invitado como Participante de la tarea \"thrgh\"', 120, '2019-12-12 00:00:00', 1, 0, 'Tarea', 170, 'MisTareasParticipantes'), (41, 'Ha sido invitado como Observador de la tarea \"thrgh\"', 120, '2019-12-12 00:00:00', 1, 0, 'Tarea', 170, 'MisTareasObservadores'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `observacion` -- CREATE TABLE `observacion` ( `Id_Observacion` int(11) NOT NULL, `Descripcion` varchar(5000) COLLATE utf8_spanish_ci DEFAULT NULL, `Id_Tarea` int(11) DEFAULT NULL, `Id_Usuario` int(11) DEFAULT NULL, `Fecha` datetime DEFAULT NULL, `ObservacionID` int(11) DEFAULT NULL, `tipo` varchar(1) COLLATE utf8_spanish_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci; -- -- Volcado de datos para la tabla `observacion` -- INSERT INTO `observacion` (`Id_Observacion`, `Descripcion`, `Id_Tarea`, `Id_Usuario`, `Fecha`, `ObservacionID`, `tipo`) VALUES (47, 'Cuales son los campos de la base de datos', 77, 120, '2019-10-17 00:00:00', NULL, 'C'), (48, 'Quien diseña la interfaz', 77, 120, '2019-10-17 00:00:00', NULL, 'C'), (49, 'Se encuentra en git hub', 77, 120, '2019-10-17 00:00:00', 47, 'S'), (50, 'Jose', 72, 120, '2019-10-17 00:00:00', NULL, 'C'), (51, 'Que paso', 72, 120, '2019-10-17 00:00:00', 50, 'S'), (52, 'fsdf', 72, 120, '2019-10-17 00:00:00', 50, 'S'), (53, 'se vaaaaaaa', 72, 120, '2019-10-17 00:00:00', NULL, 'C'), (54, 'kjfskd', 75, 120, '2019-10-17 00:00:00', NULL, 'C'), (55, 'kjfskd', 75, 120, '2019-10-17 00:00:00', NULL, 'C'), (56, 'kjfskd', 75, 120, '2019-10-17 00:00:00', NULL, 'C'), (57, 'fd', 75, 120, '2019-10-17 00:00:00', 54, 'S'), (58, 'kjfskd', 75, 120, NULL, NULL, 'C'), (59, 'vdbvgbvgd', 75, 120, '2019-10-17 00:00:00', NULL, 'C'), (60, 'vdbvgbvgd', 75, 120, NULL, NULL, 'C'), (61, 'hhhh', 72, 120, '2019-10-17 00:00:00', 53, 'S'), (62, 'jjjj', 72, 117, '2019-10-17 00:00:00', NULL, 'C'), (63, 'jjjj', 72, 117, '2019-10-17 00:00:00', NULL, 'C'), (64, 'si se va', 72, 117, '2019-10-17 00:00:00', 53, 'S'), (65, 'kkkk', 75, 117, '2019-10-17 00:00:00', NULL, 'C'), (66, 'yoo', 77, 117, '2019-10-17 00:00:00', 48, 'S'), (67, 'git', 77, 117, '2019-10-17 00:00:00', NULL, 'C'), (68, 'kfjdkfdfdkj', 72, 120, '2019-10-17 00:00:00', NULL, 'C'), (69, 'jskfd', 72, 120, '2019-10-17 00:00:00', NULL, 'C'), (70, 'bjhkl', 72, 120, '2019-10-17 00:00:00', NULL, 'C'), (71, 'jklfd', 72, 120, '2019-10-17 00:00:00', NULL, 'C'), (72, 'kjs', 72, 120, '2019-10-17 00:00:00', 50, 'S'), (73, 'fs,fj', 72, 120, '2019-10-17 00:00:00', 50, 'S'), (74, 'kldksldskdkls', 72, 120, '2019-10-27 12:42:53', NULL, 'C'), (75, 'gfhdfghf', 86, 120, '2019-10-31 12:20:15', NULL, 'C'), (76, 'cfghjk', 76, 120, '2019-10-31 17:12:55', NULL, 'C'), (77, 'cgfvhjn', 76, 120, '2019-10-31 17:13:00', NULL, 'C'), (78, '<NAME>', 76, 117, '2019-10-31 17:28:29', NULL, 'C'), (79, '<NAME>', 76, 120, '2019-10-31 17:28:52', NULL, 'C'), (80, 'hjhjh', 76, 117, '2019-10-31 17:29:06', NULL, 'C'), (81, 'jhghj', 76, 116, '2019-11-01 10:01:52', NULL, 'C'), (82, 'jjj', 76, 116, '2019-11-01 10:02:01', NULL, 'C'), (83, 'kjhgf', 98, 116, '2019-11-01 13:37:28', NULL, 'C'), (84, 'grdgdfs', 101, 116, '2019-11-01 13:44:42', NULL, 'C'), (85, 'siii el codigo q ya voy a completar el manual del programador', 104, 117, '2019-11-03 02:38:09', NULL, 'C'), (86, 'SI YA MISMO TE SUBO LOS CAMBIOS DEJAME CORREGIR CIERTAS COSITAS Y YA', 104, 120, '2019-11-03 02:52:41', 85, 'S'), (87, 'Expo sistema web, necesitamos pantalla', 113, 117, '2019-11-04 15:33:31', NULL, 'C'), (88, 'KISTO', 113, 120, '2019-11-04 15:34:00', 87, 'S'), (89, 'Segunda expo', 113, 117, '2019-11-04 15:34:40', NULL, 'C'), (90, 'JKHKJDFHG', 115, 120, '2019-11-04 16:28:26', NULL, 'C'), (91, '<NAME>', 115, 116, '2019-11-04 16:28:28', NULL, 'C'), (92, '<NAME> FERNADNDO', 115, 117, '2019-11-04 16:28:59', NULL, 'C'), (93, 'FDF', 115, 120, '2019-11-04 16:29:10', 92, 'S'), (94, 'HGJJ', 116, 120, '2019-11-04 16:31:22', NULL, 'C'), (95, 'jhk', 102, 120, '2019-11-06 01:37:40', NULL, 'C'), (96, 'lklk', 102, 120, '2019-11-06 01:37:49', 95, 'S'), (97, 'hola', 75, 120, '2019-11-07 05:35:04', NULL, 'C'), (98, 'este es mi primero comentario espero les guste', 93, 117, '2019-11-07 05:39:33', NULL, 'C'), (99, 'hola', 72, 120, '2019-11-07 05:40:57', NULL, 'C'), (100, 'hola', 92, 117, '2019-11-07 05:41:47', NULL, 'C'), (103, '<NAME>', 92, 120, '2019-11-07 05:59:52', NULL, 'C'), (104, 'hola', 70, 120, '2019-11-07 06:15:06', NULL, 'C'), (105, 'fue', 72, 120, '2019-11-07 06:35:21', 99, 'C'), (106, 'nueva version', 75, 120, '2019-11-08 02:55:55', NULL, 'C'), (107, 'hola2', 70, 120, '2019-11-08 03:05:27', NULL, 'C'), (108, 'si puedo hacer un recomentario', 75, 120, '2019-11-08 04:10:30', NULL, 'C'), (109, 'nada', 68, 116, '2019-11-02 00:00:00', NULL, NULL), (110, 'hola', 75, 120, '2019-11-08 04:17:27', 54, 'S'), (111, 'responder', 75, 120, '2019-11-08 04:51:16', 108, 'S'), (112, 'hi', 75, 120, '2019-11-08 05:24:45', 54, 'S'), (113, 'hola', 72, 120, '2019-11-08 05:29:05', 50, 'S'), (114, 'hola', 72, 120, '2019-11-08 05:29:05', 50, 'S'), (115, 'hola', 72, 120, '2019-11-08 05:29:05', 50, 'S'), (116, 'hola', 93, 117, '2019-11-08 05:34:27', 98, 'S'), (117, 'hola', 93, 117, '2019-11-08 05:34:27', 98, 'S'), (118, 'hola', 93, 120, '2019-11-08 05:42:05', 98, 'S'), (119, 'hola2', 93, 120, '2019-11-08 05:42:05', 98, 'S'), (120, 'si se pudo', 86, 120, '2019-11-08 05:50:23', 75, 'S'), (121, '<NAME>', 75, 120, '2019-11-08 06:22:45', 54, 'S'), (122, 'Primer observacion', 99, 120, '2019-11-08 06:37:39', NULL, 'C'), (123, 'hola', 99, 120, '2019-11-08 06:38:54', NULL, 'C'), (124, 'bien', 104, 120, '2019-11-08 06:41:37', 85, 'S'), (125, 'asi es', 104, 120, '2019-11-08 06:57:11', NULL, 'C'), (126, 'dsadsa', 133, 120, '2019-11-08 09:56:53', NULL, 'C'), (127, 'hola', 105, 120, '2019-11-08 20:08:28', NULL, 'C'), (128, 'hjfj', 136, 120, '2019-11-08 20:27:31', NULL, 'C'), (129, 'jfgghj', 136, 120, '2019-11-08 20:27:39', 128, 'S'), (130, 'mmmmmmmmmmmmmmmmmmm', 136, 120, '2019-11-09 01:22:37', NULL, 'C'), (131, 'jjj', 136, 120, '2019-11-21 22:33:25', NULL, 'C'), (132, 'kjkkjjjk', 136, 120, '2019-11-21 22:33:36', 131, 'S'), (133, 'kjlñ', NULL, 120, '2019-11-24 19:02:06', NULL, 'C'), (134, 'kjsdf', NULL, 120, '2019-11-24 19:05:42', NULL, 'C'), (135, 'lklkllñkl', 133, 120, '2019-11-24 19:08:51', NULL, 'C'), (136, 'kkkkkkkkkkkk', 133, 120, '2019-11-24 19:09:01', 135, 'S'), (137, 'fasfa', 139, 120, '2019-11-25 11:52:42', NULL, 'C'), (138, 'ffdfd', 139, 120, '2019-11-25 11:52:48', NULL, 'C'), (139, 'jbhgfdgj', 133, 120, '2019-11-27 14:25:17', NULL, 'C'), (140, 'oiipoi', 170, 120, '2020-01-29 16:04:15', NULL, 'C'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `observacion_reunion` -- CREATE TABLE `observacion_reunion` ( `Id_observacion_reunion` int(11) NOT NULL, `Descripcion` varchar(5000) DEFAULT NULL, `Id_Reunion` int(11) DEFAULT NULL, `Id_Usuario` int(11) DEFAULT NULL, `Observacion_ID` int(11) DEFAULT NULL, `Tipo` varchar(10) DEFAULT NULL, `Fecha` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `observacion_reunion` -- INSERT INTO `observacion_reunion` (`Id_observacion_reunion`, `Descripcion`, `Id_Reunion`, `Id_Usuario`, `Observacion_ID`, `Tipo`, `Fecha`) VALUES (1, 'fdsfdsfdsfdsa', 11, 120, NULL, 'C', '2019-10-31 00:00:00'), (2, 'lllllllllll', 11, 120, 1, 'S', '2019-10-31 00:00:00'), (3, 'fdsdfasdfsadfas', 11, 120, NULL, 'C', '2019-10-31 09:46:52'), (4, 'ESTE ES MI COMENTARIOS', 11, 120, NULL, 'C', '2019-10-31 09:48:09'), (5, 'ESTE TAMBIEN', 11, 120, NULL, 'C', '2019-10-31 09:48:20'), (6, 'PROBANDO', 11, 120, NULL, 'C', '2019-10-31 09:54:28'), (7, '123', 11, 120, 6, 'S', '2019-10-31 09:54:39'), (8, '54', 11, 120, 6, 'S', '2019-10-31 09:54:46'), (9, NULL, 11, 120, NULL, 'C', '2019-10-31 09:58:11'), (10, '<NAME>', 12, 120, NULL, 'C', '2019-10-31 10:33:33'), (11, 'SI DIGAME CON TODO GUSTO', 12, 120, 10, 'S', '2019-10-31 10:33:46'), (12, 'QUE ES LA POO', 12, 120, 10, 'S', '2019-10-31 10:34:02'), (13, 'BUENO PUES ES UNA PROGRAMACION ORIENTADA A OBJETOS', 12, 120, 10, 'S', '2019-10-31 10:34:24'), (14, 'nbmnbvcx', 12, 120, NULL, 'C', '2019-10-31 10:38:11'), (15, 'fds', 1, 120, NULL, 'C', '2019-10-31 11:31:52'), (16, 'fsd', 1, 120, NULL, 'C', '2019-10-31 11:31:53'), (17, 'lkjghfds', 9, 120, NULL, 'C', '2019-10-31 12:30:13'), (18, 'gfds', 9, 120, NULL, 'C', '2019-10-31 12:30:17'), (19, 'gdf', 9, 120, NULL, 'C', '2019-10-31 12:30:19'), (20, 'gdfsgdfsg', 9, 120, 19, 'S', '2019-10-31 12:30:26'), (21, NULL, 16, 117, NULL, 'C', '2019-11-03 01:46:47'), (22, 'GFD', 1, 120, NULL, 'C', '2019-11-03 03:25:25'), (23, 'GDGDF', 1, 120, 22, 'S', '2019-11-03 03:25:39'), (24, 'yaaa', 16, 117, NULL, 'C', '2019-11-03 03:26:26'), (25, 'esta aburrida la reunion', 17, 117, NULL, 'C', '2019-11-04 15:56:30'), (26, 'esta aburrida', 24, 117, NULL, 'C', '2019-11-04 16:06:57'), (27, 'HGJHJGHKJJK', 25, 120, NULL, 'C', '2019-11-04 16:35:22'), (28, 'GFHGHJ', 25, 120, NULL, 'C', '2019-11-04 16:35:25'), (29, NULL, 63, 120, NULL, 'C', '2019-11-27 23:49:11'), (30, NULL, 63, 120, NULL, 'C', '2019-11-27 23:53:40'), (31, 'hhhhh', 63, 120, NULL, 'C', '2019-11-28 00:07:50'), (32, NULL, 63, 120, NULL, 'C', '2019-11-28 00:07:52'), (33, NULL, 63, 120, NULL, 'C', '2019-11-28 00:08:42'), (34, 'jhj', 63, 120, NULL, 'C', '2019-11-28 00:09:41'), (35, 'kjkh', 63, 120, 29, 'S', '2019-11-28 00:12:53'), (36, 'fsafsd', 63, 120, 33, 'S', '2019-11-28 00:17:42'), (37, 'fs', 63, 120, 34, 'S', '2019-11-28 00:18:07'), (38, 'nose', 63, 120, 29, 'S', '2019-11-28 00:22:27'), (39, 'ya', 63, 120, 29, 'S', '2019-11-28 00:22:43'), (40, 'si', 63, 120, 34, 'S', '2019-11-28 00:22:53'), (41, 'lll', 63, 120, NULL, 'C', '2019-11-28 00:23:44'), (42, 'kfjgkjdfgjskdf', 63, 120, 29, 'S', '2019-11-28 00:25:12'), (43, 'ddddddd', 63, 120, 41, 'S', '2019-11-28 00:25:33'), (44, 'fff', 63, 120, NULL, 'C', '2019-11-28 00:25:45'), (45, 'jjj', 63, 120, 44, 'S', '2019-11-28 00:25:58'), (46, 'ffff', 63, 120, 44, 'S', '2019-11-28 00:26:06'), (47, 'fdgdgdf', 2, 120, NULL, 'C', '2019-12-08 00:02:16'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `observador_usuario` -- CREATE TABLE `observador_usuario` ( `IdObservador_Usuario` int(11) NOT NULL, `Id_Usuario` int(11) NOT NULL, `Id_Tarea` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `observador_usuario` -- INSERT INTO `observador_usuario` (`IdObservador_Usuario`, `Id_Usuario`, `Id_Tarea`) VALUES (34, 117, 68), (35, 120, 69), (36, 117, 70), (37, 118, 71), (39, 119, 73), (59, 116, 75), (60, 120, 75), (61, 120, 72), (62, 116, 94), (63, 119, 74), (66, 118, 97), (68, 118, 77), (69, 118, 76), (70, 120, 76), (71, 116, 98), (72, 117, 98), (73, 120, 99), (74, 120, 100), (76, 119, 101), (77, 120, 101), (78, 117, 102), (80, 120, 115), (81, 120, 134), (83, 120, 135), (84, 120, 91), (85, 120, 155), (86, 120, 156), (87, 120, 157), (88, 120, 158), (89, 120, 159), (90, 120, 160), (91, 117, 162), (101, 120, 164), (102, 120, 170); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `participante_reunion_usuario` -- CREATE TABLE `participante_reunion_usuario` ( `Id_participante_reunion_usuario` int(11) NOT NULL, `Id_Usuario` int(11) DEFAULT NULL, `Id_Reunion` int(11) DEFAULT NULL, `asistencia` int(11) DEFAULT NULL, `motivo` varchar(1000) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `participante_reunion_usuario` -- INSERT INTO `participante_reunion_usuario` (`Id_participante_reunion_usuario`, `Id_Usuario`, `Id_Reunion`, `asistencia`, `motivo`) VALUES (2, 120, 1, 1, ''), (3, 116, 1, 1, ''), (4, 117, 1, 1, ''), (5, 117, 8, 0, ''), (6, 119, 8, 0, ''), (7, 117, 9, 0, ''), (8, 120, 9, 0, ''), (9, 118, 10, 2, ''), (10, 119, 10, 1, ''), (11, 120, 10, 1, ''), (12, 116, 11, 1, ''), (13, 117, 11, 1, ''), (14, 118, 11, 1, ''), (15, 119, 11, 1, ''), (16, 120, 11, 1, ''), (17, 116, 12, 1, ''), (18, 117, 12, 1, ''), (19, 118, 12, 1, ''), (20, 119, 12, 1, ''), (21, 120, 12, 1, ''), (22, 116, 16, 1, ''), (23, 117, 16, 1, ''), (24, 116, 17, 1, ''), (25, 118, 17, 1, ''), (26, 119, 17, 1, ''), (27, 119, 22, 1, ''), (28, 116, 23, 1, ''), (29, 117, 23, 1, ''), (30, 118, 23, 1, ''), (31, 119, 23, 1, ''), (32, 120, 23, 1, ''), (33, 116, 24, 1, ''), (34, 117, 24, 1, ''), (35, 118, 24, 1, ''), (36, 119, 24, 2, ''), (37, 120, 24, 2, ''), (38, 116, 25, 1, ''), (39, 117, 25, 2, ''), (40, 118, 25, 2, ''), (41, 119, 25, 1, ''), (52, 118, 2, 1, ''), (53, 119, 2, 1, ''), (54, 117, 26, 1, ''), (55, 117, 27, 1, ''), (56, 117, 28, 1, ''), (57, 117, 29, 1, ''), (58, 119, 30, 1, ''), (59, 117, 31, 1, ''), (60, 119, 32, 1, ''), (61, 123, 33, 1, ''), (62, 123, 37, 1, ''), (63, 123, 38, 1, ''), (64, 123, 39, 1, ''), (65, 123, 40, 2, ''), (66, 123, 42, 1, ''), (67, 117, 44, 1, ''), (68, 117, 45, 2, ''), (69, 120, 46, 1, ''), (70, 120, 47, 0, ''), (71, 120, 48, 0, ''), (72, 120, 49, 0, ''), (73, 120, 50, 0, ''), (74, 120, 51, 1, ''), (75, 120, 52, 0, ''), (76, 120, 53, 0, ''), (77, 120, 54, 0, ''), (78, 120, 58, 1, NULL), (79, 120, 59, 0, 'porque me va a doler la cabeza'), (80, 120, 60, 1, NULL), (82, 120, 64, 2, NULL), (83, 120, 63, 1, NULL), (84, 120, 65, 0, NULL), (85, 120, 69, 0, NULL); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `participante_usuario` -- CREATE TABLE `participante_usuario` ( `Id_Particpanteusuario` int(11) NOT NULL, `Id_Tarea` int(11) NOT NULL, `Id_Usuario` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `participante_usuario` -- INSERT INTO `participante_usuario` (`Id_Particpanteusuario`, `Id_Tarea`, `Id_Usuario`) VALUES (47, 68, 119), (48, 69, 117), (49, 69, 119), (50, 70, 118), (51, 70, 119), (52, 70, 120), (53, 71, 120), (57, 73, 120), (62, 78, 119), (68, 75, 117), (69, 75, 118), (70, 72, 117), (71, 72, 118), (72, 72, 119), (76, 94, 118), (77, 74, 119), (81, 97, 117), (84, 77, 116), (85, 77, 119), (86, 76, 117), (87, 76, 119), (88, 98, 117), (89, 98, 118), (90, 98, 120), (91, 99, 120), (92, 100, 119), (94, 101, 120), (95, 102, 120), (98, 108, 116), (99, 108, 117), (100, 104, 117), (101, 104, 120), (104, 115, 117), (105, 115, 119), (106, 116, 118), (107, 134, 120), (109, 135, 120), (110, 91, 120), (111, 155, 120), (112, 156, 120), (113, 157, 120), (114, 158, 120), (115, 159, 120), (116, 160, 120), (117, 162, 117), (118, 163, 117), (129, 164, 117), (131, 167, 120), (132, 168, 117), (133, 169, 120), (134, 170, 120); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `responsableusuario` -- CREATE TABLE `responsableusuario` ( `IdResponsableUsuario` int(11) NOT NULL, `Id_Tarea` int(11) NOT NULL, `Id_Usuario` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `responsableusuario` -- INSERT INTO `responsableusuario` (`IdResponsableUsuario`, `Id_Tarea`, `Id_Usuario`) VALUES (52, 68, 118), (53, 69, 118), (54, 70, 117), (55, 71, 119), (57, 73, 117), (61, 78, 118), (68, 75, 120), (69, 72, 120), (74, 82, 117), (75, 81, 117), (76, 92, 120), (77, 93, 120), (78, 94, 120), (79, 86, 120), (80, 74, 117), (81, 74, 120), (82, 87, 120), (86, 97, 120), (88, 77, 117), (89, 77, 120), (90, 76, 120), (91, 98, 119), (92, 98, 120), (93, 99, 119), (94, 99, 120), (95, 100, 117), (97, 101, 120), (98, 102, 118), (100, 108, 116), (101, 111, 120), (102, 104, 117), (103, 104, 120), (105, 114, 117), (106, 113, 120), (107, 115, 120), (108, 116, 117), (111, 134, 120), (112, 133, 120), (114, 136, 120), (115, 139, 120), (118, 141, 120), (121, 142, 120), (122, 140, 120), (124, 145, 120), (126, 152, 120), (127, 153, 120), (128, 135, 120), (129, 154, 120), (130, 109, 120), (131, 91, 120), (132, 155, 120), (133, 156, 120), (134, 157, 120), (135, 158, 120), (136, 159, 120), (137, 160, 120), (138, 161, 120), (139, 162, 120), (140, 163, 120), (151, 164, 120), (152, 165, 120), (154, 167, 120), (155, 168, 120), (156, 169, 120), (157, 170, 120); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `responsable_reunion_usuario` -- CREATE TABLE `responsable_reunion_usuario` ( `Id_responsable_reunion_usuario` int(11) NOT NULL, `Id_Reunion` int(11) DEFAULT NULL, `Id_Usuario` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `responsable_reunion_usuario` -- INSERT INTO `responsable_reunion_usuario` (`Id_responsable_reunion_usuario`, `Id_Reunion`, `Id_Usuario`) VALUES (1, 1, 120), (2, 8, 116), (3, 9, 118), (4, 10, 119), (5, 11, 118), (6, 12, 119), (7, 16, 116), (8, 17, 117), (9, 18, 116), (10, 19, 119), (11, 23, 117), (12, 24, 117), (13, 25, 120), (19, 2, 120), (20, 26, 120), (21, 27, 120), (22, 28, 120), (23, 29, 120), (24, 30, 120), (25, 31, 120), (26, 32, 120), (27, 33, 120), (28, 34, 120), (29, 35, 120), (30, 36, 120), (31, 37, 120), (32, 38, 120), (33, 39, 120), (34, 40, 120), (35, 41, 120), (36, 42, 120), (37, 43, 120), (38, 44, 120), (39, 45, 120), (40, 46, 119), (41, 47, 119), (42, 48, 119), (43, 49, 119), (44, 50, 118), (45, 51, 119), (46, 52, 119), (47, 53, 119), (48, 54, 119), (49, 55, 119), (50, 56, 119), (51, 57, 119), (52, 58, 119), (53, 59, 117), (54, 60, 117), (55, 61, 120), (56, 62, 120), (58, 64, 120), (59, 63, 120), (60, 65, 120), (61, 69, 120); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `restauracionclave` -- CREATE TABLE `restauracionclave` ( `Id_RestaruracionClave` int(11) NOT NULL, `Token_Email` varchar(100) NOT NULL, `Id_Usuario` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `reunion` -- CREATE TABLE `reunion` ( `Id_Reunion` int(11) NOT NULL, `Tema` varchar(450) NOT NULL, `Orden_del_Dia` text NOT NULL, `Estado` varchar(450) NOT NULL, `FechaCreacion` datetime DEFAULT NULL, `Lugar` varchar(450) DEFAULT NULL, `Id_Usuario` int(11) NOT NULL, `FechadeReunion` date DEFAULT NULL, `HoraReunion` time DEFAULT NULL, `Conclusion` text DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `reunion` -- INSERT INTO `reunion` (`Id_Reunion`, `Tema`, `Orden_del_Dia`, `Estado`, `FechaCreacion`, `Lugar`, `Id_Usuario`, `FechadeReunion`, `HoraReunion`, `Conclusion`) VALUES (1, 'Hola', 'kjdsfhgijdf', 'Terminada', '0000-00-00 00:00:00', 'fds', 120, '0000-00-00', '00:00:00', 'si fiodsjfljasldkjfadskonfads\nfadsf\nadsf\nasd\nfsd\nf\nds'), (2, 'jfnd', 'fsd', 'Terminada', NULL, 'kl', 120, '2019-11-22', '07:08:00', 'kjklkj,mkn'), (3, 'fadsf', 'fsadf', 'Pendiente', '2019-10-30 00:00:00', 'fasdf', 120, '2019-10-30', '01:12:00', ''), (4, 'fsd', 'fsd', 'Pendiente', '2019-10-30 01:16:20', 'fsd', 120, '2019-10-30', '01:16:00', ''), (5, 'nbjhk', 'kj', 'Pendiente', '2019-10-30 01:22:40', 'kj', 120, '2019-10-30', '01:56:00', ''), (6, 'jklkjlk', 'kj', 'Pendiente', '2019-10-30 01:23:32', 'kk', 120, '2019-10-30', '02:06:00', ''), (7, 'fdsg', 'fsd', 'Pendiente', '2019-10-30 01:25:30', 'fdsf', 120, '2019-10-30', '01:25:00', ''), (8, 'kjl', 'kl', 'Pendiente', '2019-10-30 01:28:21', 'lk', 120, '2019-10-30', '01:45:00', ''), (9, 'SUSTENTACION', 'PRESENTAR\nEXPONER\nPREGUNTAS', 'Pendiente', '2019-10-30 03:54:40', 'ESPAM MEFL', 120, '2019-10-30', '03:56:51', ''), (10, 'esta si', 'fhas\ngsdfg\ngs\ngsd', 'Pendiente', '2019-10-30 21:30:48', 'calceta', 120, '2019-10-30', '21:30:28', ''), (11, 'kl', 'k', 'Pendiente', '2019-10-30 22:59:51', 'k', 120, '2019-10-30', '22:59:34', ''), (12, 'REUNION DE DOCENTES', '1. Presentarse\n2. Exponer\n3. Cantar\n4. IR a comer', 'Pendiente', '2019-10-31 10:03:13', 'ESPAM', 120, '2019-10-31', '10:03:15', ''), (13, 'dsa', 'dasd\ndasd', 'Pendiente', '2019-10-31 10:12:18', 'das', 120, '2019-10-31', '10:12:09', ''), (14, 'gdfs', 'gdfs\ngds\ngdsf', 'Pendiente', '2019-10-31 10:12:38', 'gds', 120, '2019-10-31', '10:12:33', ''), (15, 'ter', 'gfd\ngdf\ngdf\ng\ndfg', 'Pendiente', '2019-10-31 10:19:21', 't', 120, '2019-10-31', '10:19:14', ''), (16, 'Nueva reunion', 'Revisar tesis con el Ing. Joffre', 'Pendiente', '2019-11-03 01:43:50', 'Portoviejo', 117, '2019-11-04', '01:45:08', ''), (17, 'Otra reunion', 'nueva fecha de reunion', 'Terminada', '2019-11-03 01:48:55', 'Calceta', 117, '2019-11-04', '01:48:14', 'En resumen no se va a permitir el ingreso de menores de edad a esta sala.'), (18, 'jj', 'h', 'Pendiente', '2019-11-03 03:34:11', 'n', 120, '2019-11-04', '02:33:41', ''), (19, 'SD', 'FDS', 'Pendiente', '2019-11-03 03:37:09', 'FSD', 120, '2019-11-03', '03:37:31', ''), (20, 'TEMAAAAAAAA', 'FDFDG', 'Pendiente', '2019-11-12 00:00:00', 'GFDG', 119, '2019-11-06', '04:22:24', 'FHSJDBFMDSBMFN'), (21, 'kjfasfdkjads', 'fdsfds', 'Pendiente', NULL, NULL, 120, NULL, NULL, NULL), (22, 'Hola', 'kfjdsf', 'Pendiente', '2019-11-04 16:02:26', 'vndm,nv', 117, '2019-11-04', '17:02:12', NULL), (23, 'Presentar tesis', '1. Ir a la casa del Ing. <NAME>', 'Pendiente', '2019-11-04 16:03:06', 'Portoviejo', 117, '2019-11-04', '17:02:32', NULL), (24, 'Tribunal', '1. Llegar a la casa\n2. Abrir compu\n3. Mostrar sistema\n4. Mostrar informe', 'Pendiente', '2019-11-04 16:06:06', 'Calceta', 117, '2019-11-04', '17:04:44', NULL), (25, 'SKYPE', 'VIDEOLLAMA', 'Terminada', '2019-11-04 16:34:22', 'PORTOVIEJO', 120, '2019-11-04', '17:33:43', 'BGFHGHKJHGGSFDFGJHKJHJGVCGFDGFGJGJFGGJH'), (26, 'probando confiramcion', 'djslakdjsakjl', 'Pendiente', '2019-11-25 19:16:25', 'calceta', 120, '2019-11-25', '20:15:39', NULL), (27, 'prueba 2', 'kldsj', 'Pendiente', '2019-11-25 19:20:21', 'casa', 120, '2019-11-25', '20:20:08', NULL), (28, 'prueba 3', 'jkas', 'Pendiente', '2019-11-25 19:27:54', 'sj', 120, '2019-11-25', '20:27:39', NULL), (29, 'prueaba 4', 'calce', 'Pendiente', '2019-11-25 19:34:46', 'kldsf', 120, '2019-11-25', '20:34:30', NULL), (30, 'prueba 4', 'kjlfsd', 'Pendiente', '2019-11-25 19:37:22', 'jfsjl', 120, '2019-11-25', '20:37:11', NULL), (31, 'prueba 5', 'kldfjfkjldsf', 'Pendiente', '2019-11-25 19:46:06', 'jfldsjkl', 120, '2019-11-25', '20:45:51', NULL), (32, 'pruyeba 6', 'jkldsf', 'Pendiente', '2019-11-25 20:32:26', 'jlksdf', 120, '2019-11-25', '21:32:13', NULL), (33, 'prueba7', 'fs', 'Pendiente', '2019-11-25 20:33:27', 'fds', 120, '2019-11-25', '21:33:16', NULL), (34, 'prueba 8', 'jklfsd', 'Pendiente', '2019-11-25 20:34:18', 'sfjdsk', 120, '2019-11-25', '21:34:07', NULL), (35, 'prueba 8', 'jklfsd', 'Pendiente', '2019-11-25 20:34:29', 'sfjdsk', 120, '2019-11-25', '21:34:07', NULL), (36, 'prueba 8', 'jklfsd', 'Pendiente', '2019-11-25 20:34:42', 'sfjdsk', 120, '2019-11-25', '21:34:07', NULL), (37, 'prueba 8', 'jklfsd', 'Pendiente', '2019-11-25 20:36:10', 'sfjdsk', 120, '2019-11-25', '21:34:07', NULL), (38, 'prueba 8', 'jklfsd', 'Pendiente', '2019-11-25 20:36:24', 'sfjdsk', 120, '2019-11-25', '21:34:07', NULL), (39, 'prueba 9', 'fsd', 'Pendiente', '2019-11-25 20:38:22', 'fsds', 120, '2019-11-25', '21:38:11', NULL), (40, 'prueba 9', 'fsd', 'Pendiente', '2019-11-25 20:39:08', 'fsds', 120, '2019-11-25', '21:38:11', NULL), (41, 'prueba 9', 'fsd', 'Pendiente', '2019-11-25 20:44:22', 'fsds', 120, '2019-11-25', '21:38:11', NULL), (42, 'prueba 9', 'fsd', 'Pendiente', '2019-11-25 20:44:49', 'fsds', 120, '2019-11-25', '21:38:11', NULL), (43, 'das', 'das', 'Pendiente', '2019-11-25 20:50:40', 'das', 120, '2019-11-25', '21:47:32', NULL), (44, 'MODULO DE REUNION', 'JOFDS\nFSDF\nDSF', 'Pendiente', '2019-11-25 21:04:20', 'ESPAM MFL', 120, '2019-11-25', '22:03:49', NULL), (45, 'jugando', 'fsdf', 'Pendiente', '2019-11-25 21:09:45', 'fsdf', 120, '2019-11-25', '22:09:30', NULL), (46, 'ddasdsa', 'das', 'Pendiente', '2019-11-25 21:16:46', 'das', 120, '2019-11-25', '22:16:34', NULL), (47, 'dsdsdsdsd', 'ds', 'Pendiente', '2019-11-25 21:22:23', 'dsd', 120, '2019-11-25', '22:21:10', NULL), (48, 'fdsf', 'fs', 'Pendiente', '2019-11-25 21:23:04', 'fsd', 120, '2019-11-25', '22:22:54', NULL), (49, 'ddddd', 'dd', 'Pendiente', '2019-11-25 21:26:03', 'ddd', 120, '2019-11-25', '22:25:54', NULL), (50, 'aaaaaaaa', 'aaaaa', 'Pendiente', '2019-11-25 21:27:03', 'aaaaaaa', 120, '2019-11-25', '22:26:54', NULL), (51, 'fffffffff', 'fffffffffff', 'Pendiente', '2019-11-25 21:27:56', 'fffffffffffff', 120, '2019-11-25', '22:27:48', NULL), (52, 'FFFFFF', 'FFFFF', 'Pendiente', '2019-11-25 23:16:07', 'FFFFFFFF', 120, '2019-11-26', '12:15:30', NULL), (53, 'vvvvvvvv', 'vvvvvvvvvvvv', 'Pendiente', '2019-11-25 23:31:36', 'vvvvvvvv', 120, '2019-11-25', '23:33:18', NULL), (54, 'qqqqqqq', 'qqqqqqq', 'Pendiente', '2019-11-25 23:35:38', 'qq', 120, '2019-11-25', '23:37:15', NULL), (55, 'xxx', 'xx', 'Pendiente', '2019-11-25 23:50:22', 'xx', 120, '2019-11-25', '23:51:32', NULL), (56, 'xxx', 'xx', 'Pendiente', '2019-11-25 23:50:40', 'xx', 120, '2019-11-25', '23:51:32', NULL), (57, 'xxx', 'xx', 'Pendiente', '2019-11-25 23:52:23', 'xx', 120, '2019-11-25', '23:54:32', NULL), (58, 'xxx', 'xx', 'Pendiente', '2019-11-25 23:53:22', 'xx', 120, '2019-11-25', '23:54:32', NULL), (59, 'probando con edwin', 'jdask\nfdsf\ndsf\nds', 'Pendiente', '2019-11-26 10:04:19', 'calceta', 120, '2019-11-26', '11:03:53', NULL), (60, 'ultima prueba', 'fsd', 'Pendiente', '2019-11-26 19:32:04', 'fsfd', 120, '2019-11-26', '20:31:49', NULL), (61, 'dddd', 'ddd', 'Pendiente', '2019-11-27 16:13:27', 'ddd', 120, '2019-11-27', '16:34:13', NULL), (62, 'dddd', 'ddd', 'Pendiente', '2019-11-27 16:13:36', 'ddd', 120, '2019-11-27', '16:34:13', NULL), (63, 'ggggggg', 'gggggggggg', 'Suspendida', '2019-11-27 16:16:38', 'ggggggggggg', 120, '2019-11-27', '16:34:24', NULL), (64, 'ultima nose', 'fsdfs', 'Terminada', '2019-11-27 16:27:51', 'kjfsdf', 120, '2019-11-27', '17:27:34', 'se ddetallas los fdlskjflkdsjfklsdj dfkdsljfsldkjfkods fsdfjsdklfds fdsklfjdslkfjskl'), (65, 'probando en casa', 'jjodjoasi', 'Pendiente', '2019-12-08 13:31:34', 'calceta', 120, '2019-12-08', '14:31:02', NULL), (69, 'sad', 'fds', 'Pendiente', '2019-12-11 22:49:03', 'fds', 120, '2019-12-12', '22:48:42', NULL); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `roles` -- CREATE TABLE `roles` ( `Id_Roles` int(11) NOT NULL, `Descripcion` varchar(100) NOT NULL, `nivel` int(11) DEFAULT NULL, `Id_Sub_Area` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `roles` -- INSERT INTO `roles` (`Id_Roles`, `Descripcion`, `nivel`, `Id_Sub_Area`) VALUES (13, 'Enfermero', 1, 2), (14, 'Secretario', 2, 1), (15, 'Técnico', 5, 1), (16, 'Programador', 5, 1), (17, 'Tester', 5, 1), (18, 'Cardiólogo', 6, 2), (19, 'Neurólogo', 5, 2), (27, 'jjh', 6, NULL); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `sub_area` -- CREATE TABLE `sub_area` ( `Id_Sub_Area` int(11) NOT NULL, `Descripcion` varchar(450) COLLATE utf8_spanish_ci DEFAULT NULL, `Id_Area` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci; -- -- Volcado de datos para la tabla `sub_area` -- INSERT INTO `sub_area` (`Id_Sub_Area`, `Descripcion`, `Id_Area`) VALUES (1, 'Dirección administrativa', 23), (2, 'Triaje', 24); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `tarea` -- CREATE TABLE `tarea` ( `Id_tarea` int(11) NOT NULL, `Id_Usuario` int(11) NOT NULL, `Estado_Tarea` varchar(450) COLLATE latin1_danish_ci NOT NULL, `Id_Tipo_Tarea` int(11) NOT NULL, `Nombre` varchar(100) CHARACTER SET latin1 NOT NULL, `FechaInicio` date NOT NULL, `Hora_Inicio` time DEFAULT NULL, `FechaFin` date NOT NULL, `Hora_Fin` time DEFAULT NULL, `FechaCreacion` datetime NOT NULL, `Descripcion` varchar(60000) CHARACTER SET latin1 NOT NULL, `tareaFavorita` int(11) DEFAULT NULL, `tareasIdTareas` int(11) DEFAULT NULL, `tip_tar` varchar(1) COLLATE latin1_danish_ci DEFAULT NULL, `FechaEntrega` datetime DEFAULT NULL, `estadoVencida` varchar(45) COLLATE latin1_danish_ci DEFAULT 'false', `estadoEliminar` varchar(45) COLLATE latin1_danish_ci DEFAULT 'false' ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_danish_ci; -- -- Volcado de datos para la tabla `tarea` -- INSERT INTO `tarea` (`Id_tarea`, `Id_Usuario`, `Estado_Tarea`, `Id_Tipo_Tarea`, `Nombre`, `FechaInicio`, `Hora_Inicio`, `FechaFin`, `Hora_Fin`, `FechaCreacion`, `Descripcion`, `tareaFavorita`, `tareasIdTareas`, `tip_tar`, `FechaEntrega`, `estadoVencida`, `estadoEliminar`) VALUES (68, 120, 'Terminada', 5, 'Realizar Organigram', '2019-09-30', '16:59:00', '2019-10-05', '16:59:00', '2019-09-06 00:00:00', 'Deben incluir las áreas y subareas en la APP MOVIL', 1, NULL, 'T', NULL, 'false', 'false'), (69, 120, 'Terminada', 5, 'Sub Organigrama', '2019-09-30', '05:01:00', '2019-09-30', '05:01:00', '2019-09-06 00:00:00', 'Trabajar', 1, 68, 'S', NULL, 'false', 'false'), (70, 120, 'Terminada', 4, 'Tarea2', '2019-09-30', '17:02:00', '2019-09-30', '17:02:00', '2019-09-06 00:00:00', 'Trabajar', 1, NULL, 'T', NULL, 'true', 'false'), (71, 120, 'Terminada', 5, 'hgff', '2019-10-10', '10:39:00', '2019-10-10', '10:39:00', '2019-09-06 00:00:00', 'fds', 1, 73, 'S', NULL, 'false', 'false'), (72, 120, 'Terminada', 5, 'REUNION CON EL EQUIPO', '2019-10-17', '02:31:00', '2019-10-24', '15:22:00', '2019-09-06 00:00:00', 'REUNIRSE EL LUNES', 1, NULL, 'T', NULL, 'false', 'false'), (73, 120, 'Terminada', 5, 'Roles', '2019-10-14', '11:08:00', '2019-10-14', '11:08:00', '2019-09-06 00:00:00', 'Tratar los roles de los empleados', 1, 72, 'S', NULL, 'false', 'false'), (74, 120, 'Terminada', 5, 'ree', '2019-10-14', '11:10:00', '2019-10-14', '11:10:00', '2019-09-06 00:00:00', 'fds', 1, 73, 'S', NULL, 'false', 'false'), (75, 120, 'Terminada', 5, 'x', '2019-10-14', '11:13:00', '2019-10-14', '11:13:00', '2019-09-06 00:00:00', 'x', 1, 74, 'S', NULL, 'false', 'false'), (76, 120, 'Terminada', 5, 'LIMPIAR AIRE ACONDICIONADOS', '2019-10-15', '18:00:00', '2019-11-16', '18:00:00', '2019-09-06 00:00:00', 'El area de docentes', 1, NULL, 'T', '2019-11-07 00:00:00', 'false', 'false'), (77, 120, 'Terminada', 5, 'PROGRAMAR EL MODULO DE REUNION', '2019-10-17', '08:00:00', '2019-10-30', '18:00:00', '2019-09-06 00:00:00', 'PRESENTARLE A JOFFRE EL DIA 30 DE OCTUBRE', 1, NULL, 'T', NULL, 'false', 'false'), (78, 120, 'Terminada', 5, 'kldfdkld', '2019-10-26', '03:42:00', '2019-11-26', '03:02:00', '2019-09-06 00:00:00', 'kjd', 1, NULL, 'T', NULL, 'false', 'false'), (79, 117, 'Terminada', 4, 'tarea personal', '2019-10-25', '12:27:00', '2019-10-27', '13:00:00', '2019-09-06 00:00:00', 'hhhh', 1, NULL, 'T', NULL, 'true', 'false'), (80, 117, 'Terminada', 2, 'tarea personal', '2019-10-25', '12:27:00', '2019-10-27', '13:00:00', '2019-09-06 00:00:00', 'hhhh', 1, NULL, 'T', NULL, 'true', 'false'), (81, 117, 'Terminada', 5, 'PROBANDO TAREAS', '2019-01-20', '03:01:00', '2019-01-30', '16:01:00', '2019-09-06 00:00:00', 'aki probando esto', 1, 79, 'S', NULL, 'false', 'false'), (82, 117, 'Terminada', 2, 'NUEVA TAREA', '2019-02-20', '07:04:00', '2019-03-21', '05:02:00', '2019-09-06 00:00:00', 'FSDFDF', 1, NULL, 'T', NULL, 'true', 'false'), (83, 117, 'Terminada', 2, 'fdgfd', '2019-10-27', '12:39:00', '2019-10-27', '12:39:00', '2019-09-06 00:00:00', 'gdfg', 1, 82, 'S', NULL, 'true', 'false'), (84, 117, 'Terminada', 2, 'ggg', '2019-10-27', '12:41:00', '2019-10-27', '12:41:00', '2019-09-06 00:00:00', 'gggg', 1, 83, 'S', NULL, 'true', 'false'), (85, 120, 'Terminada', 5, 'KNJ', '2019-10-27', '02:01:00', '2019-10-27', '15:32:00', '2019-09-06 00:00:00', 'KJKJ', 1, 76, 'S', '2019-11-07 00:00:00', 'true', 'false'), (86, 120, 'Terminada', 5, 'KKKKKKKK', '2019-10-27', '05:06:00', '2019-10-27', '18:07:00', '2019-09-06 00:00:00', 'KKKKKK', 1, 72, 'S', NULL, 'false', 'false'), (87, 120, 'Terminada', 5, 'kjhjhkj', '2019-10-27', '12:19:00', '2019-10-27', '12:19:00', '2019-09-06 00:00:00', 'nmk', 1, 77, 'S', NULL, 'true', 'false'), (88, 120, 'Terminada', 5, 'nose q pone', '2019-10-27', '03:21:00', '2019-01-27', '03:02:00', '2019-10-27 00:00:00', 'kfmdlk', 1, NULL, 'T', NULL, 'true', 'false'), (89, 120, 'Terminada', 5, 'hgfh', '2019-07-27', '14:20:05', '2019-10-27', '14:20:05', '2019-10-27 00:00:00', 'gdfg', 1, NULL, 'T', NULL, 'true', 'false'), (90, 120, 'Terminada', 5, 'j', '2019-10-27', '15:33:00', '2019-10-27', '15:33:27', '2019-10-27 00:00:00', 'j', 1, NULL, 'T', NULL, 'true', 'false'), (91, 120, 'Terminada', 5, 'fds', '2019-11-11', '15:36:00', '2019-11-28', '15:37:00', '2019-10-27 00:00:00', 'fs', 1, NULL, 'T', '2019-11-28 00:40:44', 'false', 'false'), (92, 117, 'Terminada', 5, 'fds', '2019-10-28', '00:41:04', '2019-10-28', '00:41:04', '2019-10-28 00:00:00', 'fds', 1, 81, 'S', NULL, 'false', 'false'), (93, 117, 'Terminada', 5, 'fsdf', '2019-10-28', '00:42:55', '2019-10-28', '00:42:55', '2019-10-28 00:00:00', 'fsdf', 1, 81, 'S', NULL, 'false', 'false'), (94, 117, 'Terminada', 5, 'fdsfdsfs', '2019-10-28', '00:45:37', '2019-10-28', '00:45:37', '2019-10-28 00:00:00', 'fsdf', 1, 81, 'S', NULL, 'false', 'false'), (95, 117, 'Terminada', 5, 'tarea vencida', '2019-10-28', '12:10:15', '2019-10-28', '12:21:15', '2019-10-28 00:00:00', 'fdsfdf', 1, 82, 'S', NULL, 'true', 'false'), (96, 117, 'Terminada', 5, 'tareaaaaaa vencida 2', '2019-10-28', '11:24:18', '2019-10-29', '11:24:18', '2019-10-28 00:00:00', 'cdcdsdf', 1, NULL, 'T', NULL, 'true', 'false'), (97, 120, 'Terminada', 5, 'nnn', '2019-10-31', '16:20:57', '2019-10-31', '16:20:57', '2019-10-31 00:00:00', 'nk', 1, 72, 'S', NULL, 'false', 'false'), (98, 116, 'Terminada', 5, 'jhgfdss', '2019-11-01', '13:34:52', '2019-11-01', '13:43:52', '2019-11-01 00:00:00', 'gfds', 1, NULL, 'T', NULL, 'true', 'false'), (99, 116, 'Terminada', 5, 'jose nose', '2019-11-01', '13:38:40', '2019-11-01', '13:38:40', '2019-11-01 00:00:00', 'fsadfasdf', 1, NULL, 'T', NULL, 'true', 'false'), (100, 116, 'Terminada', 5, 'jhgfds', '2019-11-01', '13:39:20', '2019-11-01', '13:39:20', '2019-11-01 00:00:00', 'gdgd', 1, NULL, 'T', NULL, 'true', 'false'), (101, 116, 'Terminada', 5, 'esta si vale', '2019-11-03', '13:59:26', '2019-11-04', '13:41:26', '2019-11-01 00:00:00', 'hgfdd', 1, NULL, 'T', NULL, 'true', 'false'), (102, 116, 'Terminada', 5, 'sub', '2019-11-01', '13:59:44', '2019-11-01', '13:59:44', '2019-11-01 00:00:00', 'fsfs', 1, 101, 'S', NULL, 'true', 'false'), (103, 120, 'Terminada', 5, 'fds', '2019-11-04', '01:17:08', '2019-11-06', '01:17:08', '2019-11-03 00:00:00', 'fds', 1, NULL, 'T', NULL, 'true', 'false'), (104, 120, 'Terminada', 5, 'PROBANDO CON EDWIN', '2019-11-04', '02:34:52', '2019-11-05', '02:34:52', '2019-11-03 00:00:00', 'ESTA TAREA ES DE PRUEBA YA MISMO TE SUBO LOS CAMBIOS PILAS EDWIN', 1, NULL, 'T', NULL, 'true', 'false'), (105, 120, 'Terminada', 4, 'psaraj', '2019-11-03', '04:19:08', '2019-11-03', '04:19:08', '2019-11-03 00:00:00', 'fds', 1, NULL, 'T', NULL, 'false', 'false'), (106, 120, 'Terminada', 5, 'tarea personal jose', '2019-11-04', '04:20:23', '2019-11-05', '04:20:23', '2019-11-03 00:00:00', 'jfkdfjsd', 1, NULL, 'T', NULL, 'false', 'false'), (107, 120, 'Terminada', 5, 'ew', '2019-11-04', '04:31:56', '2019-12-03', '04:31:56', '2019-11-03 00:00:00', 'ds', 1, NULL, 'T', NULL, 'true', 'false'), (108, 117, 'Terminada', 5, 'Prueba tarea caducada', '2019-11-04', '14:10:44', '2019-11-04', '14:12:44', '2019-11-04 00:00:00', 'Probando tarea', 1, NULL, 'T', NULL, 'true', 'false'), (109, 120, 'Terminada', 4, 'PROGRAMAR EN EL PARQUE LA ROTONDA', '2019-11-04', '15:00:00', '2019-11-04', '16:00:00', '2019-11-04 00:00:00', 'PRESENTÁNDOLE LA TESIS AL ING JOFFRE', 1, NULL, 'T', NULL, 'false', 'false'), (110, 120, 'Terminada', 4, 'ultima prueba', '2019-11-04', '15:32:25', '2019-11-04', '16:32:25', '2019-11-04 00:00:00', '13ejkglskdgjdf', 1, NULL, 'T', NULL, 'true', 'false'), (111, 120, 'Terminada', 4, 'llll', '2019-11-04', '15:37:06', '2019-11-04', '15:37:06', '2019-11-04 00:00:00', 'hh', 1, NULL, 'T', NULL, 'true', 'false'), (112, 116, 'Terminada', 4, 'Tarea persona EDWIN', '2019-11-04', '14:38:02', '2019-11-04', '14:39:02', '2019-11-04 00:00:00', 'PROBANDO TAREAS PERSONALES', 1, NULL, 'T', NULL, 'true', 'false'), (113, 120, 'Terminada', 5, 'PRESENTACION SISTEMA', '2019-11-04', '15:45:25', '2019-11-04', '16:31:25', '2019-11-04 00:00:00', 'EXPONIENDO', 1, NULL, 'T', NULL, 'true', 'false'), (114, 120, 'Terminada', 5, 'SUB PRESENTACION', '2019-11-04', '15:56:34', '2019-11-04', '17:03:34', '2019-11-04 00:00:00', 'PRESENTANDO', 1, 113, 'S', NULL, 'true', 'false'), (115, 120, 'Terminada', 5, 'VIDEOLLAMADA CON EL ING', '2019-11-04', '17:25:34', '2019-11-04', '18:25:34', '2019-11-04 00:00:00', 'PRESENTANDO TESIS', 1, NULL, 'T', NULL, 'false', 'false'), (116, 120, 'Terminada', 5, 'SUB VIDEOLLAMADA', '2019-11-04', '17:26:58', '2019-11-04', '17:30:58', '2019-11-04 00:00:00', 'SUBTAREA', 1, 115, 'S', NULL, 'false', 'false'), (119, 118, 'Terminada', 4, 'oe', '2019-11-05', '13:15:00', '2019-11-05', '15:15:00', '2019-11-05 00:00:00', 'oe', NULL, NULL, 'T', NULL, 'true', 'false'), (120, 118, 'Terminada', 4, 'ey', '2019-11-05', '13:16:00', '2019-11-05', '13:16:00', '2019-11-05 00:00:00', 'ey', NULL, NULL, 'T', NULL, 'false', 'false'), (123, 118, 'Terminada', 4, 'Vamos', '2019-11-08', '04:00:00', '2019-11-14', '03:00:00', '2019-11-08 00:00:00', 'esta tareas es mia', NULL, NULL, 'T', NULL, 'false', 'false'), (124, 118, 'Terminada', 4, 'Josetupadre', '2019-11-15', '08:17:00', '2019-11-21', '05:00:00', '2019-11-12 00:00:00', 'vamos a ver si ingresa', NULL, NULL, 'T', NULL, 'false', 'false'), (125, 118, 'Terminada', 4, 'Vamos', '2019-11-15', '06:00:00', '2019-11-22', '09:00:00', '2019-11-04 00:00:00', 'vamo a darle', NULL, NULL, 'T', NULL, 'false', 'false'), (127, 118, 'Terminada', 4, 'Cantar en chone', '2019-11-05', '01:21:00', '2019-11-05', '02:22:00', '2019-11-05 00:00:00', 'ir a chone a cantar', NULL, NULL, 'T', NULL, 'true', 'false'), (128, 118, 'Terminada', 4, 'Ultima tarea', '2019-11-05', '13:45:00', '2019-11-05', '13:45:00', '2019-11-05 00:00:00', 'banar a lucio', NULL, NULL, 'T', NULL, 'true', 'false'), (129, 118, 'Terminada', 4, 'c3', '2019-11-05', '14:56:00', '2019-11-05', '14:57:00', '2019-11-05 00:00:00', 'c2', NULL, NULL, 'T', NULL, 'true', 'false'), (130, 118, 'Terminada', 4, 'hola', '2019-11-05', '13:27:00', '2019-11-05', '13:27:00', '2019-11-05 00:00:00', 'como', NULL, NULL, 'T', NULL, 'true', 'false'), (131, 118, 'Terminada', 4, 'casa', '2019-11-05', '17:41:00', '2019-11-05', '17:41:00', '2019-11-05 00:00:00', 'dia', NULL, NULL, 'T', NULL, 'true', 'false'), (132, 118, 'Terminada', 4, 'seguir programando', '2019-11-07', '07:00:00', '2019-12-07', '17:00:00', '2019-11-07 00:00:00', 'crear los modulos', NULL, NULL, 'T', NULL, 'true', 'false'), (133, 120, 'Terminada', 4, 'seguir programando', '2019-11-07', '08:00:00', '2019-12-07', '17:00:00', '2019-11-07 00:00:00', 'vamos a darle', NULL, NULL, 'T', NULL, 'true', 'false'), (134, 120, 'Terminada', 5, 'jose', '2019-11-07', '11:54:22', '2019-11-07', '14:52:22', '2019-11-07 00:00:00', 'dasd', 1, NULL, 'T', NULL, 'true', 'false'), (135, 120, 'Terminada', 5, 'PRobando fecha Inicio', '2019-11-09', '01:05:01', '2019-11-11', '12:14:01', '2019-11-08 00:00:00', 'das', 1, NULL, 'T', NULL, 'true', 'false'), (136, 120, 'Pendiente', 4, 'FSD', '2019-11-08', '14:50:43', '2019-12-27', '14:47:43', '2019-11-08 00:00:00', 'FSD', 1, 133, 'S', NULL, 'false', 'false'), (137, 120, 'Terminada', 4, 'ir a chone', '2019-11-08', '19:58:00', '2019-11-09', '19:58:00', '2019-11-08 00:00:00', 'viajar en carro a la ciudad de chone', NULL, 70, 'S', NULL, 'true', 'false'), (138, 120, 'Terminada', 4, 'aws', '2019-11-08', '20:09:00', '2019-11-08', '20:09:00', '2019-11-08 00:00:00', 'es un servicio de servidores', NULL, 105, 'S', NULL, 'true', 'false'), (139, 120, 'Terminada', 5, 'aaaaaa', '2019-11-08', '15:36:00', '2019-12-31', '15:33:00', '2019-11-08 00:00:00', 'sssssss', 1, 133, 'S', '2019-11-25 11:53:15', 'false', 'false'), (140, 120, 'Terminada', 5, 'hhhhhhhhh', '2019-11-08', '15:45:03', '2019-12-07', '15:37:03', '2019-11-08 00:00:00', 'ffff', 1, 133, 'S', '2019-11-28 00:41:13', 'false', 'false'), (141, 120, 'Terminada', 4, 'fffff', '2019-11-08', '15:43:30', '2019-11-08', '15:43:30', '2019-11-08 00:00:00', 'fffffff', 1, 133, 'S', NULL, 'true', 'false'), (142, 120, 'Terminada', 4, 'sss', '2019-11-08', '15:57:37', '2019-11-07', '15:57:37', '2019-11-08 00:00:00', 'sss', 1, 133, 'S', NULL, 'true', 'false'), (143, 120, 'Terminada', 4, 'ir a calceta', '2019-11-08', '20:59:00', '2019-11-08', '20:59:00', '2019-11-08 00:00:00', 'ir en carro a calceta', NULL, 70, 'S', NULL, 'true', 'false'), (144, 120, 'Terminada', 4, 'manana', '2019-11-08', '21:06:00', '2019-11-08', '21:06:00', '2019-11-08 00:00:00', 'es hora de ir', NULL, 107, 'S', NULL, 'true', 'false'), (145, 120, 'Terminada', 4, 'tiempo6', '2019-11-09', '05:32:00', '2019-11-09', '12:00:00', '2019-11-08 00:00:00', 'probar scrpit', NULL, NULL, 'T', NULL, 'true', 'false'), (151, 120, 'Terminada', 4, 'revisa jose', '2019-11-09', '14:33:00', '2019-11-09', '14:33:00', '2019-11-09 00:00:00', 'que estas probando', NULL, NULL, 'T', NULL, 'true', 'false'), (152, 120, 'Terminada', 4, 'ooooooooooooo', '2019-11-09', '14:40:00', '2019-11-09', '14:40:00', '2019-11-09 00:00:00', 'ppppppppppppp', NULL, NULL, 'T', NULL, 'true', 'false'), (153, 120, 'Terminada', 4, 'actualizate', '2019-11-09', '15:04:00', '2019-11-09', '15:04:00', '2019-11-09 00:00:00', '123', NULL, NULL, 'T', NULL, 'true', 'false'), (154, 120, 'Terminada', 4, ',,', '2019-11-10', '01:23:07', '2019-12-27', '01:23:07', '2019-11-09 01:24:08', 'd', 1, 136, 'S', '2019-11-28 00:39:13', 'false', 'false'), (155, 120, 'Terminada', 5, 'PROBANDO NOTIFICACIONES', '2019-11-27', '16:08:07', '2019-11-27', '17:08:07', '2019-11-27 15:10:43', 'nose si funcione', 1, NULL, 'T', NULL, 'true', 'false'), (156, 120, 'Terminada', 5, 'SEGUNDA PRUEBA DE NOTIFICACIONES', '2019-11-27', '16:15:56', '2019-11-27', '17:15:56', '2019-11-27 15:16:36', 'NO SABEMOS SI FUNCIONA', 1, NULL, 'T', NULL, 'true', 'false'), (157, 120, 'Terminada', 5, 'TERCERA PRUEBA', '2019-11-27', '15:19:50', '2019-11-27', '16:18:03', '2019-11-27 15:18:35', 'NO SE', 1, NULL, 'T', NULL, 'true', 'false'), (158, 120, 'Terminada', 5, '<NAME>', '2019-11-27', '15:25:01', '2019-11-27', '15:27:01', '2019-11-27 15:23:22', 'NO SE', 1, NULL, 'T', NULL, 'true', 'false'), (159, 120, 'Terminada', 5, 'otra prueba', '2019-11-27', '15:45:05', '2019-11-27', '15:48:38', '2019-11-27 15:44:07', 'fsdfasdfsadf', 1, NULL, 'T', NULL, 'true', 'false'), (160, 120, 'Terminada', 5, 'fffffffffffffffff', '2019-11-27', '15:56:19', '2019-11-27', '15:59:07', '2019-11-27 15:49:43', 'fffffffffff', 1, NULL, 'T', NULL, 'true', 'false'), (161, 120, 'Terminada', 4, 'subta', '2019-11-27', '22:27:27', '2019-11-27', '23:26:27', '2019-11-27 22:26:41', 'fsdfsdf', 1, 133, 'S', NULL, 'true', 'false'), (162, 120, 'Terminada', 5, 'holo', '2019-11-28', '13:23:45', '2019-11-28', '13:35:45', '2019-11-28 13:18:00', 'sadfds', 1, NULL, 'T', NULL, 'true', 'false'), (163, 120, 'Pendiente', 5, 'sss', '2019-12-08', '09:56:54', '2019-12-09', '09:54:54', '2019-12-08 09:55:16', 'jkkl', 1, NULL, 'T', NULL, 'false', 'true'), (164, 120, 'Terminada', 5, 'vancida', '2019-12-08', '11:38:59', '2019-12-08', '11:39:59', '2019-12-08 10:14:50', 'jnjk', 1, NULL, 'T', '2019-12-08 12:16:28', 'true', 'false'), (165, 120, 'Pendiente', 4, 'gdsgfdsgsd', '2019-12-08', '11:59:09', '2019-12-08', '12:57:09', '2019-12-08 11:57:37', 'fsdf', 1, NULL, 'T', NULL, 'false', 'true'), (167, 120, 'Pendiente', 5, 'gfhf', '2019-12-11', '23:32:48', '2019-12-13', '23:33:00', '2019-12-11 23:29:12', 'hgf', 1, NULL, 'T', NULL, 'false', 'true'), (168, 120, 'Pendiente', 5, 'ssssss', '2019-12-11', '23:45:36', '2019-12-11', '23:50:36', '2019-12-11 23:41:44', 'ssssssssss', 1, NULL, 'T', NULL, 'false', 'false'), (169, 120, 'Pendiente', 5, 'se', '2019-12-11', '23:43:01', '2019-12-11', '23:44:01', '2019-12-11 23:42:17', 'se', 1, 168, 'S', NULL, 'false', 'true'), (170, 116, 'Pendiente', 5, 'thrgh', '2019-12-12', '21:47:56', '2019-12-12', '21:56:56', '2019-12-12 21:45:29', 'hgfhdf', 1, NULL, 'T', NULL, 'false', 'false'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `tipo_tarea` -- CREATE TABLE `tipo_tarea` ( `Id_Tipo_Tarea` int(11) NOT NULL, `Descripcion` varchar(450) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `tipo_tarea` -- INSERT INTO `tipo_tarea` (`Id_Tipo_Tarea`, `Descripcion`) VALUES (1, 'Tarea'), (2, 'Proyecto'), (3, 'Reunión'), (4, 'Personal'), (5, 'Laboral'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `tipo_usuarios` -- CREATE TABLE `tipo_usuarios` ( `Id_Tipo_Usuario` int(11) NOT NULL, `Descripcion` varchar(200) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `tipo_usuarios` -- INSERT INTO `tipo_usuarios` (`Id_Tipo_Usuario`, `Descripcion`) VALUES (1, 'Empleado'), (2, 'Administrador'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `usuarios` -- CREATE TABLE `usuarios` ( `Id_Usuario` int(11) NOT NULL, `Nombre` varchar(500) DEFAULT NULL, `Apellido` varchar(500) DEFAULT NULL, `Cedula` varchar(10) DEFAULT NULL, `email` varchar(100) DEFAULT NULL, `Direccion` varchar(100) DEFAULT NULL, `Celular` varchar(11) DEFAULT NULL, `Sexo` varchar(10) DEFAULT NULL, `Id_tipo_Usuarios` int(11) DEFAULT NULL, `Password` varchar(450) NOT NULL, `Instagram` varchar(450) NOT NULL, `Twitter` varchar(450) NOT NULL, `Facebook` varchar(450) NOT NULL, `Fecha_Nacimiento` date NOT NULL, `Intereses` varchar(5000) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `usuarios` -- INSERT INTO `usuarios` (`Id_Usuario`, `Nombre`, `Apellido`, `Cedula`, `email`, `Direccion`, `Celular`, `Sexo`, `Id_tipo_Usuarios`, `Password`, `Instagram`, `Twitter`, `Facebook`, `Fecha_Nacimiento`, `Intereses`) VALUES (116, '<NAME>', '<NAME>', '0000000001', '<EMAIL>', 'Calceta', '0979932503', 'M', 2, 'am9zZTE5OTU=', '@joseleonardo', '@joseleonardodsas', 'leon<EMAIL>', '2019-11-01', 'me gusta programar'), (117, 'Edwin', 'Moreira', '000000002', '<EMAIL>', 'Calceta', '0000000000-', 'M', 1, 'MTIz', '', '', 'ed', '0000-00-00', ''), (118, 'JC', 'Solorzano', '0000000003', '<EMAIL>', 'Chone', '000000000', 'M', 1, '1234', '@39josecarlos', '@39josecar', 'JC', '0000-00-00', 'Me gusta la musica'), (119, 'Tito', 'Barreiro', '0000000004', '<EMAIL>', 'Chone', '00000000', 'M', 1, 'MTIz', '', '', '', '0000-00-00', ''), (120, 'Leonardo', 'Sabando', '1315221563', '<EMAIL>', 'Calceta', '0979932503', 'Masculino', 1, 'MTIz', '@jose', '@jose', '@leonardosabando', '1995-07-03', 'PROGRAMANDO'), (121, 'Luis', 'Loaisa', '123456789', '<EMAIL>', 'Chone', '25648', 'Masculino', 1, '1234', 'je', 'je', 'je', '2019-11-14', 'jugar '), (122, 'Luis', 'Loaisa', '123456789', '<EMAIL>', 'Chone', '25648', 'Masculino', 1, '1234', 'je', 'je', 'je', '2019-11-14', 'jugar '), (123, 'Luisa', 'lois', '00001', '<EMAIL>', 'chone', '15422', 'Femenino', 1, '1234', 'losa2', 'loisa1', 'loisa', '2019-11-05', 'me gusta cantar'), (124, '1', '1', '1', '<EMAIL>', '1', '1', 'Masculino', 1, 'am9zZTE5OTY=', '1', '1', '1', '1996-07-19', 'hola'), (125, 'juan', 'sa', '9876543210', '', NULL, NULL, NULL, NULL, '', '', '', '', '0000-00-00', ''), (126, 'GDSFGSDGDSGFD', 'PONCE GDSGDS', '1111', NULL, NULL, '0983827812', NULL, NULL, '', '', '', '', '0000-00-00', ''), (127, '<NAME>DSFGSDG', 'GDFSFRANCO ', '1111', '111', 'MANTA', '0979932504', 'F', 1, 'MTIz', '', '', '', '0000-00-00', ''), (671, '<NAME>', '<NAME>', '1310485584', NULL, NULL, '983827812', NULL, NULL, '', '', '', '', '0000-00-00', ''), (672, '<NAME>', '<NAME>', '1313065664', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (673, '<NAME>', '<NAME>', '1311639197', NULL, NULL, '983842601', NULL, NULL, '', '', '', '', '0000-00-00', ''), (674, '<NAME>', '<NAME>', '1313235572', NULL, NULL, '989904055', NULL, NULL, '', '', '', '', '0000-00-00', ''), (675, '<NAME>', '<NAME>', '1311896813', NULL, NULL, '987720360', NULL, NULL, '', '', '', '', '0000-00-00', ''), (676, '<NAME>', '<NAME>', '1312469891', NULL, NULL, '982969546', NULL, NULL, '', '', '', '', '0000-00-00', ''), (677, '<NAME>', '<NAME>', '1313209536', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (678, '<NAME>', '<NAME>', '1302694656', NULL, NULL, '969700083', NULL, NULL, '', '', '', '', '0000-00-00', ''), (679, '<NAME>', '<NAME>', '951941350', NULL, NULL, '981262428', NULL, NULL, '', '', '', '', '0000-00-00', ''), (680, '<NAME>', '<NAME>', '1312640392', NULL, NULL, '991896128', NULL, NULL, '', '', '', '', '0000-00-00', ''), (681, '<NAME>', '<NAME>', '1309473831', NULL, NULL, '991870922', NULL, NULL, '', '', '', '', '0000-00-00', ''), (682, '<NAME>', '<NAME>', '1310761117', NULL, NULL, '995395176', NULL, NULL, '', '', '', '', '0000-00-00', ''), (683, '<NAME>', 'CEDEÑ<NAME>', '1310712664', NULL, NULL, '991707371', NULL, NULL, '', '', '', '', '0000-00-00', ''), (684, '<NAME>', '<NAME>', '1306620236', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (685, '<NAME>', 'CEDEÑ<NAME>', '1312179581', NULL, NULL, '996567298', NULL, NULL, '', '', '', '', '0000-00-00', ''), (686, '<NAME>', '<NAME>', '920916533', NULL, NULL, '980835364', NULL, NULL, '', '', '', '', '0000-00-00', ''), (687, '<NAME>', '<NAME>', '901669275', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (688, '<NAME>', '<NAME>', '1312252628', NULL, NULL, '939191916', NULL, NULL, '', '', '', '', '0000-00-00', ''), (689, '<NAME>', '<NAME>', '1312358953', NULL, NULL, '992231244', NULL, NULL, '', '', '', '', '0000-00-00', ''), (690, '<NAME>', '<NAME>', '1312213778', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (691, '<NAME>', '<NAME>', '1305756304', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (692, '<NAME>', '<NAME>', '1309627824', NULL, NULL, '984810992', NULL, NULL, '', '', '', '', '0000-00-00', ''), (693, '<NAME>', '<NAME>', '1314850296', NULL, NULL, '995195208', NULL, NULL, '', '', '', '', '0000-00-00', ''), (694, '<NAME>', '<NAME>', '1312875089', NULL, NULL, '987496807', NULL, NULL, '', '', '', '', '0000-00-00', ''), (695, '<NAME>', '<NAME>', '1313532549', NULL, NULL, '962588543', NULL, NULL, '', '', '', '', '0000-00-00', ''), (696, '<NAME>', '<NAME>', '1307907251', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (697, '<NAME>', '<NAME>', '1316550126', NULL, NULL, '996407578', NULL, NULL, '', '', '', '', '0000-00-00', ''), (698, '<NAME>', '<NAME>', '1313469148', NULL, NULL, '939319659', NULL, NULL, '', '', '', '', '0000-00-00', ''), (699, '<NAME>', '<NAME>', '1314074483', NULL, NULL, '979379939', NULL, NULL, '', '', '', '', '0000-00-00', ''), (700, '<NAME>', '<NAME>', '1312640392', NULL, NULL, '991896128', NULL, NULL, '', '', '', '', '0000-00-00', ''), (701, '<NAME>', '<NAME>', '1310454200', NULL, NULL, '987825844', NULL, NULL, '', '', '', '', '0000-00-00', ''), (702, '<NAME>', '<NAME>', '1312239336', NULL, NULL, '980583557', NULL, NULL, '', '', '', '', '0000-00-00', ''), (703, '<NAME>', '<NAME>', '1309099289', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (704, '<NAME>', '<NAME>', '962815841', NULL, NULL, '995130537', NULL, NULL, '', '', '', '', '0000-00-00', ''), (705, '<NAME>', '<NAME>', '1313249631', NULL, NULL, '982205349', NULL, NULL, '', '', '', '', '0000-00-00', ''), (706, '<NAME>', '<NAME>', '1312102849', NULL, NULL, '991341351', NULL, NULL, '', '', '', '', '0000-00-00', ''), (707, '<NAME>', '<NAME>', '1307593697', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (708, '<NAME>', '<NAME>', '1310801913', NULL, NULL, '988537382', NULL, NULL, '', '', '', '', '0000-00-00', ''), (709, '<NAME>', '<NAME>', '1312848565', NULL, NULL, '994796044', NULL, NULL, '', '', '', '', '0000-00-00', ''), (710, '<NAME>', '<NAME>', '1351997950', NULL, NULL, '979235832', NULL, NULL, '', '', '', '', '0000-00-00', ''), (711, '<NAME>', '<NAME>', '1303992547', NULL, NULL, '990740513', NULL, NULL, '', '', '', '', '0000-00-00', ''), (712, '<NAME>', '<NAME>', '1312723404', NULL, NULL, '996626916', NULL, NULL, '', '', '', '', '0000-00-00', ''), (713, '<NAME>', '<NAME>', '1312958877', NULL, NULL, '982313207', NULL, NULL, '', '', '', '', '0000-00-00', ''), (714, '<NAME>', '<NAME>', '1302111925', NULL, NULL, '990128838', NULL, NULL, '', '', '', '', '0000-00-00', ''), (715, '<NAME>', '<NAME>', '1311757759', NULL, NULL, '998731841', NULL, NULL, '', '', '', '', '0000-00-00', ''), (716, '<NAME>', '<NAME>', '1310312473', NULL, NULL, '981490962', NULL, NULL, '', '', '', '', '0000-00-00', ''), (717, 'NADIA ', '<NAME>', '1756704761', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (718, '<NAME>', '<NAME>', '1312579681', NULL, NULL, '989522180', NULL, NULL, '', '', '', '', '0000-00-00', ''), (719, 'GALO JAVIER', '<NAME>', '1310561640', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (720, '<NAME>', '<NAME>', '959505975', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (721, '<NAME>', '<NAME>', '1307787257', NULL, NULL, '999170422', NULL, NULL, '', '', '', '', '0000-00-00', ''), (722, '<NAME>', '<NAME>', '1312603887', NULL, NULL, '987278835', NULL, NULL, '', '', '', '', '0000-00-00', ''), (723, '<NAME>', '<NAME>', '3050515778', NULL, NULL, '983568370', NULL, NULL, '', '', '', '', '0000-00-00', ''), (724, 'MONSERRATE ', '<NAME>', '1707489140', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (725, '<NAME>', '<NAME>', '1315786689', NULL, NULL, '939896753', NULL, NULL, '', '', '', '', '0000-00-00', ''), (726, '<NAME>', '<NAME>', '1316187424', NULL, NULL, '960429561', NULL, NULL, '', '', '', '', '0000-00-00', ''), (727, '<NAME>', '<NAME>', '1315243624', NULL, NULL, '991168644', NULL, NULL, '', '', '', '', '0000-00-00', ''), (728, '<NAME>', '<NAME>', '1314210392', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (729, '<NAME>', '<NAME>', '1304463225', NULL, NULL, '988583721', NULL, NULL, '', '', '', '', '0000-00-00', ''), (730, '<NAME>', '<NAME>', '1307876530', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (731, '<NAME>', '<NAME>', '1312806910', NULL, NULL, '979843664', NULL, NULL, '', '', '', '', '0000-00-00', ''), (732, '<NAME>', '<NAME>', '1311761140', NULL, NULL, '990236738', NULL, NULL, '', '', '', '', '0000-00-00', ''), (733, '<NAME>', '<NAME>', '1313287474', NULL, NULL, '991983804', NULL, NULL, '', '', '', '', '0000-00-00', ''), (734, '<NAME>', '<NAME>', '1313559799', NULL, NULL, '959059746', NULL, NULL, '', '', '', '', '0000-00-00', ''), (735, '<NAME>', '<NAME>', '1309746640', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (736, '<NAME>', '<NAME>', '1310760192', NULL, NULL, '985847767', NULL, NULL, '', '', '', '', '0000-00-00', ''), (737, '<NAME>', '<NAME>', '1309375051', NULL, NULL, '959411449', NULL, NULL, '', '', '', '', '0000-00-00', ''), (738, '<NAME>', '<NAME>', '1316362795', NULL, NULL, '996910161', NULL, NULL, '', '', '', '', '0000-00-00', ''), (739, '<NAME>', '<NAME>', '1310498603', NULL, NULL, '939939248', NULL, NULL, '', '', '', '', '0000-00-00', ''), (740, '<NAME>', '<NAME>', '1307402683', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (741, '<NAME>', '<NAME>', '1311440109', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (742, '<NAME>', '<NAME>', '1313035048', NULL, NULL, '988462511', NULL, NULL, '', '', '', '', '0000-00-00', ''), (743, '<NAME>', '<NAME>', '1310493950', NULL, NULL, '991848142', NULL, NULL, '', '', '', '', '0000-00-00', ''), (744, '<NAME>', '<NAME>', '1309789863', NULL, NULL, '959201714', NULL, NULL, '', '', '', '', '0000-00-00', ''), (745, '<NAME>', '<NAME>', '1313094425', NULL, NULL, '985352976', NULL, NULL, '', '', '', '', '0000-00-00', ''), (746, '<NAME>', '<NAME>', '1317154431', NULL, NULL, '995907912', NULL, NULL, '', '', '', '', '0000-00-00', ''), (747, '<NAME>', '<NAME>', '1312958877', NULL, NULL, '982313207', NULL, NULL, '', '', '', '', '0000-00-00', ''), (748, '<NAME>', '<NAME>', '1315487403', NULL, NULL, '959632957', NULL, NULL, '', '', '', '', '0000-00-00', ''), (749, '<NAME>', '<NAME>', '1311720567', NULL, NULL, '983337851', NULL, NULL, '', '', '', '', '0000-00-00', ''), (750, '<NAME>', '<NAME>', '1309512034', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (751, '<NAME>', '<NAME>', '1312288408', NULL, NULL, '985767903', NULL, NULL, '', '', '', '', '0000-00-00', ''), (752, '<NAME>', '<NAME>', '1308292216', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (753, '<NAME>', '<NAME>', '1304094129', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (754, '<NAME>', '<NAME>', '1312958885', NULL, NULL, '939171454', NULL, NULL, '', '', '', '', '0000-00-00', ''), (755, '<NAME>', '<NAME>', '1307788750', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (756, '<NAME>', '<NAME>', '1316501764', NULL, NULL, '992391359', NULL, NULL, '', '', '', '', '0000-00-00', ''), (757, '<NAME>', '<NAME>', '1308580420', NULL, NULL, '993880683', NULL, NULL, '', '', '', '', '0000-00-00', ''), (758, '<NAME>', '<NAME>', '1312853540', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (759, '<NAME>', '<NAME>', '1309031167', NULL, NULL, '939569065', NULL, NULL, '', '', '', '', '0000-00-00', ''), (760, '<NAME>', '<NAME>', '1310641426', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (761, '<NAME>', '<NAME>', '1316288529', NULL, NULL, '969166374', NULL, NULL, '', '', '', '', '0000-00-00', ''), (762, '<NAME>', '<NAME>', '1310777766', NULL, NULL, '999447674', NULL, NULL, '', '', '', '', '0000-00-00', ''), (763, 'ALEXANDER ', '<NAME>', '6103195639', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (764, '<NAME>', '<NAME>', '1311549651', NULL, NULL, '998561711', NULL, NULL, '', '', '', '', '0000-00-00', ''), (765, '<NAME>', '<NAME>', '1310479330', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (766, '<NAME>', '<NAME>', '1313310987', NULL, NULL, '996172650', NULL, NULL, '', '', '', '', '0000-00-00', ''), (767, '<NAME>', '<NAME>', '1312605742', NULL, NULL, '982424035', NULL, NULL, '', '', '', '', '0000-00-00', ''), (768, '<NAME>', '<NAME>', '1309199220', NULL, NULL, '991588864', NULL, NULL, '', '', '', '', '0000-00-00', ''), (769, '<NAME>', '<NAME>', '1310080062', NULL, NULL, '958705708', NULL, NULL, '', '', '', '', '0000-00-00', ''), (770, '<NAME>', '<NAME>', '1309957155', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (771, '<NAME>', '<NAME>', '1314589837', NULL, NULL, '968435308', NULL, NULL, '', '', '', '', '0000-00-00', ''), (772, '<NAME>', '<NAME>', '1310491129', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (773, '<NAME>', '<NAME>', '1316316999', NULL, NULL, '995557147', NULL, NULL, '', '', '', '', '0000-00-00', ''), (774, '<NAME>', '<NAME>', '1311667412', NULL, NULL, '979496904', NULL, NULL, '', '', '', '', '0000-00-00', ''), (775, '<NAME>', '<NAME>', '1310475585', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (776, '<NAME>', '<NAME>', '1310805450', NULL, NULL, '982011748', NULL, NULL, '', '', '', '', '0000-00-00', ''), (777, '<NAME>', '<NAME>', '962700449', NULL, NULL, '979370090', NULL, NULL, '', '', '', '', '0000-00-00', ''), (778, '<NAME>', '<NAME>', '1350654891', NULL, NULL, '994968342', NULL, NULL, '', '', '', '', '0000-00-00', ''), (779, '<NAME>', '<NAME>', '962236576', NULL, NULL, '983071887', NULL, NULL, '', '', '', '', '0000-00-00', ''), (780, '<NAME>', '<NAME>', '1308257201', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (781, '<NAME>', '<NAME>', '1309701298', NULL, NULL, '979001118', NULL, NULL, '', '', '', '', '0000-00-00', ''), (782, '<NAME>', '<NAME>', '1312241829', NULL, NULL, '996100627', NULL, NULL, '', '', '', '', '0000-00-00', ''), (783, '<NAME>', '<NAME>', '1307218972', NULL, NULL, '996213699', NULL, NULL, '', '', '', '', '0000-00-00', ''), (784, '<NAME>', '<NAME>', '1312649286', NULL, NULL, '993097476', NULL, NULL, '', '', '', '', '0000-00-00', ''), (785, '<NAME>', '<NAME>', '1307255719', NULL, NULL, '981763778', NULL, NULL, '', '', '', '', '0000-00-00', ''), (786, '<NAME>', '<NAME>', '1312202565', NULL, NULL, '997987548', NULL, NULL, '', '', '', '', '0000-00-00', ''), (787, '<NAME>', '<NAME>', '1313301283', NULL, NULL, '956479678', NULL, NULL, '', '', '', '', '0000-00-00', ''), (788, '<NAME>', '<NAME>', '1312285867', NULL, NULL, '968679358', NULL, NULL, '', '', '', '', '0000-00-00', ''), (789, '<NAME>', '<NAME>', '1303968661', NULL, NULL, '981334207', NULL, NULL, '', '', '', '', '0000-00-00', ''), (790, '<NAME>', '<NAME>', '1312043761', NULL, NULL, '939044969', NULL, NULL, '', '', '', '', '0000-00-00', ''), (791, '<NAME>', '<NAME>', '1311876690', NULL, NULL, '987928838', NULL, NULL, '', '', '', '', '0000-00-00', ''), (792, '<NAME>', '<NAME>', '1316550241', NULL, NULL, '981551779', NULL, NULL, '', '', '', '', '0000-00-00', ''), (793, '<NAME>', '<NAME>', '1312077918', NULL, NULL, '982155444', NULL, NULL, '', '', '', '', '0000-00-00', ''), (794, '<NAME>', '<NAME>', '1312145848', NULL, NULL, '939423398', NULL, NULL, '', '', '', '', '0000-00-00', ''), (795, '<NAME>', '<NAME>', '802967653', NULL, NULL, '981202037', NULL, NULL, '', '', '', '', '0000-00-00', ''), (796, '<NAME>', '<NAME>', '1313837120', NULL, NULL, '996589418', NULL, NULL, '', '', '', '', '0000-00-00', ''), (797, '<NAME>', '<NAME>', '1310092786', NULL, NULL, '983350973', NULL, NULL, '', '', '', '', '0000-00-00', ''), (798, '<NAME>', '<NAME>', '1306308691', NULL, NULL, '959886251', NULL, NULL, '', '', '', '', '0000-00-00', ''), (799, '<NAME>', '<NAME>', '1310459001', NULL, NULL, '992005547', NULL, NULL, '', '', '', '', '0000-00-00', ''), (800, '<NAME>', '<NAME>', '1306753995', NULL, NULL, '967071300', NULL, NULL, '', '', '', '', '0000-00-00', ''), (801, '<NAME>', '<NAME>', '1309159406', NULL, NULL, '979662017', NULL, NULL, '', '', '', '', '0000-00-00', ''), (802, '<NAME>', '<NAME>', '1309071569', NULL, NULL, '960860548', NULL, NULL, '', '', '', '', '0000-00-00', ''), (803, '<NAME>', '<NAME>', '1306797745', NULL, NULL, '992869874', NULL, NULL, '', '', '', '', '0000-00-00', ''), (804, '<NAME>', '<NAME>', '1314746395', NULL, NULL, '980780978', NULL, NULL, '', '', '', '', '0000-00-00', ''), (805, '<NAME>', '<NAME>', '1315079218', NULL, NULL, '982414879', NULL, NULL, '', '', '', '', '0000-00-00', ''), (806, '<NAME>', '<NAME>', '1758465205', NULL, NULL, '995130537', NULL, NULL, '', '', '', '', '0000-00-00', ''), (807, '<NAME>', '<NAME>', '1307624625', NULL, NULL, '988366556', NULL, NULL, '', '', '', '', '0000-00-00', ''), (808, '<NAME>', '<NAME>', '1314916154', NULL, NULL, '999725204', NULL, NULL, '', '', '', '', '0000-00-00', ''), (809, '<NAME>', '<NAME>', '1315170124', NULL, NULL, '993051351', NULL, NULL, '', '', '', '', '0000-00-00', ''), (810, '<NAME>', '<NAME>', '1313771261', NULL, NULL, '981793263', NULL, NULL, '', '', '', '', '0000-00-00', ''), (811, '<NAME>', '<NAME>', '1310457484', NULL, NULL, '967097264', NULL, NULL, '', '', '', '', '0000-00-00', ''), (812, '<NAME>', '<NAME>', '1313734103', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (813, '<NAME>', '<NAME>', '1309664785', NULL, NULL, '996293407', NULL, NULL, '', '', '', '', '0000-00-00', ''), (814, '<NAME>', '<NAME>', '1314732494', NULL, NULL, '996451406', NULL, NULL, '', '', '', '', '0000-00-00', ''), (815, '<NAME>', '<NAME>', '1312276767', NULL, NULL, '981763778', NULL, NULL, '', '', '', '', '0000-00-00', ''), (816, 'WILSON ANDRES', '<NAME>', '1309760922', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (817, '<NAME>', '<NAME>', '1310582976', NULL, NULL, '967385561', NULL, NULL, '', '', '', '', '0000-00-00', ''), (818, '<NAME>', '<NAME>', '1312806704', NULL, NULL, '939643305', NULL, NULL, '', '', '', '', '0000-00-00', ''), (819, '<NAME>', '<NAME>', '1311928871', NULL, NULL, '991022910', NULL, NULL, '', '', '', '', '0000-00-00', ''), (820, '<NAME>', '<NAME>', '1314927532', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (821, '<NAME>', '<NAME>', '1309711636', NULL, NULL, '968174601', NULL, NULL, '', '', '', '', '0000-00-00', ''), (822, '<NAME>', '<NAME>', '1309701231', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (823, '<NAME>', '<NAME>', '1308736766', NULL, NULL, '991121309', NULL, NULL, '', '', '', '', '0000-00-00', ''), (824, '<NAME>', '<NAME>', '1313067520', NULL, NULL, '979000969', NULL, NULL, '', '', '', '', '0000-00-00', ''), (825, '<NAME>', '<NAME>', '1317288353', NULL, NULL, '968907820', NULL, NULL, '', '', '', '', '0000-00-00', ''), (826, '<NAME>', '<NAME>', '1312573650', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (827, '<NAME>', '<NAME>', '1316258035', NULL, NULL, '960834545', NULL, NULL, '', '', '', '', '0000-00-00', ''), (828, '<NAME>', '<NAME>', '1314020130', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (829, '<NAME>', '<NAME>', '1315962280', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (830, '<NAME>', '<NAME>', '1308438751', NULL, NULL, '994543682', NULL, NULL, '', '', '', '', '0000-00-00', ''), (831, '<NAME>', '<NAME>', '1317025144', NULL, NULL, '988146174', NULL, NULL, '', '', '', '', '0000-00-00', ''), (832, '<NAME>', '<NAME>', '1308172491', NULL, NULL, '991131087', NULL, NULL, '', '', '', '', '0000-00-00', ''), (833, '<NAME>', '<NAME>', '1308588787', NULL, NULL, '985031349', NULL, NULL, '', '', '', '', '0000-00-00', ''), (834, '<NAME>', '<NAME>', '1314295070', NULL, NULL, '992070416', NULL, NULL, '', '', '', '', '0000-00-00', ''), (835, '<NAME>', '<NAME>', '1314512300', NULL, NULL, '979132591', NULL, NULL, '', '', '', '', '0000-00-00', ''), (836, '<NAME>', '<NAME>', '1311960981', NULL, NULL, '996540827', NULL, NULL, '', '', '', '', '0000-00-00', ''), (837, '<NAME>', '<NAME>', '1315350155', NULL, NULL, '995709380', NULL, NULL, '', '', '', '', '0000-00-00', ''), (838, '<NAME>', '<NAME>', '1310805666', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (839, '<NAME>', '<NAME>', '1310949564', NULL, NULL, '978727459', NULL, NULL, '', '', '', '', '0000-00-00', ''), (840, '<NAME>', '<NAME>', '1716466758', NULL, NULL, '939105067', NULL, NULL, '', '', '', '', '0000-00-00', ''), (841, '<NAME>', '<NAME>', '1312100710', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (842, '<NAME>', '<NAME>', '1313675504', NULL, NULL, '994918639', NULL, NULL, '', '', '', '', '0000-00-00', ''), (843, '<NAME>', '<NAME>', '1315736452', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (844, '<NAME>', '<NAME>', '1314029065', NULL, NULL, '990737947', NULL, NULL, '', '', '', '', '0000-00-00', ''), (845, '<NAME>', '<NAME>', '1312380858', NULL, NULL, '967243569', NULL, NULL, '', '', '', '', '0000-00-00', ''), (846, '<NAME>', '<NAME>', '1315640878', NULL, NULL, '993672319', NULL, NULL, '', '', '', '', '0000-00-00', ''), (847, '<NAME>', '<NAME>', '1311546475', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (848, '<NAME>', '<NAME>', '1314753433', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''), (849, '<NAME>', '<NAME>', '1314030113', NULL, NULL, '991533940', NULL, NULL, '', '', '', '', '0000-00-00', ''), (850, '<NAME>', '<NAME>', '1314321728', NULL, NULL, '9683076196', NULL, NULL, '', '', '', '', '0000-00-00', ''), (851, '<NAME>', '<NAME>', '1311461964', NULL, NULL, '', NULL, NULL, '', '', '', '', '0000-00-00', ''); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `usuario_roles` -- CREATE TABLE `usuario_roles` ( `Id_Usuario_Roles` int(11) NOT NULL, `Id_Usuario` int(11) DEFAULT NULL, `Id_Roles` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `usuario_roles` -- INSERT INTO `usuario_roles` (`Id_Usuario_Roles`, `Id_Usuario`, `Id_Roles`) VALUES (76, 116, 16), (77, 117, 18), (78, 118, 18), (79, 119, 18), (80, 120, 15), (81, 123, 14), (82, 124, 15), (83, 127, 15); -- -- Índices para tablas volcadas -- -- -- Indices de la tabla `area` -- ALTER TABLE `area` ADD PRIMARY KEY (`Id_Area`); -- -- Indices de la tabla `area_roles` -- ALTER TABLE `area_roles` ADD PRIMARY KEY (`Id_Area_Roles`), ADD KEY `AreaFK_idx` (`Id_Area`), ADD KEY `RolesFK_idx` (`Id_Roles`); -- -- Indices de la tabla `asistencia` -- ALTER TABLE `asistencia` ADD PRIMARY KEY (`Id_asistencia`), ADD KEY `AsistenciaFkUsuario_idx` (`Id_Usuario`), ADD KEY `AsistenciaReunionFk_idx` (`IdReunion`); -- -- Indices de la tabla `conclusion` -- ALTER TABLE `conclusion` ADD PRIMARY KEY (`Id_Conclusion`), ADD UNIQUE KEY `Id_Itinerario` (`Id_Itinerario`); -- -- Indices de la tabla `documento` -- ALTER TABLE `documento` ADD PRIMARY KEY (`Id_Documento`), ADD KEY `TareaFKDoc_idx` (`Id_Tarea`), ADD KEY `UsuarioFkDoc_idx` (`Id_Usuario`); -- -- Indices de la tabla `documento_tarea` -- ALTER TABLE `documento_tarea` ADD PRIMARY KEY (`IdDocumento_Tarea`), ADD KEY `DocumentoFK_idx` (`Id_Documento`), ADD KEY `TareaFK_idx` (`Id_Tarea`), ADD KEY `UsuariosFkDoc_idx` (`Id_Usuario`); -- -- Indices de la tabla `estado_tarea` -- ALTER TABLE `estado_tarea` ADD PRIMARY KEY (`Id_Estado_Tarea`); -- -- Indices de la tabla `evento` -- ALTER TABLE `evento` ADD PRIMARY KEY (`Id_Evento`), ADD KEY `UsuarioFk_idx` (`Id_Usuario`); -- -- Indices de la tabla `itinerario` -- ALTER TABLE `itinerario` ADD PRIMARY KEY (`Id_Itinerario`), ADD KEY `ReunionFK_idx` (`Id_Reunion`); -- -- Indices de la tabla `notificaciones` -- ALTER TABLE `notificaciones` ADD PRIMARY KEY (`Id_notificaciones`); -- -- Indices de la tabla `observacion` -- ALTER TABLE `observacion` ADD PRIMARY KEY (`Id_Observacion`), ADD KEY `TareaFKObser_idx` (`Id_Tarea`), ADD KEY `UsuarioFKObser_idx` (`Id_Usuario`), ADD KEY `ObservacionFk_idx` (`ObservacionID`); -- -- Indices de la tabla `observacion_reunion` -- ALTER TABLE `observacion_reunion` ADD PRIMARY KEY (`Id_observacion_reunion`), ADD KEY `ObserUserFk_idx` (`Id_Usuario`), ADD KEY `OBserreunionFk_idx` (`Id_Reunion`), ADD KEY `ObserObseFK_idx` (`Observacion_ID`); -- -- Indices de la tabla `observador_usuario` -- ALTER TABLE `observador_usuario` ADD PRIMARY KEY (`IdObservador_Usuario`), ADD KEY `UserFk_idx` (`Id_Usuario`), ADD KEY `Task_idx` (`Id_Tarea`); -- -- Indices de la tabla `participante_reunion_usuario` -- ALTER TABLE `participante_reunion_usuario` ADD PRIMARY KEY (`Id_participante_reunion_usuario`), ADD KEY `participante_reunion_usuario_FK_Usuario_idx` (`Id_Usuario`), ADD KEY `participante_reunion_usuario_FK_Reuniones_idx` (`Id_Reunion`); -- -- Indices de la tabla `participante_usuario` -- ALTER TABLE `participante_usuario` ADD PRIMARY KEY (`Id_Particpanteusuario`), ADD KEY `Usuario_idx` (`Id_Usuario`), ADD KEY `TareaFK_idx` (`Id_Tarea`); -- -- Indices de la tabla `responsableusuario` -- ALTER TABLE `responsableusuario` ADD PRIMARY KEY (`IdResponsableUsuario`), ADD KEY `UserReFK_idx` (`Id_Usuario`), ADD KEY `TareaReFK_idx` (`Id_Tarea`); -- -- Indices de la tabla `responsable_reunion_usuario` -- ALTER TABLE `responsable_reunion_usuario` ADD PRIMARY KEY (`Id_responsable_reunion_usuario`), ADD KEY `responsable_reunion_usuario_FKUser_idx` (`Id_Usuario`), ADD KEY `responsable_reunion_usuario_FK_Reunion_idx` (`Id_Reunion`); -- -- Indices de la tabla `restauracionclave` -- ALTER TABLE `restauracionclave` ADD PRIMARY KEY (`Id_RestaruracionClave`), ADD KEY `ResCFK_idx` (`Id_Usuario`); -- -- Indices de la tabla `reunion` -- ALTER TABLE `reunion` ADD PRIMARY KEY (`Id_Reunion`), ADD KEY `UserReunionFK_idx` (`Id_Usuario`); -- -- Indices de la tabla `roles` -- ALTER TABLE `roles` ADD PRIMARY KEY (`Id_Roles`), ADD KEY `IdSubAreaFK_idx` (`Id_Sub_Area`); -- -- Indices de la tabla `sub_area` -- ALTER TABLE `sub_area` ADD PRIMARY KEY (`Id_Sub_Area`,`Id_Area`), ADD KEY `AreaFKSubArea_idx` (`Id_Area`); -- -- Indices de la tabla `tarea` -- ALTER TABLE `tarea` ADD PRIMARY KEY (`Id_tarea`), ADD KEY `UserTFk_idx` (`Id_Usuario`), ADD KEY `TipoTaskFK_idx` (`Id_Tipo_Tarea`), ADD KEY `tareaIDRecursi_idx` (`tareasIdTareas`); -- -- Indices de la tabla `tipo_tarea` -- ALTER TABLE `tipo_tarea` ADD PRIMARY KEY (`Id_Tipo_Tarea`); -- -- Indices de la tabla `tipo_usuarios` -- ALTER TABLE `tipo_usuarios` ADD PRIMARY KEY (`Id_Tipo_Usuario`); -- -- Indices de la tabla `usuarios` -- ALTER TABLE `usuarios` ADD PRIMARY KEY (`Id_Usuario`), ADD KEY `TipoUsuariosFK_idx` (`Id_tipo_Usuarios`); -- -- Indices de la tabla `usuario_roles` -- ALTER TABLE `usuario_roles` ADD PRIMARY KEY (`Id_Usuario_Roles`), ADD KEY `RolesFK_idx` (`Id_Roles`), ADD KEY `UsuariosFK_idx` (`Id_Usuario`); -- -- AUTO_INCREMENT de las tablas volcadas -- -- -- AUTO_INCREMENT de la tabla `area` -- ALTER TABLE `area` MODIFY `Id_Area` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=44; -- -- AUTO_INCREMENT de la tabla `area_roles` -- ALTER TABLE `area_roles` MODIFY `Id_Area_Roles` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=71; -- -- AUTO_INCREMENT de la tabla `asistencia` -- ALTER TABLE `asistencia` MODIFY `Id_asistencia` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT de la tabla `conclusion` -- ALTER TABLE `conclusion` MODIFY `Id_Conclusion` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT de la tabla `documento` -- ALTER TABLE `documento` MODIFY `Id_Documento` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=142; -- -- AUTO_INCREMENT de la tabla `documento_tarea` -- ALTER TABLE `documento_tarea` MODIFY `IdDocumento_Tarea` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT de la tabla `estado_tarea` -- ALTER TABLE `estado_tarea` MODIFY `Id_Estado_Tarea` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT de la tabla `evento` -- ALTER TABLE `evento` MODIFY `Id_Evento` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT de la tabla `notificaciones` -- ALTER TABLE `notificaciones` MODIFY `Id_notificaciones` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42; -- -- AUTO_INCREMENT de la tabla `observacion` -- ALTER TABLE `observacion` MODIFY `Id_Observacion` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=141; -- -- AUTO_INCREMENT de la tabla `observacion_reunion` -- ALTER TABLE `observacion_reunion` MODIFY `Id_observacion_reunion` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=48; -- -- AUTO_INCREMENT de la tabla `observador_usuario` -- ALTER TABLE `observador_usuario` MODIFY `IdObservador_Usuario` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=103; -- -- AUTO_INCREMENT de la tabla `participante_reunion_usuario` -- ALTER TABLE `participante_reunion_usuario` MODIFY `Id_participante_reunion_usuario` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=86; -- -- AUTO_INCREMENT de la tabla `participante_usuario` -- ALTER TABLE `participante_usuario` MODIFY `Id_Particpanteusuario` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=135; -- -- AUTO_INCREMENT de la tabla `responsableusuario` -- ALTER TABLE `responsableusuario` MODIFY `IdResponsableUsuario` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=158; -- -- AUTO_INCREMENT de la tabla `responsable_reunion_usuario` -- ALTER TABLE `responsable_reunion_usuario` MODIFY `Id_responsable_reunion_usuario` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=62; -- -- AUTO_INCREMENT de la tabla `restauracionclave` -- ALTER TABLE `restauracionclave` MODIFY `Id_RestaruracionClave` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT de la tabla `reunion` -- ALTER TABLE `reunion` MODIFY `Id_Reunion` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=70; -- -- AUTO_INCREMENT de la tabla `roles` -- ALTER TABLE `roles` MODIFY `Id_Roles` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=35; -- -- AUTO_INCREMENT de la tabla `sub_area` -- ALTER TABLE `sub_area` MODIFY `Id_Sub_Area` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; -- -- AUTO_INCREMENT de la tabla `tarea` -- ALTER TABLE `tarea` MODIFY `Id_tarea` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=171; -- -- AUTO_INCREMENT de la tabla `tipo_tarea` -- ALTER TABLE `tipo_tarea` MODIFY `Id_Tipo_Tarea` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT de la tabla `tipo_usuarios` -- ALTER TABLE `tipo_usuarios` MODIFY `Id_Tipo_Usuario` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT de la tabla `usuarios` -- ALTER TABLE `usuarios` MODIFY `Id_Usuario` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=852; -- -- AUTO_INCREMENT de la tabla `usuario_roles` -- ALTER TABLE `usuario_roles` MODIFY `Id_Usuario_Roles` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=84; -- -- Restricciones para tablas volcadas -- -- -- Filtros para la tabla `area_roles` -- ALTER TABLE `area_roles` ADD CONSTRAINT `AreaFK` FOREIGN KEY (`Id_Area`) REFERENCES `area` (`Id_Area`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `RolFK` FOREIGN KEY (`Id_Roles`) REFERENCES `roles` (`Id_Roles`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `asistencia` -- ALTER TABLE `asistencia` ADD CONSTRAINT `AsistenciaFkUsuario` FOREIGN KEY (`Id_Usuario`) REFERENCES `usuarios` (`Id_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `AsistenciaReunionFk` FOREIGN KEY (`IdReunion`) REFERENCES `reunion` (`Id_Reunion`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `conclusion` -- ALTER TABLE `conclusion` ADD CONSTRAINT `conclusion_ibfk_1` FOREIGN KEY (`Id_Itinerario`) REFERENCES `itinerario` (`Id_Itinerario`); -- -- Filtros para la tabla `documento` -- ALTER TABLE `documento` ADD CONSTRAINT `TareaFKDoc` FOREIGN KEY (`Id_Tarea`) REFERENCES `tarea` (`Id_tarea`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `UsuarioFkDoc` FOREIGN KEY (`Id_Usuario`) REFERENCES `usuarios` (`Id_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `documento_tarea` -- ALTER TABLE `documento_tarea` ADD CONSTRAINT `DocumentoFK` FOREIGN KEY (`Id_Documento`) REFERENCES `documento` (`Id_Documento`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `TareaFK` FOREIGN KEY (`Id_Tarea`) REFERENCES `tarea` (`Id_tarea`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `UsuariosFkDoc` FOREIGN KEY (`Id_Usuario`) REFERENCES `usuarios` (`Id_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `evento` -- ALTER TABLE `evento` ADD CONSTRAINT `UsuarioFk` FOREIGN KEY (`Id_Usuario`) REFERENCES `usuarios` (`Id_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `itinerario` -- ALTER TABLE `itinerario` ADD CONSTRAINT `ReunionFK` FOREIGN KEY (`Id_Reunion`) REFERENCES `reunion` (`Id_Reunion`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `observacion` -- ALTER TABLE `observacion` ADD CONSTRAINT `ObservacionFk` FOREIGN KEY (`ObservacionID`) REFERENCES `observacion` (`Id_Observacion`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `TareaFKObser` FOREIGN KEY (`Id_Tarea`) REFERENCES `tarea` (`Id_tarea`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `UsuarioFKObser` FOREIGN KEY (`Id_Usuario`) REFERENCES `usuarios` (`Id_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `observacion_reunion` -- ALTER TABLE `observacion_reunion` ADD CONSTRAINT `OBserreunionFk` FOREIGN KEY (`Id_Reunion`) REFERENCES `reunion` (`Id_Reunion`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `ObserObseFK` FOREIGN KEY (`Observacion_ID`) REFERENCES `observacion_reunion` (`Id_observacion_reunion`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `ObserUserFk` FOREIGN KEY (`Id_Usuario`) REFERENCES `usuarios` (`Id_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `observador_usuario` -- ALTER TABLE `observador_usuario` ADD CONSTRAINT `Task` FOREIGN KEY (`Id_Tarea`) REFERENCES `tarea` (`Id_tarea`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `UserFk` FOREIGN KEY (`Id_Usuario`) REFERENCES `usuarios` (`Id_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `participante_reunion_usuario` -- ALTER TABLE `participante_reunion_usuario` ADD CONSTRAINT `participante_reunion_usuario_FK_Reuniones` FOREIGN KEY (`Id_Reunion`) REFERENCES `reunion` (`Id_Reunion`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `participante_reunion_usuario_FK_Usuario` FOREIGN KEY (`Id_Usuario`) REFERENCES `usuarios` (`Id_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `participante_usuario` -- ALTER TABLE `participante_usuario` ADD CONSTRAINT `TareaPFK` FOREIGN KEY (`Id_Tarea`) REFERENCES `tarea` (`Id_tarea`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `UserPFK` FOREIGN KEY (`Id_Usuario`) REFERENCES `usuarios` (`Id_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `responsableusuario` -- ALTER TABLE `responsableusuario` ADD CONSTRAINT `TareaReFK` FOREIGN KEY (`Id_Tarea`) REFERENCES `tarea` (`Id_tarea`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `UserReFK` FOREIGN KEY (`Id_Usuario`) REFERENCES `usuarios` (`Id_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `responsable_reunion_usuario` -- ALTER TABLE `responsable_reunion_usuario` ADD CONSTRAINT `responsable_reunion_usuario_FKUser` FOREIGN KEY (`Id_Usuario`) REFERENCES `usuarios` (`Id_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `responsable_reunion_usuario_FK_Reunion` FOREIGN KEY (`Id_Reunion`) REFERENCES `reunion` (`Id_Reunion`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `restauracionclave` -- ALTER TABLE `restauracionclave` ADD CONSTRAINT `ResCFK` FOREIGN KEY (`Id_Usuario`) REFERENCES `usuarios` (`Id_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `reunion` -- ALTER TABLE `reunion` ADD CONSTRAINT `UserReunionFK` FOREIGN KEY (`Id_Usuario`) REFERENCES `usuarios` (`Id_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `roles` -- ALTER TABLE `roles` ADD CONSTRAINT `IdSubAreaFK` FOREIGN KEY (`Id_Sub_Area`) REFERENCES `sub_area` (`Id_Sub_Area`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `sub_area` -- ALTER TABLE `sub_area` ADD CONSTRAINT `AreaFKSubArea` FOREIGN KEY (`Id_Area`) REFERENCES `area` (`Id_Area`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `tarea` -- ALTER TABLE `tarea` ADD CONSTRAINT `TipoTaskFK` FOREIGN KEY (`Id_Tipo_Tarea`) REFERENCES `tipo_tarea` (`Id_Tipo_Tarea`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `tareaIDRecursi` FOREIGN KEY (`tareasIdTareas`) REFERENCES `tarea` (`Id_tarea`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `usuarios` -- ALTER TABLE `usuarios` ADD CONSTRAINT `TipoUsuariosFK` FOREIGN KEY (`Id_tipo_Usuarios`) REFERENCES `tipo_usuarios` (`Id_Tipo_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `usuario_roles` -- ALTER TABLE `usuario_roles` ADD CONSTRAINT `RolesFK` FOREIGN KEY (`Id_Roles`) REFERENCES `roles` (`Id_Roles`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `UsuariosFK` FOREIGN KEY (`Id_Usuario`) REFERENCES `usuarios` (`Id_Usuario`) ON DELETE NO ACTION ON UPDATE NO ACTION; 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 */;
-- -------------------------------------------------------- -- Host: 127.0.0.1 -- Server version: 5.7.19 - MySQL Community Server (GPL) -- Server OS: Win64 -- HeidiSQL Version: 9.5.0.5196 -- -------------------------------------------------------- /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET NAMES utf8 */; /*!50503 SET NAMES utf8mb4 */; /*!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' */; -- Dumping data for table zuchan.ci_sessions: 2 rows /*!40000 ALTER TABLE `ci_sessions` DISABLE KEYS */; INSERT INTO `ci_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('jn4lloovf6ce1kksneppeo69ft7dcav9', '::1', 1560932783, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536303933323738333B), ('6m9q8phlev3u7nkfl2i9rnmr08hv70am', '::1', 1560934302, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536303933343330323B), ('bs70q5usohrekaj5kvmqo44up7ri5qin', '::1', 1560934608, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536303933343630383B69647C733A313A2239223B757365727C4F3A383A22737464436C617373223A31333A7B733A323A226964223B733A313A2239223B733A383A2267726F75705F6964223B733A313A2230223B733A343A22726F6C65223B733A353A2261646D696E223B733A383A22757365726E616D65223B733A353A226661747479223B733A353A22656D61696C223B733A31353A2261646D696E40676D61696C2E636F6D223B733A383A2270617373776F7264223B733A36303A222432792431302453673548784D39686654587935783866306137362E2E742F646B44393563554E4D4A4E567977557A623635544D496C3758435A4A4B223B733A323A226970223B733A31343A223138302E3135302E38322E313935223B733A31303A22757365725F6167656E74223B733A3131343A224D6F7A696C6C612F352E30202857696E646F7773204E542031302E303B2057696E36343B2078363429204170706C655765624B69742F3533372E333620284B48544D4C2C206C696B65204765636B6F29204368726F6D652F37352E302E333737302E3930205361666172692F3533372E3336223B733A31303A22637265617465645F6174223B733A31393A22323031392D30362D31352030333A35323A3338223B733A31303A226C6173745F6C6F67696E223B733A31393A22323031392D30362D31392030383A33373A3538223B733A363A22617661746172223B733A353A22392E706E67223B733A353A226C6162656C223B733A31373A224561746572206F66206275727269746F73223B733A393A22706F7374636F756E74223B733A313A2234223B7D6C6173745F706F73747C693A313536303933343436313B), ('mb6tlhqfmf423ab69seib97g81m1ss49', '::1', 1560935035, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536303933353033353B69647C733A313A2239223B757365727C4F3A383A22737464436C617373223A31333A7B733A323A226964223B733A313A2239223B733A383A2267726F75705F6964223B733A313A2230223B733A343A22726F6C65223B733A353A2261646D696E223B733A383A22757365726E616D65223B733A353A226661747479223B733A353A22656D61696C223B733A31353A2261646D696E40676D61696C2E636F6D223B733A383A2270617373776F7264223B733A36303A222432792431302453673548784D39686654587935783866306137362E2E742F646B44393563554E4D4A4E567977557A623635544D496C3758435A4A4B223B733A323A226970223B733A31343A223138302E3135302E38322E313935223B733A31303A22757365725F6167656E74223B733A3131343A224D6F7A696C6C612F352E30202857696E646F7773204E542031302E303B2057696E36343B2078363429204170706C655765624B69742F3533372E333620284B48544D4C2C206C696B65204765636B6F29204368726F6D652F37352E302E333737302E3930205361666172692F3533372E3336223B733A31303A22637265617465645F6174223B733A31393A22323031392D30362D31352030333A35323A3338223B733A31303A226C6173745F6C6F67696E223B733A31393A22323031392D30362D31392030383A33373A3538223B733A363A22617661746172223B733A353A22392E706E67223B733A353A226C6162656C223B733A31373A224561746572206F66206275727269746F73223B733A393A22706F7374636F756E74223B733A313A2234223B7D6C6173745F706F73747C693A313536303933343830353B), ('ripibtjq7gjtbtvopjkr0il93140mh9r', '::1', 1560935753, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536303933353632363B69647C733A323A223231223B757365727C4F3A383A22737464436C617373223A31333A7B733A323A226964223B733A323A223231223B733A383A2267726F75705F6964223B733A313A2230223B733A343A22726F6C65223B733A343A2275736572223B733A383A22757365726E616D65223B733A363A2254656B6B6F6E223B733A353A22656D61696C223B733A31353A2274657374406D61696C2E636F6D3130223B733A383A2270617373776F7264223B733A36303A2224327924313024446F7762756B5855507765576C337959696C78474F65395779576243376C5A797177587150717937536F797950715762756852354F223B733A323A226970223B733A31343A223138302E3135302E38322E313935223B733A31303A22757365725F6167656E74223B733A3131343A224D6F7A696C6C612F352E30202857696E646F7773204E542031302E303B2057696E36343B2078363429204170706C655765624B69742F3533372E333620284B48544D4C2C206C696B65204765636B6F29204368726F6D652F37352E302E333737302E3930205361666172692F3533372E3336223B733A31303A22637265617465645F6174223B733A31393A22323031392D30362D31362030363A30363A3530223B733A31303A226C6173745F6C6F67696E223B733A31393A22323031392D30362D31362030363A30373A3437223B733A363A22617661746172223B733A363A2232312E6A7067223B733A353A226C6162656C223B733A383A22436F6E6372657465223B733A393A22706F7374636F756E74223B733A313A2230223B7D6C6173745F706F73747C693A313536303933353732333B); /*!40000 ALTER TABLE `ci_sessions` ENABLE KEYS */; -- Dumping data for table zuchan.forgot_password: 0 rows /*!40000 ALTER TABLE `forgot_password` DISABLE KEYS */; /*!40000 ALTER TABLE `forgot_password` ENABLE KEYS */; -- Dumping data for table zuchan.groups: 0 rows /*!40000 ALTER TABLE `groups` DISABLE KEYS */; /*!40000 ALTER TABLE `groups` ENABLE KEYS */; -- Dumping data for table zuchan.mailing: 0 rows /*!40000 ALTER TABLE `mailing` DISABLE KEYS */; /*!40000 ALTER TABLE `mailing` ENABLE KEYS */; -- Dumping data for table zuchan.posts: 0 rows /*!40000 ALTER TABLE `posts` DISABLE KEYS */; INSERT INTO `posts` (`id`, `message`, `created_by`, `created`, `modified_by`, `modified`, `flags`) VALUES (73, 'Chocolate candy jelly-o apple pie lollipop lemon drops cake cake chupa chups. Wafer dragée fruitcake. Cake cookie bonbon halvah soufflé. Cake apple pie apple pie muffin caramels wafer.\r\n\r\nPowder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.', 9, '2019-06-19 08:54:21', NULL, NULL, 0), (74, 'Chocolate bar candy halvah cookie cheesecake apple pie pie carrot cake. Muffin donut lollipop toffee sweet roll biscuit candy canes bear claw danish. Chocolate bar gingerbread croissant sweet roll ice cream halvah. Soufflé apple pie marzipan tootsie roll danish.\r\n\r\nTootsie roll tart lollipop gingerbread sesame snaps ice cream topping. Tiramisu powder gingerbread marshmallow jelly-o chupa chups liquorice. Donut donut jelly-o jelly sugar plum. Oat cake gummies liquorice marshmallow soufflé chocolate marshmallow tootsie roll pastry.', 9, '2019-06-19 08:57:16', NULL, NULL, 0), (75, 'Fruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\nChocolate bar candy halvah cookie cheesecake apple pie pie carrot cake. Muffin donut lollipop toffee sweet roll biscuit candy canes bear claw danish. Chocolate bar gingerbread croissant sweet roll ice cream halvah. Soufflé apple pie marzipan tootsie roll danish.', 9, '2019-06-19 08:57:35', NULL, NULL, 0), (76, 'Powder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\n', 9, '2019-06-19 08:57:59', NULL, NULL, 0), (77, 'Tootsie roll tart lollipop gingerbread sesame snaps ice cream topping. Tiramisu powder gingerbread marshmallow jelly-o chupa chups liquorice. Donut donut jelly-o jelly sugar plum. Oat cake gummies liquorice marshmallow soufflé chocolate marshmallow tootsie roll pastry.\r\n\r\n', 9, '2019-06-19 08:58:21', NULL, NULL, 0), (78, 'Powder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\n', 9, '2019-06-19 08:58:39', NULL, NULL, 0), (79, 'Fruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\n', 9, '2019-06-19 08:58:56', NULL, NULL, 0), (80, 'Powder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\n', 9, '2019-06-19 08:59:13', NULL, NULL, 0), (81, 'Fruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\n', 9, '2019-06-19 08:59:35', NULL, NULL, 0), (82, 'Tootsie roll tart lollipop gingerbread sesame snaps ice cream topping. Tiramisu powder gingerbread marshmallow jelly-o chupa chups liquorice. Donut donut jelly-o jelly sugar plum. Oat cake gummies liquorice marshmallow soufflé chocolate marshmallow tootsie roll pastry.\r\n\r\n', 9, '2019-06-19 08:59:46', NULL, NULL, 0), (83, 'Chocolate candy jelly-o apple pie lollipop lemon drops cake cake chupa chups. Wafer dragée fruitcake. Cake cookie bonbon halvah soufflé. Cake apple pie apple pie muffin caramels wafer.\r\n\r\n', 9, '2019-06-19 09:00:05', NULL, NULL, 0), (84, 'Tootsie roll tart lollipop gingerbread sesame snaps ice cream topping. Tiramisu powder gingerbread marshmallow jelly-o chupa chups liquorice. Donut donut jelly-o jelly sugar plum. Oat cake gummies liquorice marshmallow soufflé chocolate marshmallow tootsie roll pastry.\r\n\r\n', 11, '2019-06-19 09:04:32', 9, '2019-06-19 09:10:41', 0), (85, 'Fruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\n', 11, '2019-06-19 09:04:46', NULL, NULL, 0), (86, 'Chocolate bar candy halvah cookie cheesecake apple pie pie carrot cake. Muffin donut lollipop toffee sweet roll biscuit candy canes bear claw danish. Chocolate bar gingerbread croissant sweet roll ice cream halvah. Soufflé apple pie marzipan tootsie roll danish.\r\n\r\n', 11, '2019-06-19 09:04:54', NULL, NULL, 0), (87, 'Fruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\n', 11, '2019-06-19 09:05:04', NULL, NULL, 0), (88, 'Powder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\n', 11, '2019-06-19 09:05:18', NULL, NULL, 0), (89, 'Fruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\n', 11, '2019-06-19 09:05:24', NULL, NULL, 0), (90, 'Fruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\n', 10, '2019-06-19 09:06:04', 9, '2019-06-19 09:10:41', 0), (91, ' #86 Chocolate bar candy halvah cookie cheesecake apple pie pie carrot cake. Muffin donut lollipop toffee sweet roll biscuit candy canes bear claw danish. Chocolate bar gingerbread croissant sweet roll ice cream halvah. Soufflé apple pie marzipan tootsie roll danish.\r\n\r\n', 10, '2019-06-19 09:06:13', NULL, NULL, 0), (92, 'Chocolate bar candy halvah cookie cheesecake apple pie pie carrot cake. Muffin donut lollipop toffee sweet roll biscuit candy canes bear claw danish. Chocolate bar gingerbread croissant sweet roll ice cream halvah. Soufflé apple pie marzipan tootsie roll danish.\r\n\r\n', 10, '2019-06-19 09:06:21', NULL, NULL, 0), (93, 'Chocolate bar candy halvah cookie cheesecake apple pie pie carrot cake. Muffin donut lollipop toffee sweet roll biscuit candy canes bear claw danish. Chocolate bar gingerbread croissant sweet roll ice cream halvah. Soufflé apple pie marzipan tootsie roll danish.\r\n\r\n', 10, '2019-06-19 09:06:25', NULL, NULL, 0), (94, 'Chocolate bar candy halvah cookie cheesecake apple pie pie carrot cake. Muffin donut lollipop toffee sweet roll biscuit candy canes bear claw danish. Chocolate bar gingerbread croissant sweet roll ice cream halvah. Soufflé apple pie marzipan tootsie roll danish.\r\n\r\n', 10, '2019-06-19 09:06:28', NULL, NULL, 0), (95, 'tootsie ', 13, '2019-06-19 09:07:08', 9, '2019-06-19 09:10:40', 0), (96, ' #86\r\n\r\nPowder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\n', 13, '2019-06-19 09:07:32', NULL, NULL, 0), (97, 'Fruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\n', 13, '2019-06-19 09:07:40', NULL, NULL, 0), (98, 'Fruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\n', 13, '2019-06-19 09:07:44', NULL, NULL, 0), (99, 'Fruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\n', 13, '2019-06-19 09:07:48', NULL, NULL, 0), (100, 'Fruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\n', 13, '2019-06-19 09:07:54', NULL, NULL, 0), (101, 'Fruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\n', 13, '2019-06-19 09:07:58', NULL, NULL, 0), (102, 'Fruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\n', 13, '2019-06-19 09:08:07', NULL, NULL, 0), (103, 'Tootsie roll tart lollipop gingerbread sesame snaps ice cream topping. Tiramisu powder gingerbread marshmallow jelly-o chupa chups liquorice. Donut donut jelly-o jelly sugar plum. Oat cake gummies liquorice marshmallow soufflé chocolate marshmallow tootsie roll pastry.\r\n\r\n', 13, '2019-06-19 09:08:16', NULL, NULL, 0), (104, 'Fruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\n', 18, '2019-06-19 09:08:59', 9, '2019-06-19 09:10:39', 0), (105, 'Chocolate bar candy halvah cookie ', 18, '2019-06-19 09:09:12', NULL, NULL, 0), (106, 'Chocolate bar candy halvah cookie ', 18, '2019-06-19 09:09:18', NULL, NULL, 0), (107, 'Tootsie roll tart lollipop gingerbread sesame snaps ice cream topping. Tiramisu powder gingerbread marshmallow jelly-o chupa chups liquorice. Donut donut jelly-o jelly sugar plum. Oat cake gummies liquorice marshmallow soufflé chocolate marshmallow tootsie roll pastry.\r\n\r\n', 18, '2019-06-19 09:09:26', NULL, NULL, 0), (108, ' #97 Chocolate bar candy halvah cookie ', 18, '2019-06-19 09:09:44', NULL, NULL, 0), (109, 'Chocolate bar candy halvah cookie ', 18, '2019-06-19 09:09:50', NULL, NULL, 0), (110, 'Chocolate bar candy halvah cookie ', 18, '2019-06-19 09:09:54', NULL, NULL, 0), (111, 'Powder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\n', 18, '2019-06-19 09:10:08', NULL, NULL, 0), (112, 'Tootsie roll tart lollipop gingerbread sesame snaps ice cream topping. Tiramisu powder gingerbread marshmallow jelly-o chupa chups liquorice. Donut donut jelly-o jelly sugar plum. Oat cake gummies liquorice marshmallow soufflé chocolate marshmallow tootsie roll pastry.\r\n\r\n', 9, '2019-06-19 09:10:51', NULL, NULL, 0), (113, 'Tootsie roll tart lollipop gingerbread sesame snaps ice cream topping. Tiramisu powder gingerbread marshmallow jelly-o chupa chups liquorice. Donut donut jelly-o jelly sugar plum. Oat cake gummies liquorice marshmallow soufflé chocolate marshmallow tootsie roll pastry.\r\n\r\n', 9, '2019-06-19 09:10:55', NULL, NULL, 0), (114, 'Tootsie roll tart lollipop gingerbread sesame snaps ice cream topping. Tiramisu powder gingerbread marshmallow jelly-o chupa chups liquorice. Donut donut jelly-o jelly sugar plum. Oat cake gummies liquorice marshmallow soufflé chocolate marshmallow tootsie roll pastry.\r\n\r\n', 9, '2019-06-19 09:11:00', NULL, NULL, 0), (115, ' #109 Powder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\nFruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\nChocolate bar candy halvah cookie cheesecake apple pie pie carrot cake. Muffin donut lollipop toffee sweet roll biscuit candy canes bear claw danish. Chocolate bar gingerbread croissant sweet roll ice cream halvah. Soufflé apple pie marzipan tootsie roll danish.', 14, '2019-06-19 09:12:16', NULL, NULL, 0), (116, 'Chocolate candy jelly-o apple pie lollipop lemon drops cake cake chupa chups. Wafer dragée fruitcake. Cake cookie bonbon halvah soufflé. Cake apple pie apple pie muffin caramels wafer.\r\n\r\nPowder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\nFruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.', 14, '2019-06-19 09:12:30', NULL, NULL, 0), (117, 'Chocolate candy jelly-o apple pie lollipop lemon drops cake cake chupa chups. Wafer dragée fruitcake. Cake cookie bonbon halvah soufflé. Cake apple pie apple pie muffin caramels wafer.\r\n\r\nPowder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\nFruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.', 14, '2019-06-19 09:12:34', NULL, NULL, 0), (118, 'Chocolate candy jelly-o apple pie lollipop lemon drops cake cake chupa chups. Wafer dragée fruitcake. Cake cookie bonbon halvah soufflé. Cake apple pie apple pie muffin caramels wafer.\r\n\r\nPowder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\nFruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.', 14, '2019-06-19 09:12:38', NULL, NULL, 0), (119, 'Chocolate candy jelly-o apple pie lollipop lemon drops cake cake chupa chups. Wafer dragée fruitcake. Cake cookie bonbon halvah soufflé. Cake apple pie apple pie muffin caramels wafer.\r\n\r\nPowder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\nFruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.', 14, '2019-06-19 09:12:43', NULL, NULL, 0), (120, 'Chocolate candy jelly-o apple pie lollipop lemon drops cake cake chupa chups. Wafer dragée fruitcake. Cake cookie bonbon halvah soufflé. Cake apple pie apple pie muffin caramels wafer.\r\n\r\nPowder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\nFruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.', 14, '2019-06-19 09:12:47', NULL, NULL, 0), (121, 'Chocolate candy jelly-o apple pie lollipop lemon drops cake cake chupa chups. Wafer dragée fruitcake. Cake cookie bonbon halvah soufflé. Cake apple pie apple pie muffin caramels wafer.\r\n\r\nPowder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\nFruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.', 14, '2019-06-19 09:12:51', NULL, NULL, 0), (122, 'Chocolate candy jelly-o apple pie lollipop lemon drops cake cake chupa chups. Wafer dragée fruitcake. Cake cookie bonbon halvah soufflé. Cake apple pie apple pie muffin caramels wafer.\r\n\r\nPowder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\nFruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.', 14, '2019-06-19 09:12:56', NULL, NULL, 0), (123, 'Chocolate candy jelly-o apple pie lollipop lemon drops cake cake chupa chups. Wafer dragée fruitcake. Cake cookie bonbon halvah soufflé. Cake apple pie apple pie muffin caramels wafer.\r\n\r\nPowder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\nFruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.', 14, '2019-06-19 09:13:08', NULL, NULL, 0), (124, 'Chocolate candy jelly-o apple pie lollipop lemon drops cake cake chupa chups. Wafer dragée fruitcake. Cake cookie bonbon halvah soufflé. Cake apple pie apple pie muffin caramels wafer.\r\n\r\nPowder chocolate cake chupa chups ice cream lollipop caramels dragée soufflé pastry. Muffin jelly bear claw ice cream tart dragée cookie. Jelly-o halvah cookie. Topping liquorice jelly cake.\r\n\r\nFruitcake candy liquorice marshmallow. Chocolate bar chocolate wafer danish tart ice cream ice cream cheesecake danish. Danish soufflé marshmallow donut pastry. Cookie topping jelly beans wafer chocolate cake chupa chups fruitcake.\r\n\r\nChocolate bar candy halvah cookie cheesecake apple pie pie carrot cake. Muffin donut lollipop toffee sweet roll biscuit candy canes bear claw danish. Chocolate bar gingerbread croissant sweet roll ice cream halvah. Soufflé apple pie marzipan tootsie roll danish.\r\n\r\nTootsie roll tart lollipop gingerbread sesame snaps ice cream topping. Tiramisu powder gingerbread marshmallow jelly-o chupa chups liquorice. Donut donut jelly-o jelly sugar plum. Oat cake gummies liquorice marshmallow soufflé chocolate marshmallow tootsie roll pastry.', 14, '2019-06-19 09:13:18', NULL, NULL, 0), (125, 'Donut sesame snaps cake gummies danish marshmallow sweet lemon drops pudding. Liquorice oat cake fruitcake jelly danish chupa chups pudding dragée apple pie. Candy macaroon gingerbread candy liquorice sweet roll cotton candy candy canes biscuit. Powder apple pie marzipan cupcake. Fruitcake bonbon croissant sugar plum sugar plum bear claw. Caramels halvah bear claw tiramisu dragée.\r\n\r\n', 21, '2019-06-19 09:14:23', NULL, NULL, 0), (126, 'Donut sesame snaps cake gummies danish marshmallow sweet lemon drops pudding. Liquorice oat cake fruitcake jelly danish chupa chups pudding dragée apple pie. Candy macaroon gingerbread candy liquorice sweet roll cotton candy candy canes biscuit. Powder apple pie marzipan cupcake. Fruitcake bonbon croissant sugar plum sugar plum bear claw. Caramels halvah bear claw tiramisu dragée.\r\n\r\n', 21, '2019-06-19 09:14:33', NULL, NULL, 0), (127, 'Donut sesame snaps cake gummies danish marshmallow sweet lemon drops pudding. Liquorice oat cake fruitcake jelly danish chupa chups pudding dragée apple pie. Candy macaroon gingerbread candy liquorice sweet roll cotton candy candy canes biscuit. Powder apple pie marzipan cupcake. Fruitcake bonbon croissant sugar plum sugar plum bear claw. Caramels halvah bear claw tiramisu dragée.\r\n\r\n', 21, '2019-06-19 09:14:40', NULL, NULL, 0), (128, 'Donut sesame snaps cake gummies danish marshmallow sweet lemon drops pudding. Liquorice oat cake fruitcake jelly danish chupa chups pudding dragée apple pie. Candy macaroon gingerbread candy liquorice sweet roll cotton candy candy canes biscuit. Powder apple pie marzipan cupcake. Fruitcake bonbon croissant sugar plum sugar plum bear claw. Caramels halvah bear claw tiramisu dragée.\r\n\r\n', 21, '2019-06-19 09:14:45', NULL, NULL, 0), (129, 'Donut sesame snaps cake gummies danish marshmallow sweet lemon drops pudding. Liquorice oat cake fruitcake jelly danish chupa chups pudding dragée apple pie. Candy macaroon gingerbread candy liquorice sweet roll cotton candy candy canes biscuit. Powder apple pie marzipan cupcake. Fruitcake bonbon croissant sugar plum sugar plum bear claw. Caramels halvah bear claw tiramisu dragée.\r\n\r\n', 21, '2019-06-19 09:14:49', NULL, NULL, 0), (130, ' #119\r\nDonut sesame snaps cake gummies danish marshmallow sweet lemon drops pudding. Liquorice oat cake fruitcake jelly danish chupa chups pudding dragée apple pie. Candy macaroon gingerbread candy liquorice sweet roll cotton candy candy canes biscuit. Powder apple pie marzipan cupcake. Fruitcake bonbon croissant sugar plum sugar plum bear claw. Caramels halvah bear claw tiramisu dragée.\r\n\r\n', 21, '2019-06-19 09:14:59', NULL, NULL, 0), (131, 'Donut sesame snaps cake gummies danish marshmallow sweet lemon drops pudding. Liquorice oat cake fruitcake jelly danish chupa chups pudding dragée apple pie. Candy macaroon gingerbread candy liquorice sweet roll cotton candy candy canes biscuit. Powder apple pie marzipan cupcake. Fruitcake bonbon croissant sugar plum sugar plum bear claw. Caramels halvah bear claw tiramisu dragée.\r\n\r\n', 21, '2019-06-19 09:15:04', NULL, NULL, 0), (132, 'Donut sesame snaps cake gummies danish marshmallow sweet lemon drops pudding. Liquorice oat cake fruitcake jelly danish chupa chups pudding dragée apple pie. Candy macaroon gingerbread candy liquorice sweet roll cotton candy candy canes biscuit. Powder apple pie marzipan cupcake. Fruitcake bonbon croissant sugar plum sugar plum bear claw. Caramels halvah bear claw tiramisu dragée.\r\n\r\n', 21, '2019-06-19 09:15:08', NULL, NULL, 0), (133, ' #114\r\n\r\nDonut sesame snaps cake gummies danish marshmallow sweet lemon drops pudding. Liquorice oat cake fruitcake jelly danish chupa chups pudding dragée apple pie. Candy macaroon gingerbread candy liquorice sweet roll cotton candy candy canes biscuit. Powder apple pie marzipan cupcake. Fruitcake bonbon croissant sugar plum sugar plum bear claw. Caramels halvah bear claw tiramisu dragée.\r\n\r\n', 21, '2019-06-19 09:15:23', NULL, NULL, 0); /*!40000 ALTER TABLE `posts` ENABLE KEYS */; -- Dumping data for table zuchan.profiles: 0 rows /*!40000 ALTER TABLE `profiles` DISABLE KEYS */; /*!40000 ALTER TABLE `profiles` ENABLE KEYS */; -- Dumping data for table zuchan.replies: 0 rows /*!40000 ALTER TABLE `replies` DISABLE KEYS */; INSERT INTO `replies` (`id`, `post_id`, `thread_id`) VALUES (36, 86, 27), (37, 89, 24), (38, 91, 27), (39, 92, 35), (40, 93, 31), (41, 94, 28), (42, 96, 27), (43, 97, 26), (44, 98, 34), (45, 99, 28), (46, 100, 21), (47, 101, 23), (48, 105, 25), (49, 106, 27), (50, 108, 26), (51, 109, 28), (52, 110, 39), (53, 112, 36), (54, 113, 35), (55, 114, 34), (56, 115, 28), (57, 116, 37), (58, 117, 32), (59, 118, 42), (60, 119, 39), (61, 120, 31), (62, 121, 26), (63, 122, 30), (64, 125, 44), (65, 126, 27), (66, 127, 37), (67, 128, 40), (68, 129, 24), (69, 130, 39), (70, 131, 38), (71, 132, 30), (72, 133, 34); /*!40000 ALTER TABLE `replies` ENABLE KEYS */; -- Dumping data for table zuchan.screenshots: 0 rows /*!40000 ALTER TABLE `screenshots` DISABLE KEYS */; INSERT INTO `screenshots` (`id`, `thread_id`, `category`, `status`, `file`, `note`) VALUES (20, 32, 'art', 'approved', '20-soufflé-apple-pie.jpg', ''), (21, 36, 'screenshot', 'approved', '21-liquorice-marshmallow.jpg', ''), (22, 37, 'screenshot', 'approved', '22-naps-ice-cream-topping.jpg', ''), (23, 40, 'screenshot', 'approved', '23-cheesecake-danish.png', ''); /*!40000 ALTER TABLE `screenshots` ENABLE KEYS */; -- Dumping data for table zuchan.threads: 0 rows /*!40000 ALTER TABLE `threads` DISABLE KEYS */; INSERT INTO `threads` (`id`, `post_id`, `topic`, `title`, `last_touch`) VALUES (21, 73, 'general', 'Welcome to the forum', '2019-06-19 09:07:54'), (22, 74, 'market', 'B > Fruitcake candy liquorice', '2019-06-19 08:57:16'), (23, 75, 'market', 'S > Powder chocolate cake chupa chups ice cream', '2019-06-19 09:07:58'), (24, 76, 'market', 'T > Jelly-o halvah', '2019-06-19 09:14:49'), (25, 77, 'market', 'B > Tootsie roll tart lollipop', '2019-06-19 09:09:12'), (26, 78, 'market', 'T > Powder chocolate cake', '2019-06-19 09:12:51'), (27, 79, 'general', 'Tootsie roll tart lollipop gingerbread sesame snaps', '2019-06-19 09:14:33'), (28, 80, 'general', 'Jelly-o halvah cookie. Topping liquorice jelly cake.', '2019-06-19 09:12:16'), (29, 81, 'games', 'Danish soufflé marshmallow donut pastry!', '2019-06-19 08:59:35'), (30, 82, 'games', 'Tootsie roll ', '2019-06-19 09:15:08'), (31, 83, 'irl', 'Chocolate candy jelly-o apple pie ', '2019-06-19 09:12:47'), (32, 84, 'screenshot', 'Soufflé apple pie ', '2019-06-19 09:12:34'), (33, 85, 'general', 'cheesecake apple pie pie carrot cake.', '2019-06-19 09:04:46'), (34, 87, 'irl', 'Cookie topping!!', '2019-06-19 09:15:23'), (35, 88, 'games', 'Powder chocolate cake', '2019-06-19 09:10:55'), (36, 90, 'screenshot', 'liquorice marshmallow.', '2019-06-19 09:10:51'), (37, 95, 'screenshot', 'naps ice cream topping', '2019-06-19 09:14:40'), (38, 102, 'games', ' Muffin donut ', '2019-06-19 09:15:04'), (39, 103, 'irl', 'Donut donut jelly-o j', '2019-06-19 09:14:59'), (40, 104, 'screenshot', 'cheesecake danish', '2019-06-19 09:14:45'), (41, 107, 'irl', 'Chocolate bar candy halvah cookie ', '2019-06-19 09:09:26'), (42, 111, 'games', 'lollipop caramels dragée soufflé pastry?', '2019-06-19 09:12:38'), (43, 123, 'irl', ' Cake cookie bonbon halvah soufflé.', '2019-06-19 09:13:08'), (44, 124, 'general', ' Cake cookie bonbon halvah soufflé.', '2019-06-19 09:14:23'); /*!40000 ALTER TABLE `threads` ENABLE KEYS */; -- Dumping data for table zuchan.users: 0 rows /*!40000 ALTER TABLE `users` DISABLE KEYS */; INSERT INTO `users` (`id`, `group_id`, `role`, `username`, `email`, `password`, `ip`, `user_agent`, `created_at`, `last_login`, `avatar`, `label`, `postcount`) VALUES (9, 0, 'admin', 'fatty', '<EMAIL>', '$2Xy5x8f0a76..t/dkD95cUNMJNVywUzb65TMIl7XCZJK', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36', '2019-06-15 03:52:38', '2019-06-19 09:11:00', '9.png', 'Eater of burritos', 18), (10, 0, 'user', 'codetomin', '<EMAIL>', '$2NOjGaWmTipK.bXIxdOlq/5Kuvt/v5b/OAE22fcKAute', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36', '2019-06-15 03:58:42', '2019-06-19 09:06:28', '10.png', 'appleman', 10), (11, 0, 'user', 'Cuce', '<EMAIL>', '$2eKnCiHHxrX5.hiVAfG5D9yKEg72pc7fm4UDhCZPGltm', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36', '2019-06-15 04:18:44', '2019-06-19 09:05:24', '11.png', 'I/L Mage', 10), (12, 0, 'user', 'Dusk', '<EMAIL>', '$262shkc8mZGo.MWzIvgWj86bS5Je.ZqP0sLw3OSB4XYC', '172.16.58.3', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36', '2019-06-15 21:16:35', '2019-06-16 06:22:38', 'default', NULL, 2), (13, 0, 'user', 'xkitty', '<EMAIL>', '$2kWfpHHyNYBJeS3bkvn2su.yKBo1gDdDaTRs9ixL/vGi', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36', '2019-06-15 22:17:10', '2019-06-19 09:08:16', '13.jpg', 'hello!', 11), (14, 0, 'user', 'Bulbasaur', '<EMAIL>', '$2uTxmA71ffnceaVKvtC7zrlWTr5Quvd.VZXH1VksqzEm', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36', '2019-06-15 22:49:42', '2019-06-19 09:13:18', '14.png', 'Squirtle', 12), (15, 0, 'user', 'Kalamalker', '<EMAIL>', '$2r9U7FsBtUi6u9iVZ29AyKZZ15Tg32lg6rqtzMCpXWKe', '172.16.58.3', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36', '2019-06-15 22:54:43', '2019-06-15 23:03:01', '15.jpg', 'Summoner', 5), (16, 0, 'user', 'ZombieSushi', '<EMAIL>', '$2fuV6ViXrX6aOxDSiaOabWSEK7LDigQfRRWTnf11OM2q', '172.16.58.3', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36', '2019-06-15 23:03:50', '2019-06-15 23:08:30', 'default', NULL, 3), (17, 0, 'user', 'tsuki', '<EMAIL>', '$2gavZSmCmM87ecaWD6.6DFJpg6VZhNurMlAvIA69JNTm', '172.16.58.3', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36', '2019-06-15 23:09:22', '2019-06-15 23:19:11', '17.jpg', 'tsukitsuki', 3), (18, 0, 'user', 'Jisoo', '<EMAIL>', '$2l9xTFZ/2ZWqOeYi6bBRvQeAJbvenZvDtn32MNBIraGa', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36', '2019-06-15 23:20:23', '2019-06-19 09:10:08', '18.jpg', 'in your area', 14), (19, 0, 'user', 'vetour66', '<EMAIL>', '$2EodUqG7FfCUeZj05RfDkF.fbwDSspyB1pYNP4fIJtKe', '172.16.58.3', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36', '2019-06-15 23:30:17', '2019-06-15 23:33:05', 'default', NULL, 3), (20, 0, 'user', 'Akke', '<EMAIL>', '$2Fs.KxVhwO44.YyACB.H1PqAOpHiJRdMnQ4UO3bx3UpS', '172.16.58.3', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36', '2019-06-15 23:41:29', '2019-06-16 00:04:01', '20.jpg', 'Human', 10), (21, 0, 'user', 'Tekkon', '<EMAIL>', '$2eWl3yYilxGOe9WyWbC7lZyqwXqPqy7SoyyPqWbuhR5O', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36', '2019-06-16 06:06:50', '2019-06-19 09:15:23', '21.jpg', 'Concrete', 9), (22, 0, 'user', 'kanten', '<EMAIL>', '$2uMoua.5NQjZeH7DjhySZkYAYG1tzApm9lQhgxzaGPxu', '192.168.127.12', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36', '2019-06-16 10:53:52', '2019-06-16 10:53:52', 'default', NULL, 0), (25, 0, 'user', 'LiShuwen', '<EMAIL>', '$2XDamSLGtEtk.TCMqMztMoYvii.Sm3ekXs5jROmLV/nC', '172.16.58.3', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36', '2019-06-16 13:14:10', '2019-06-16 13:16:01', '25.png', '??', 1); /*!40000 ALTER TABLE `users` ENABLE KEYS */; /*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */; /*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
SELECT ct.FirstName, ct.Age, ct.PhoneNumber FROM Customers AS ct JOIN Countries AS c ON c.Id = ct.CountryId WHERE ct.Age >= 21 AND (ct.FirstName LIKE '%an%' OR ct.PhoneNumber LIKE '%38' ) AND c.Name <> ('Greece') ORDER BY ct.FirstName, ct.Age DESC
Create table If Not Exists Traffic (user_id int, activity ENUM('login', 'logout', 'jobs', 'groups', 'homepage'), activity_date date); Truncate table Traffic; insert into Traffic (user_id, activity, activity_date) values ('1', 'login', '2019-05-01'); insert into Traffic (user_id, activity, activity_date) values ('1', 'homepage', '2019-05-01'); insert into Traffic (user_id, activity, activity_date) values ('1', 'logout', '2019-05-01'); insert into Traffic (user_id, activity, activity_date) values ('2', 'login', '2019-06-21'); insert into Traffic (user_id, activity, activity_date) values ('2', 'logout', '2019-06-21'); insert into Traffic (user_id, activity, activity_date) values ('3', 'login', '2019-01-01'); insert into Traffic (user_id, activity, activity_date) values ('3', 'jobs', '2019-01-01'); insert into Traffic (user_id, activity, activity_date) values ('3', 'logout', '2019-01-01'); insert into Traffic (user_id, activity, activity_date) values ('4', 'login', '2019-06-21'); insert into Traffic (user_id, activity, activity_date) values ('4', 'groups', '2019-06-21'); insert into Traffic (user_id, activity, activity_date) values ('4', 'logout', '2019-06-21'); insert into Traffic (user_id, activity, activity_date) values ('5', 'login', '2019-03-01'); insert into Traffic (user_id, activity, activity_date) values ('5', 'logout', '2019-03-01'); insert into Traffic (user_id, activity, activity_date) values ('5', 'login', '2019-06-21'); insert into Traffic (user_id, activity, activity_date) values ('5', 'logout', '2019-06-21');
CREATE OR REPLACE FUNCTION e_is_body_text( text_value TEXT ) RETURNS BOOL LANGUAGE SQL IMMUTABLE RETURNS NULL ON NULL INPUT PARALLEL SAFE AS $$ SELECT (LENGTH(text_value) > 0) $$;
CREATE TABLE IF NOT EXISTS block ( id SERIAL UNIQUE, hash BYTEA PRIMARY KEY, prev_hash BYTEA NOT NULL, height INTEGER NOT NULL, tags INTEGER[] NOT NULL, missing_tx INTEGER NOT NULL, extra_tx INTEGER NOT NULL, shared_tx INTEGER NOT NULL, sanctioned_missing_tx INTEGER NOT NULL, equality REAL NOT NULL, block_time TIMESTAMP NOT NULL, block_seen_time TIMESTAMP NOT NULL, block_tx INTEGER NOT NULL, block_sanctioned INTEGER NOT NULL, block_cb_value BIGINT NOT NULL, block_cb_fees BIGINT NOT NULL, block_weight INTEGER NOT NULL, block_pkg_weights BIGINT[] NOT NULL, block_pkg_feerates REAL[] NOT NULL, pool_name TEXT NOT NULL, pool_link TEXT NOT NULL, pool_id_method TEXT NOT NULL, template_tx INTEGER NOT NULL, template_time TIMESTAMP NOT NULL, template_sanctioned INTEGER NOT NULL, template_cb_value BIGINT NOT NULL, template_cb_fees BIGINT NOT NULL, template_weight INTEGER NOT NULL, template_pkg_weights BIGINT[] NOT NULL, template_pkg_feerates REAL[] NOT NULL ); CREATE TABLE IF NOT EXISTS transaction ( txid BYTEA PRIMARY KEY, sanctioned BOOL NOT NULL, vsize INTEGER NOT NULL, fee BIGINT NOT NULL, output_sum BIGINT NOT NULL, tags INTEGER[] NOT NULL, input_count INTEGER NOT NULL, inputs TEXT[] NOT NULL, output_count INTEGER NOT NULL, outputs TEXT[] NOT NULL ); CREATE TABLE IF NOT EXISTS transaction_only_in_block ( block_id INTEGER REFERENCES block(id), position INTEGER NOT NULL, transaction_txid BYTEA REFERENCES transaction(txid), PRIMARY KEY (block_id, transaction_txid) ); CREATE TABLE IF NOT EXISTS transaction_only_in_template ( block_id INTEGER REFERENCES block(id), position INTEGER NOT NULL, mempool_age_seconds INTEGER NOT NULL, transaction_txid BYTEA REFERENCES transaction(txid), PRIMARY KEY (block_id, transaction_txid) ); CREATE TABLE IF NOT EXISTS sanctioned_transaction_info ( block_id INTEGER REFERENCES block(id), transaction_txid BYTEA REFERENCES transaction(txid), in_block BOOL NOT NULL, in_template BOOL NOT NULL, addresses TEXT[] NOT NULL, PRIMARY KEY (block_id, transaction_txid) ); CREATE TABLE IF NOT EXISTS conflicting_transactions ( block_id INTEGER REFERENCES block(id), template_txids BYTEA[] NOT NULL, block_txids BYTEA[] NOT NULL, conflicting_outpoints_txids BYTEA[] NOT NULL, conflicting_outpoints_vouts INTEGER[] NOT NULL, PRIMARY KEY (block_id, template_txids, block_txids) ); CREATE TABLE IF NOT EXISTS sanctioned_utxo_scan_info ( end_time TIMESTAMP NOT NULL, end_height INTEGER NOT NULL, duration_seconds INTEGER NOT NULL, utxo_amount BIGINT NOT NULL, utxo_count INTEGER NOT NULL, PRIMARY KEY (end_time) ); CREATE TABLE IF NOT EXISTS sanctioned_utxo ( txid BYTEA NOT NULL, vout INTEGER NOT NULL, script_pubkey BYTEA NOT NULL, amount BIGINT NOT NULL, height INTEGER NOT NULL, PRIMARY KEY (txid, vout) ); CREATE TABLE IF NOT EXISTS debug_template_selection ( block_id INTEGER REFERENCES block(id), template_time TIMESTAMP NOT NULL, count_missing INTEGER NOT NULL, count_shared INTEGER NOT NULL, count_extra INTEGER NOT NULL, selected BOOLEAN NOT NULL, PRIMARY KEY (block_id, template_time) ); CREATE INDEX IF NOT EXISTS block_height_desc_index ON block(height DESC);
DROP DATABASE test_interview; CREATE DATABASE test_interview;
<filename>db/seeds.sql # Sample burgers INSERT INTO burgers (burger_name) VALUES ('Portland Hipster: Beyond Burger with organic bacon, pickled onions, avocados and house-made aoili'); INSERT INTO burgers (burger_name) VALUES ('All-American: 1lb beef burger with american cheese, lettuce, onions, dill pickles, and ketchup'); INSERT INTO burgers (burger_name) VALUES ('<NAME>: Kobe steak with Maine lobster, caramelized onions, brie, crispy prosciutto, and aged balsamic vinegar');
<filename>plugins/probaug/db/mysql/data/2014-09-12_16-33-22_menues.sql INSERT INTO `u_menues` (`name`, `name_low-german`, `name_english`, `name_polish`, `name_vietnamese`, `links`, `obermenue`, `menueebene`, `target`, `order`) VALUES ('Bauauskunft', 'Bauauskunft', 'Bauauskunft', NULL, 'Thông tin xây dựng', 'index.php?go=changemenue', 0, 1, NULL, 140); SET @obermenue_id = LAST_INSERT_ID(); INSERT INTO `u_menues` (`name`, `name_low-german`, `name_english`, `name_polish`, `name_vietnamese`, `links`, `obermenue`, `menueebene`, `target`, `order`) VALUES ('Suche', 'Suche', 'Suche', NULL, 'Tìm kiếm', 'index.php?go=Bauauskunft_Suche', @obermenue_id, 2, NULL, 0);
-- Table countries_list_default SET NAMES 'utf8'; TRUNCATE TABLE `countries_list_default`; INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'AT'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'BE'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'CH'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'CZ'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'DE'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'DK'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'ES'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'FR'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'GB'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'GR'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'HR'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'IT'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'LI'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'LU'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'NL'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'NO'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'PL'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'RO'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'SA'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'SE'); INSERT INTO `countries_list_default` (`lang`, `show`) VALUES ('DE', 'US');
<reponame>dsernag/misionTicUSAPython INSERT INTO `fabrica` (`numero_fabrica`, `cantidad_empleados`, `pais`, `gerente`) VALUES (NULL, '300', 'Colombia', '<NAME>'), (NULL, '256', 'Estados Unidos', '<NAME>'), (NULL, '874', 'India', 'Palm Alhoi'), (NULL, '10', 'Colombia', '<NAME>')
Insert into SH_PARM_T ( SH_PARM_NMSPC_CD, SH_PARM_DTL_TYP_CD, SH_PARM_NM, OBJ_ID, VER_NBR, SH_PARM_TYP_CD, SH_PARM_TXT, SH_PARM_DESC, SH_PARM_CONS_CD, WRKGRP_NM, ACTIVE_IND) Values ('KC-PROTOCOL','D','irb.protocol.billable', 'F1C228F9D4D8408A8E0BBC801C9525ak', 1,'CONFG','Y','Billable is configurable at impl time','A','WorkflowAdmin','Y'); commit;
<gh_stars>0 -- ********************************************************************* -- $URL: https://source.sakaiproject.org/contrib/etudes/melete/tags/2.9.9/components/src/sql/mysql/seqxml_script.sql $ -- $Id: seqxml_script.sql 56413 2008-12-19 22:20:19Z <EMAIL> $ -- ********************************************************************* -- Copyright (c) 2008 Etudes, Inc. -- Portions completed before September 1, 2008 Copyright (c) 2004, 2005, 2006, 2007, 2008 Foothill College, ETUDES Project -- Licensed under the Apache License, Version 2.0 (the "License"); you -- may not use this file except in compliance with the License. You may -- obtain a copy of the License at -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -- implied. See the License for the specific language governing -- permissions and limitations under the License. -- ********************************************************************* set @dtdlocation='/var/melete/packagefiles/moduleSeq.dtd'; set @doctype_dtd=concat('<!DOCTYPE module SYSTEM \"',@dtdlocation); set @doctype_dtd=concat(@doctype_dtd,'\">'); drop table if exists melete_module_seqxml; create table melete_module_seqxml as select * from melete_module; update melete_module set seq_xml=replace(seq_xml,@doctype_dtd,'<!DOCTYPE module [ <!ELEMENT module (section+)> <!ELEMENT section (section*)> <!ATTLIST section id ID #REQUIRED> ]>') where seq_xml is not NULL;
<filename>src/it/migration-plugin-command-script/itcase-rep/scripts/20100425200645_second_migration.sql --// First migration. -- Migration SQL that makes the change goes here. CREATE TABLE test2 ( ID NUMERIC(20,0) NOT NULL, ); --//@UNDO DROP TABLE test2;
<reponame>AlexisGaldamez/utPLSQL declare l_stack_trace varchar2(4000); l_source_line varchar2(4000); begin l_stack_trace := q'[----- PL/SQL Call Stack ----- object line object handle number name 34f88e4420 124 package body SCH_TEST.UT_EXPECTATION_PROCESSOR 353dfeb2f8 26 SCH_TEST.UT_EXPECTATION_RESULT cba249ce0 112 SCH_TEST.UT_EXPECTATION 3539881cf0 21 SCH_TEST.UT_EXPECTATION_NUMBER 351a608008 28 package body SCH_TEST.TPKG_PRIOR_YEAR_GENERATION 351a6862b8 6 anonymous block 351fe31010 1825 package body SYS.DBMS_SQL 20befbe4d8 129 SCH_TEST.UT_EXECUTABLE 20befbe4d8 65 SCH_TEST.UT_EXECUTABLE 34f8ab7cd8 80 SCH_TEST.UT_TEST 34f8ab98f0 48 SCH_TEST.UT_SUITE_ITEM 34f8ab9b10 74 SCH_TEST.UT_SUITE 34f8ab98f0 48 SCH_TEST.UT_SUITE_ITEM cba24bfd0 75 SCH_TEST.UT_LOGICAL_SUITE 353dfecf30 59 SCH_TEST.UT_RUN 34f8ab98f0 48 SCH_TEST.UT_SUITE_ITEM 357f5421e8 77 package body SCH_TEST.UT_RUNNER 357f5421e8 111 package body SCH_TEST.UT_RUNNER 20be951ab0 292 package body SCH_TEST.UT 20be951ab0 320 package body SCH_TEST.UT ]'; l_source_line := ut_expectation_processor.WHO_CALLED_EXPECTATION(l_stack_trace); if l_source_line like 'at "SCH_TEST.TPKG_PRIOR_YEAR_GENERATION", line 28 %' then :test_result := ut_utils.tr_success; end if; end; /
<filename>MeasuresDB/dbo/Tables/Width.sql CREATE TABLE [dbo].[Width] ( [Id] [int] IDENTITY (1, 1) NOT NULL PRIMARY KEY, [Value] [float] NOT NULL, [MaterialTypeId] [int] NOT null CONSTRAINT [FK_Width_MaterialType] FOREIGN KEY ([MaterialTypeId]) REFERENCES [dbo].[MaterialType] ([Id]), )
SELECT * FROM table_with_unique_constraint; SELECT * FROM table_with_primary_constraint;
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * Author: rojahno * Created: Aug 30, 2020 */ DROP TABLE IF EXISTS AUSER CASCADE; CREATE TABLE IF NOT EXISTS AUSER ( phoneNumber CHAR PRIMARY KEY, username VARCHAR ( 50 ) UNIQUE NOT NULL, password VARCHAR ( 50 ) NOT NULL, email VARCHAR ( 255 ) UNIQUE NOT NULL ); INSERT INTO AUSER (phoneNumber, username, password, email) values('1', 'sander', '<PASSWORD>', '<EMAIL>'); INSERT INTO AUSER (phoneNumber, username, password, email) values('2', 'dunde', '<PASSWORD>', '<EMAIL>'); INSERT INTO AUSER (phoneNumber, username, password, email) values('3', 'anders', '<PASSWORD>', '<EMAIL>'); INSERT INTO AUSER (phoneNumber, username, password, email) values('4', 'eskil', '<PASSWORD>', '<EMAIL>'); select * from AUSER;
<reponame>opengauss-mirror/Yat<gh_stars>0 -- @testpoint: kmeans创建mode,带正确的超参istance_function --step1: 创建表并插入数据;expect: 创建表并插入数据成功 drop table if exists t_model_tab_0044; create table t_model_tab_0044(id integer not null,"position" double precision[] not null,closest_centroid integer not null, l1_distance double precision not null, l2_distance double precision not null,l2_squared_distance double precision not null,linf_distance double precision not null ); insert into t_model_tab_0044 values (214,'{82.2331969052000034,52.153098620199998,64.0344866000999933,-.325498644699999981,-64.6012144075999947,81.5499670644999952,59.6012626708999989}',3,10.0679804558999992,4.35061551650000012,18.9278551126999999,2.38445523010000019); --step2: kmeans创建mode带正确的超参istance_function;expect: 创建成功 create model m_model_kmeans_istance_function_0044 using kmeans from (select position from t_model_tab_0044 ) with num_features = 7,distance_function='L2_Squared'; --step3: 查询系统表中的 hyperparametersvalues;expect: 返回的内容中含设置的distance_function方法L2_Squared select hyperparametersvalues from gs_model_warehouse where modelname='m_model_kmeans_istance_function_0044'; --step4: 清理环境;expext: 清理成功 drop table t_model_tab_0044; drop model m_model_kmeans_istance_function_0044;
-- MySQL dump 10.13 Distrib 5.7.17, for Win64 (x86_64) -- -- Host: 127.0.0.1 Database: powerbudgetdb -- ------------------------------------------------------ -- Server version 5.7.18-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 `budgetentry` -- DROP TABLE IF EXISTS `budgetentry`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `budgetentry` ( `idbudgetentry` int(11) NOT NULL AUTO_INCREMENT, `userid` int(11) DEFAULT NULL, `nomenid` int(11) DEFAULT NULL, `periodicalid` int(11) DEFAULT NULL, `type` int(11) DEFAULT NULL, `entrydate` datetime DEFAULT NULL, `comment` varchar(256) DEFAULT NULL, `moneyvalue` decimal(19,2) DEFAULT NULL, PRIMARY KEY (`idbudgetentry`) ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `budgetnomen` -- DROP TABLE IF EXISTS `budgetnomen`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `budgetnomen` ( `idbudgetnomens` int(11) NOT NULL AUTO_INCREMENT, `userid` int(11) DEFAULT NULL, `name` varchar(45) DEFAULT NULL, `comment` varchar(256) DEFAULT NULL, `type` int(11) DEFAULT NULL, PRIMARY KEY (`idbudgetnomens`) ) ENGINE=InnoDB AUTO_INCREMENT=62 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `budgetperiodic` -- DROP TABLE IF EXISTS `budgetperiodic`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `budgetperiodic` ( `idbudgetperiodic` int(11) NOT NULL AUTO_INCREMENT, `userid` int(11) DEFAULT NULL, `nomenid` int(11) DEFAULT NULL, `type` int(11) DEFAULT NULL, `comment` varchar(256) DEFAULT NULL, `initialdate` datetime DEFAULT NULL, `period` int(11) DEFAULT NULL, `periodtype` int(11) DEFAULT NULL, `repeatcountmax` int(11) DEFAULT NULL, `repeatcountcurrent` int(11) DEFAULT NULL, `moneyvalue` decimal(11,11) DEFAULT NULL, PRIMARY KEY (`idbudgetperiodic`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table `user` -- DROP TABLE IF EXISTS `user`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `user` ( `iduser` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(36) DEFAULT NULL, `realnamefirst` varchar(45) DEFAULT NULL, `realnamelast` varchar(45) DEFAULT NULL, `email` varchar(45) DEFAULT NULL, `picturelink` varchar(256) DEFAULT NULL, `googleid` varchar(128) DEFAULT NULL, `locale` varchar(8) DEFAULT NULL, `lastlogin` datetime DEFAULT NULL, `registerdate` datetime DEFAULT NULL, PRIMARY KEY (`iduser`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping events for database 'powerbudgetdb' -- -- -- Dumping routines for database 'powerbudgetdb' -- /*!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 2017-06-29 19:27:05
# ************************************************************ # Sequel Pro SQL dump # Version 4096 # # http://www.sequelpro.com/ # http://code.google.com/p/sequel-pro/ # # Host: 127.0.0.1 (MySQL 5.7.14) # Database: homestead # Generation Time: 2016-09-16 15:27:15 +0000 # ************************************************************ /*!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 */; /*!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 */; # Dump of table kidnappers # ------------------------------------------------------------ DROP TABLE IF EXISTS `kidnappers`; CREATE TABLE `kidnappers` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `part` int(11) NOT NULL, `reply` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; LOCK TABLES `kidnappers` WRITE; /*!40000 ALTER TABLE `kidnappers` DISABLE KEYS */; INSERT INTO `kidnappers` (`id`, `part`, `reply`, `created_at`, `updated_at`) VALUES (1,0,'I hate you guys rob our resources and land.',NULL,NULL), (2,0,'You cheat us all the time.I won’t trust you anymore.',NULL,NULL), (3,0,'Err…I can punish you guys I guess.',NULL,NULL), (4,0,'Yeah.So what?',NULL,NULL), (5,0,'A murder?Hahahaha,I will show you what a murder looks like.',NULL,NULL), (6,0,'Err…yeah,maybe you are right.Go far away and I will leave her.',NULL,NULL), (7,0,'It’s OK.But take out all your treasures to show your sincerity.',NULL,NULL), (8,0,'Then you can see the awful result!',NULL,NULL), (9,0,'Why not?',NULL,NULL), (10,0,'It doesn’t work on me.I won’t trust your stupid words.',NULL,NULL), (11,0,'Dame it!I will show you right now.',NULL,NULL), (12,0,'Then I can show you what is evil.',NULL,NULL), (13,0,'So can you disappear right now?',NULL,NULL), (14,0,' Friends?Haha……But never friends!I won’t trust your stupid words.',NULL,NULL), (15,0,'OK.Then take out all your treasures to show your sincerity.',NULL,NULL), (16,0,'Sure it is.OK,then I will leave your partner.',NULL,NULL), (17,0,'Yeah,so what?',NULL,NULL), (18,0,'Not me,but you all.Hahahahaha.',NULL,NULL), (19,0,'Yeah,you are right.But I need money.',NULL,NULL), (20,0,'Sure it is.OK,then I will leave your partner.',NULL,NULL), (21,0,'Well,let me think.Take me out of the trouble.And l will leave your friend.',NULL,NULL), (22,0,'Then you can see the sad ending.',NULL,NULL), (23,0,'I like it!Are you afraid?',NULL,NULL), (24,0,'I want to have some wine first.So let’s go!',NULL,NULL), (25,0,'Yeah,death tricks is always exciting!',NULL,NULL), (26,0,'Then that’s the end.Hahahahaha.',NULL,NULL), (27,0,'Playing with your pretty partner.',NULL,NULL), (28,0,'Hahahaha.All I want is to revenge on you.',NULL,NULL), (29,0,'OK,but Please take out all your treasures to show your sincerity first.',NULL,NULL), (30,0,'I won’t trust your stupid words.I’m not afraid at all.',NULL,NULL), (31,0,'OK,so kill your partner or take out all your treasures?',NULL,NULL), (32,0,'So what can I get from you guys to do so?',NULL,NULL), (33,0,'Maybe…Err,OK,but you pay the bill,OK?',NULL,NULL), (34,0,'Dame it!I don’t need a teacher.',NULL,NULL), (35,0,'But we need money first.',NULL,NULL), (36,0,'Sure it is.OK,then I will leave your partner.',NULL,NULL), (37,0,'Well,let me think.Take me out of the trouble.And l will leave your friend.',NULL,NULL), (38,0,'Then you can see the sad ending.',NULL,NULL), (39,0,'You plunder our resources and land.I must revenge on you.',NULL,NULL), (40,0,'Stop your stupid words.I’m the god to punish you guys.',NULL,NULL), (41,0,'No excuse,but take out all your treasures to show your sincerity.',NULL,NULL), (42,0,'Sure.OK,fetch your friend back then.',NULL,NULL); /*!40000 ALTER TABLE `kidnappers` ENABLE KEYS */; UNLOCK TABLES; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_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 */;
<reponame>java-study-project/CodeGenerateBoot  /** * 表名:core_dataauth_rule_scf(规则定义表) */ 规则定义表 coreDataauthRuleScf /app/dataauth/rule
<filename>sql/webcomments.sql<gh_stars>0 Create Database `webcomments`; CREATE TABLE `comments` ( `ID` int(4) NOT NULL AUTO_INCREMENT, `Name` varchar(30) NOT NULL, `Gender` varchar(8) DEFAULT NULL, `Age` int(3) NOT NULL, `Country` varchar(10) DEFAULT NULL, `Comment` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ALTER TABLE `comments` ADD UNIQUE KEY `ID` (`ID`);
<filename>heavyDay_server/wx_server/speed.sql SET NAMES UTF8; DROP DATABASE IF EXISTS wxjnr; CREATE DATABASE wxjnr CHARSET=UTF8; USE wxjnr; /*创建飞车头部表*/ CREATE TABLE jnr_nr( id INT PRIMARY KEY AUTO_INCREMENT, div_1 VARCHAR(255), div_2 VARCHAR(255) ); /*插入首页sp图片*/ INSERT INTO jnr_nr VALUES(NULL,'离上次见面已经',"2018-03-19"); INSERT INTO jnr_nr VALUES(NULL,'距离TA生日还有',"2018-03-22");
-- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Feb 17, 2021 at 01:52 PM -- Server version: 10.4.6-MariaDB -- PHP Version: 7.3.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: `ocbc` -- CREATE DATABASE IF NOT EXISTS `ocbc` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `ocbc`; -- -------------------------------------------------------- -- -- Table structure for table `bungas` -- DROP TABLE IF EXISTS `bungas`; CREATE TABLE `bungas` ( `id` int(11) NOT NULL, `no_rekening` char(12) COLLATE utf8mb4_unicode_ci NOT NULL, `tanggal_perubahan_bunga` datetime NOT NULL, `persen_bunga` decimal(5,2) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `bungas` -- INSERT INTO `bungas` (`id`, `no_rekening`, `tanggal_perubahan_bunga`, `persen_bunga`, `created_at`, `updated_at`) VALUES (1, '123456789', '2019-04-01 15:26:00', '18.25', '2021-02-17 01:28:22', '2021-02-17 01:28:22'), (2, '123456789', '2021-02-17 19:20:00', '25.00', '2021-02-17 05:23:00', '2021-02-17 05:23:00'); -- -------------------------------------------------------- -- -- Table structure for table `failed_jobs` -- DROP TABLE IF EXISTS `failed_jobs`; CREATE TABLE `failed_jobs` ( `id` bigint(20) UNSIGNED NOT NULL, `uuid` varchar(255) COLLATE utf8mb4_unicode_ci 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 `migrations` -- DROP TABLE IF EXISTS `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 (1, '2014_10_12_000000_create_users_table', 1), (2, '2014_10_12_100000_create_password_resets_table', 1), (3, '2019_08_19_000000_create_failed_jobs_table', 1), (4, '2021_02_17_025319_create_nasabahs_table', 1), (5, '2021_02_17_080935_create_bungas_table', 2); -- -------------------------------------------------------- -- -- Table structure for table `nasabahs` -- DROP TABLE IF EXISTS `nasabahs`; CREATE TABLE `nasabahs` ( `no_rekening` char(12) COLLATE utf8mb4_unicode_ci NOT NULL, `nama` char(25) COLLATE utf8mb4_unicode_ci NOT NULL, `tanggal_realisasi` datetime NOT NULL, `plafond` decimal(19,0) NOT NULL, `jangka_waktu` int(11) NOT NULL, `persen_bunga` decimal(5,2) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `nasabahs` -- INSERT INTO `nasabahs` (`no_rekening`, `nama`, `tanggal_realisasi`, `plafond`, `jangka_waktu`, `persen_bunga`, `created_at`, `updated_at`) VALUES ('123456789', '<NAME>', '2019-04-01 13:57:00', '80000000', 36, '20.00', '2021-02-16 23:57:43', '2021-02-16 23:57:43'); -- -------------------------------------------------------- -- -- Table structure for table `password_resets` -- DROP TABLE IF EXISTS `password_resets`; CREATE TABLE `password_resets` ( `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `users` -- DROP TABLE IF EXISTS `users`; CREATE TABLE `users` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Indexes for dumped tables -- -- -- Indexes for table `bungas` -- ALTER TABLE `bungas` ADD PRIMARY KEY (`id`); -- -- Indexes for table `failed_jobs` -- ALTER TABLE `failed_jobs` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`); -- -- Indexes for table `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Indexes for table `nasabahs` -- ALTER TABLE `nasabahs` ADD PRIMARY KEY (`no_rekening`); -- -- Indexes for table `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `bungas` -- ALTER TABLE `bungas` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `failed_jobs` -- ALTER TABLE `failed_jobs` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; 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 */;
CREATE DATABASE IF NOT EXISTS obocomer; USE obocomer; CREATE TABLE IF NOT EXISTS users( id int(255) auto_increment not null, name varchar(100), nick varchar(100), email varchar(255), password varchar(255) image varchar(255), direccion varchar(255), localidad varchar(255), provincia varchar(255), created_at datetime, updated_at datetime, remenber_token varchar(255), CONSTRAINT pk_users PRIMARY KEY(id) ) ENGINE=InnoDb; INSERT INTO users VALUES (NULL,'Maria','mpensando','<EMAIL>','123',NULL,'calle la piensa','piensa','caceres',CURTIME(),CURTIME(),NULL); INSERT INTO users VALUES (NULL,'Juan','juan','<EMAIL>','123',NULL,'calle la seca','artes','caceres',CURTIME(),CURTIME(),NULL); INSERT INTO users VALUES (NULL,'Ana','liala','<EMAIL>','123',NULL,'calle','esces','caceres',CURTIME(),CURTIME(),NULL); CREATE TABLE IF NOT EXISTS restaurantes( id int(255) auto_increment not null, nombre varchar(100), email varchar(255), password varchar(255), image varchar(255), direccion varchar(255), localidad varchar(255), provincia varchar(255), descripcion text, telefono int(255), created_at datetime, updated_at datetime, remenber_token varchar(255), CONSTRAINT pk_restaurantes PRIMARY KEY(id) ) ENGINE=InnoDb; INSERT INTO restaurantes VALUES (NULL,'<NAME>','<EMAIL>','123',NULL,'lugar de abaixo','artes','a coruna','para ter un bo momento ca familia e disfrutar da boa mesa','981141314',CURTIME(),CURTIME(),NULL); INSERT INTO restaurantes VALUES (NULL,'<NAME>','<EMAIL>','123',NULL,'lugar de arriba','Cerceda','a coruna','onde o ambiente se vive no prato','981181314',CURTIME(),CURTIME(),NULL); INSERT INTO restaurantes VALUES (NULL,'<NAME>','<EMAIL>','123',NULL,'iglesario de montello','Betanzos','a coruna','especialidade en callos','984141314',CURTIME(),CURTIME(),NULL); INSERT INTO restaurantes VALUES (NULL,'<NAME>','<EMAIL>','123',NULL,'lugar de queo','Carballo','a coruna','especialidade en arroz con choupas','981541314',CURTIME(),CURTIME(),NULL); INSERT INTO restaurantes VALUES (NULL,'<NAME>','<EMAIL>','123',NULL,'Iglesario de Loureda','Loureda','a coruna','especialidad en cocido','971141314',CURTIME(),CURTIME(),NULL); INSERT INTO restaurantes VALUES (NULL,'Xannaia','<EMAIL>','123',NULL,'a eira','Loureda','a coruna','especialidad en cocido','971141314',CURTIME(),CURTIME(),NULL); CREATE TABLE IF NOT EXISTS imagenes( id int(255) auto_increment not null, user_id int(255), rest_id int(255), image_path varchar(255), descripcion text, created_at datetime, updated_at datetime, CONSTRAINT pk_imagenes PRIMARY KEY(id), CONSTRAINT fk_imagenes_users FOREIGN KEY(user_id) REFERENCES users(id), CONSTRAINT fk_imagenes_restaurantes FOREIGN KEY(rest_id) REFERENCES restaurantes(id) ) ENGINE=InnoDb; INSERT INTO imagenes VALUES(NULL,2,1,'tortilla.jpg','a mellor do mundo',CURTIME(),CURTIME()); INSERT INTO imagenes VALUES(NULL,2,3,'famili.jpg','na mellor compañia',CURTIME(),CURTIME()); INSERT INTO imagenes VALUES(NULL,3,6,'placer.jpg','chupando os dedos',CURTIME(),CURTIME()); INSERT INTO imagenes VALUES(NULL,3,2,'oxantar.jpg','un placer',CURTIME(),CURTIME()); INSERT INTO imagenes VALUES(NULL,5,5,'tortilla.jpg','a mellor do mundo',CURTIME(),CURTIME()); INSERT INTO imagenes VALUES(NULL,5,4,'tortilla.jpg','a mellor do mundo',CURTIME(),CURTIME()); CREATE TABLE IF NOT EXISTS comentarios( id int(255) auto_increment not null, user_id int(255), rest_id int(255), imagen_id int(255), contenido text, created_at datetime, updated_at datetime, CONSTRAINT pk_comentarios PRIMARY KEY(id), CONSTRAINT fk_comentarios_users FOREIGN KEY(user_id) REFERENCES users(id), CONSTRAINT fk_comentarios_restaurantes FOREIGN KEY(rest_id) REFERENCES restaurantes(id), CONSTRAINT fk_comentarios_imagenes FOREIGN KEY(imagen_id) REFERENCES imagenes(id) )ENGINE=InnoDb; INSERT INTO comentarios VALUES(NULL,5,1,1,'que pintaza',CURTIME(),CURTIME()); INSERT INTO comentarios VALUES(NULL,2,3,6,'que pintaza',CURTIME(),CURTIME()); INSERT INTO comentarios VALUES(NULL,3,1,5,'que pintaza',CURTIME(),CURTIME()); INSERT INTO comentarios VALUES(NULL,5,2,5,'que pintaza',CURTIME(),CURTIME()); INSERT INTO comentarios VALUES(NULL,2,3,2,'que pintaza',CURTIME(),CURTIME()); INSERT INTO comentarios VALUES(NULL,3,5,4,'que pintaza',CURTIME(),CURTIME()); INSERT INTO comentarios VALUES(NULL,5,4,3,'que pintaza',CURTIME(),CURTIME()); CREATE TABLE IF NOT EXISTS likes( id int(255) auto_increment not null, user_id int(255), rest_id int(255), imagen_id int(255), created_at datetime, updated_at datetime, CONSTRAINT pk_likes PRIMARY KEY(id), CONSTRAINT fk_likes_users FOREIGN KEY(user_id) REFERENCES users(id), CONSTRAINT fk_likes_restaurantes FOREIGN KEY(rest_id) REFERENCES restaurantes(id), CONSTRAINT fk_likes_imagenes FOREIGN KEY(imagen_id) REFERENCES imagenes(id) )ENGINE=InnoDb; INSERT INTO likes VALUES(NULL,5,1,1,CURTIME(),CURTIME()); INSERT INTO likes VALUES(NULL,2,3,6,CURTIME(),CURTIME()); INSERT INTO likes VALUES(NULL,3,1,5,CURTIME(),CURTIME()); INSERT INTO likes VALUES(NULL,5,2,5,CURTIME(),CURTIME()); INSERT INTO likes VALUES(NULL,2,3,2,CURTIME(),CURTIME()); INSERT INTO likes VALUES(NULL,3,5,4,CURTIME(),CURTIME()); INSERT INTO likes VALUES(NULL,5,4,3,CURTIME(),CURTIME()); CREATE TABLE IF NOT EXISTS reservas( id int(255) auto_increment not null, user_id int(255), rest_id int(255), fecha datetime, comentarios text, created_at datetime, updated_at datetime, CONSTRAINT pk_reservas PRIMARY KEY(id), CONSTRAINT fk_reservas_users FOREIGN KEY(user_id) REFERENCES users(id), CONSTRAINT fk_reservas_restaurantes FOREIGN KEY(rest_id) REFERENCES restaurantes(id) )ENGINE=InnoDb; CREATE TABLE IF NOT EXISTS menus( id int(255) auto_increment not null, rest_id int(255), nombre varchar(255), created_at datetime, updated_at datetime, CONSTRAINT pk_menus PRIMARY KEY(id), CONSTRAINT fk_menus_restaurantes FOREIGN KEY(rest_id) REFERENCES restaurantes(id) )ENGINE=InnoDb; CREATE TABLE IF NOT EXISTS menuopciones( id int(255) auto_increment not null, menu_id int(255), descripcion text, precio int(255), created_at datetime, updated_at datetime, CONSTRAINT pk_menuopciones PRIMARY KEY(id), CONSTRAINT fk_menuopciones_menus FOREIGN KEY(menu_id) REFERENCES menus(id) )ENGINE=InnoDb; CREATE TABLE IF NOT EXISTS pedidos( id int(255) auto_increment not null, rest_id int(255), user_id int(255), comentarios text, created_at datetime, updated_at datetime, CONSTRAINT pk_pedidos PRIMARY KEY(id), CONSTRAINT fk_pedidos_restaurantes FOREIGN KEY(rest_id) REFERENCES restaurantes(id), CONSTRAINT fk_pedidos_users FOREIGN KEY(user_id) REFERENCES users(id) )ENGINE=InnoDb; CREATE TABLE IF NOT EXISTS pedidoopciones( id int(255) auto_increment not null, pedido_id int(255), menuopciones_id int(255), created_at datetime, updated_at datetime, CONSTRAINT pk_pedidoopciones PRIMARY KEY(id), CONSTRAINT fk_pedidoopciones_menuopciones FOREIGN KEY(menuopciones_id) REFERENCES menuopciones(id) )ENGINE=InnoDb;
CREATE OR REPLACE VIEW egtl_mv_dcb_view AS SELECT lic.license_number AS licenseNumber, lic.address, lic.id AS licenseId, licAdd.applicant_name AS username, --lic.id_parent_bndry.parent.id AS zoneid, lic.id_parent_bndry AS wardid, lic.id_adm_bndry AS locality, currdd.amount AS curr_demand, currdd.amt_collected AS curr_coll, currdd.amount::DOUBLE PRECISION - currdd.amt_collected AS curr_balance, COALESCE(0, 0) AS arr_demand, COALESCE(0, 0) AS arr_coll, COALESCE(0, 0) AS arr_balance FROM egtl_license lic JOIN egtl_licensee licAdd ON licAdd.id_license=lic.id JOIN egtl_mstr_status licst ON licst.id = lic.id_status JOIN egtl_license_demand licd ON licd.id_license=lic.id JOIN eg_demand currdmd ON currdmd.id = licd.id_demand JOIN eg_boundary bnd ON lic.id_adm_bndry = bnd.id LEFT JOIN eg_demand_details currdd ON currdd.id_demand = currdmd.id LEFT JOIN eg_demand_reason dr ON dr.id = currdd.id_demand_reason LEFT JOIN eg_demand_reason_master drm ON drm.id = dr.id_demand_reason_master LEFT JOIN eg_installment_master im ON im.id = dr.id_installment LEFT JOIN eg_module m ON m.id = im.id_module WHERE licst.code::text = 'ACT'::text AND drm.isdemand = true AND im.start_date <= now() AND im.end_date >= now() AND m.name::text = 'Trade License'::text AND im.installment_type::text = 'Yearly'::text; Insert into EG_ACTION (id,name,url,queryparams,parentmodule,ordernumber,displayname,enabled ,contextroot,version,createdby,createddate,lastmodifiedby,lastmodifieddate,application) values (nextval('SEQ_EG_ACTION'),'TLDCBReportList','/tlreports/dCBReportList',null,(select id from eg_module where name='Trade License Reports'),null,'DCB Report List','false','tl',0,1,to_timestamp('2015-08-19 17:14:12.454451','null') ,1,to_timestamp('2015-08-19 17:14:12.454451','null'),(select id from eg_module where name='Trade License')); Insert into EG_ACTION (id,name,url,queryparams,parentmodule,ordernumber,displayname,enabled,contextroot ,version,createdby,createddate,lastmodifiedby,lastmodifieddate,application) values (nextval('SEQ_EG_ACTION'),'TradeLicenseDCBReportLocalityWise','/tlreports/dCBReport/licenseNumberWise', null,(select id from eg_module where name='Trade License Reports'),4, 'DCB report By Trade','true','tl',0,1,to_timestamp('2015-08-24 11:11:30.249443','null') ,1,to_timestamp('2015-08-24 11:11:30.249443','null'),(select id from eg_module where name='Trade License')); Insert into eg_roleaction (roleid,actionid) values ((select id from eg_role where name='Super User'), (select id from eg_action where name='TLDCBReportList' and contextroot='tl' )); Insert into eg_roleaction (roleid,actionid) values ((select id from eg_role where name='Super User'), (select id from eg_action where name='TradeLicenseDCBReportLocalityWise' and contextroot='tl' )); Insert into eg_roleaction (roleid,actionid) values ((select id from eg_role where name='TLCreator'), (select id from eg_action where name='TLDCBReportList' and contextroot='tl' )); Insert into eg_roleaction (roleid,actionid) values ((select id from eg_role where name='TLCreator'), (select id from eg_action where name='TradeLicenseDCBReportLocalityWise' and contextroot='tl' ));
-- 表 broker_message.broker_message 结构 CREATE TABLE IF NOT EXISTS `broker_message` ( `message_id` VARCHAR(128) NOT NULL, `message` VARCHAR(4000), `try_count` INT(4) DEFAULT 0, `status` VARCHAR(10) DEFAULT '', `next_retry` TIMESTAMP NOT NULL DEFAULT '1970-1-1 08:00:01', `create_time` TIMESTAMP NOT NULL DEFAULT '1970-1-1 08:00:01', `update_time` TIMESTAMP NOT NULL DEFAULT '1970-1-1 08:00:01', PRIMARY KEY (`message_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE bullet_group_bullet ( id BIGSERIAL PRIMARY KEY, bullet_group_id BIGINT REFERENCES bullet_group(id) ON DELETE CASCADE, bullet_id BIGINT REFERENCES bullet(id) ON DELETE CASCADE ); CREATE INDEX bullet_group_bullet_bullet_group_id_idx ON bullet_group_bullet(bullet_group_id); CREATE INDEX bullet_group_bullet_bullet_id_idx ON bullet_group_bullet(bullet_id);