Migration: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
Line 10: Line 10:
! || Postgres || MariaDB || SQLite
! || Postgres || MariaDB || SQLite
|-
|-
| Incremental |
| Incremental
| <source lang="sql">
| <source lang="sql">
CREATE TABLE public.test (
CREATE TABLE public.test (

Revision as of 03:39, 1 September 2025

Table

Column

[1]

Data Types

Postgres MariaDB SQLite
Incremental
CREATE TABLE public.test (
	id1 serial8 NOT NULL,
	id2 int8 GENERATED ALWAYS AS IDENTITY NOT NULL,
	id3 int8 GENERATED BY DEFAULT AS IDENTITY NOT NULL
);
auto incremental
DateTime

[2]

References