set @tankID = 'entryway-top-right';
set @tankGroupID = 'entryway';
set @aqAdvisor = 'https://aqadvisor.com/AqAdvisor.php?AquTankName=entryway-top-right&AquListBoxTank=Choose&AquTankLength=30&AquTankDepth=12&AquTankHeight=12&AquListBoxFilter=User+Defined&AquTextFilterRate=35+++++++++&AquListBoxFilter2=User+Defined&AquTextFilterRate2=50+++++++++&AquFilterString=hatchet&AquListBoxChooser=Marble+Hatchet+%28Carnegiella+strigata%29&AquTextBoxQuantity=4&FormSubmit=Add+%3E&AquTextBoxRemoveQuantity=&AlreadySelected=200909300155%3A4%3A%3A%2C200909300067%3A12%3A%3A%2C200912111346%3A1%3A%3A%2C200909300061%3A1%3A%3A%2C200912051330%3A6%3A%3A&FilterMode=Display+all+species&AqTempUnit=F&AqVolUnit=gUS&AqLengthUnit=inch&AqSortType=cname&FilterQuantity=2&AqJuvMode=&AqSpeciesWindowSize=short&AqSearchMode=simple';


insert into tanks (tankID, tankSizeID, sortOrder, url, photo, label, tankGroupID, isReady, isCichlidTank, thermometerID, heaterID, filterPercent, waterChangePercent, stockPercent, tempLow, tempHigh, phLow, phHigh, hardnessLow, hardnessHigh, aqAdvisor)
    values (
        @tankID,
        '20-long-aqueon',
        30,
        'top-right',
        null,
        'Top Right',
        @tankGroupID,
        1,
        0,
        'thievel-min-max',
        null,
        180,
        48,
        105,
        75.2,
        78.8,
        6,
        7,
        5,
        12,
        @aqAdvisor
    );

/* lighting */
insert into tankLights (tankID, lightID, intensity) values (@tankID, 'aquaneat-30-38', 100);

/* filtration */
insert into tankFilters (tankID, filterID, tankFilterSortOrder) values (@tankID, 'tidal-55', 1);
insert into tankFilters (tankID, filterID, tankFilterSortOrder) values (@tankID, 'aquaneat-corner-double-sponge', 2);

/* pumps */
insert into airPumpGroupTanks (airPumpGroupID, tankID, sponge) values ('entryway-pump1', @tankID, 'main');

/* stocking */
insert into tankStocking (tankID, speciesID, planned, have, sortOrder) values (@tankID, 'silver-hatchetfish', 6, 6, 10);
insert into tankStocking (tankID, speciesID, pattern, planned, have, sortOrder) values (@tankID, 'honey-gourami', 'gold', 1, 1, 15);
-- insert into tankStocking (tankID, speciesID, pattern, planned, have, sortOrder) values (@tankID, 'dwarf-gourami', 'flame', 1, 0, 15);
-- insert into tankStocking (tankID, speciesID, planned, have, sortOrder) values (@tankID, 'emperor-tetra', 8, 6, 20);
-- insert into tankStocking (tankID, speciesID, planned, have, sortOrder) values (@tankID, 'emperor-tetra-black', 4, 4, 30);
insert into tankStocking (tankID, speciesID, planned, have, sortOrder) values (@tankID, 'cherry-barb', 10, 10, 30);
insert into tankStocking (tankID, speciesID, planned, have, sortOrder) values (@tankID, 'otocinclus', 1, 1, 40);
insert into tankStocking (tankID, speciesID, planned, have, sortOrder) values (@tankID, 'panda-corydoras', 4, 1, 50);
insert into tankStocking (tankID, speciesID, planned, have, sortOrder) values (@tankID, 'clown-pleco', 1, 1, 50);
insert into tankStocking (tankID, speciesID, pattern, planned, have, sortOrder) values (@tankID, 'snail-nerite', 'red-spotted', 1, 1, 70);
insert into tankStocking (tankID, speciesID, pattern, planned, have, sortOrder) values (@tankID, 'snail-nerite', 'zebra', 1, 1, 70);

/* feeding */
-- insert into tankFeeding (tankID, foodTypeID, mon, tue, wed, thu, fri, sat, sun) values (@tankID, 'flakes', 0, 1, 0, 1, 0, 1, 1);
-- insert into tankFeeding (tankID, foodTypeID, mon, tue, wed, thu, fri, sat, sun) values (@tankID, 'wafers', 0, 0, 0, 1, 0, 0, 1);

/* plants */
insert into tankPlants (tankID, plantID) values
    (@tankID, 'cabomba-caroliniana'),
    (@tankID, 'water-wisteria'),
    (@tankID, 'cryptocoryne-wendtii-red'),
    (@tankID, 'red-myrio');

/* photos */
