mirror of
https://github.com/djhackersdev/minime.git
synced 2026-04-26 01:47:22 -05:00
14 lines
393 B
SQL
14 lines
393 B
SQL
create table "new_idz_team_auto" (
|
|
"id" integer primary key not null
|
|
references "idz_team"("id")
|
|
on delete cascade,
|
|
"serial_no" integer not null,
|
|
"name_idx" integer not null
|
|
);
|
|
|
|
insert into "new_idz_team_auto"
|
|
select "id", "serial_no", "name_idx" from "idz_team_auto";
|
|
|
|
drop table "idz_team_auto";
|
|
alter table "new_idz_team_auto" rename to "idz_team_auto";
|