diff --git a/README.md b/README.md index 08f92e1b..af2be29c 100644 --- a/README.md +++ b/README.md @@ -171,8 +171,9 @@ While DMVCFramework is born from the head of Daniele Teti from bit Time Professi |COMPANY NAME | LOGO| |-----------------------------------------------------------------------|------------------------------------------------------------------------| -|[bit Time Professionals ](https://www.bittimeprofessionals.com) |![](docs/sponsorlogos/bittimeprofessionals.png) | -|[bit Time Software](https://www.bittime.it) |![](docs/sponsorlogos/bittimesoftware.png) | +|[bit Time Professionals](https://www.bittimeprofessionals.com) |![](docs/sponsorlogos/bittimeprofessionals.png) | +|[bit Time Professionals - ITALY](https://www.bittimeprofessionals.it) |![](docs/sponsorlogos/bittimeprofessionals_italy.png) | +|[bit Time Software](https://www.bittime.it) |![](docs/sponsorlogos/bittimesoftware.png) | diff --git a/docs/sponsorlogos/bittimeprofessionals_italy.png b/docs/sponsorlogos/bittimeprofessionals_italy.png index 882a3d28..a905a5e4 100644 Binary files a/docs/sponsorlogos/bittimeprofessionals_italy.png and b/docs/sponsorlogos/bittimeprofessionals_italy.png differ diff --git a/samples/data/activerecorddb_postgresql_script.sql b/samples/data/activerecorddb_postgresql_script.sql index e5aad375..751f240f 100644 --- a/samples/data/activerecorddb_postgresql_script.sql +++ b/samples/data/activerecorddb_postgresql_script.sql @@ -2,11 +2,6 @@ -- PostgreSQL database dump -- --- Dumped from database version 12.2 --- Dumped by pg_dump version 12.2 - --- Started on 2021-03-20 00:27:53 - SET statement_timeout = 0; SET lock_timeout = 0; SET idle_in_transaction_session_timeout = 0; @@ -18,15 +13,10 @@ SET xmloption = content; SET client_min_messages = warning; SET row_security = off; + DROP DATABASE IF EXISTS activerecorddb; --- --- TOC entry 2910 (class 1262 OID 58852) --- Name: activerecorddb; Type: DATABASE; Schema: -; Owner: postgres --- - CREATE DATABASE activerecorddb WITH TEMPLATE = template0 ENCODING = 'UTF8' LC_COLLATE = 'Italian_Italy.1252' LC_CTYPE = 'Italian_Italy.1252'; - ALTER DATABASE activerecorddb OWNER TO postgres; \connect activerecorddb @@ -407,7 +397,7 @@ ALTER TABLE public.phones OWNER TO postgres; -create table integers_as_booleans ( +create table public.integers_as_booleans ( id bigint not null generated by default as identity primary key, done_bool boolean not null default false, done_int smallint not null default 0 @@ -604,32 +594,3 @@ ALTER TABLE ONLY public.orders ALTER TABLE ONLY public.phones ADD CONSTRAINT phones_id_person_fkey FOREIGN KEY (id_person) REFERENCES public.people(id); - --- Completed on 2021-03-20 00:27:54 - --- --- PostgreSQL database dump complete --- - - -drop function if exists sp_get_customers; -create or replace function sp_get_customers() returns table( - id bigint, - code varchar, - description varchar, - city varchar, - rating integer) -language plpgsql -as -$$ -begin - return query - select - c.id, c.code, c.description, c.city, c.rating - from - customers c - order by c.description; -end -$$; - -select * from sp_get_customers(); \ No newline at end of file diff --git a/sources/MVCFramework.Console.pas b/sources/MVCFramework.Console.pas index cfc502d4..e5c4700b 100644 --- a/sources/MVCFramework.Console.pas +++ b/sources/MVCFramework.Console.pas @@ -373,6 +373,7 @@ end; procedure SaveColors; begin + Init; GSavedForeGround := GForeGround; GSavedBackGround := GBackGround; end;