-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSCRIPT_APP_TABELAS.sql
More file actions
30 lines (27 loc) · 986 Bytes
/
SCRIPT_APP_TABELAS.sql
File metadata and controls
30 lines (27 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
-- CRIAÇÃO DAS TABELAS DO APP -
-- TABELA DE BRANDS --
CREATE TABLE brands
(
id integer primary key AUTO_INCREMENT not null,
nome_bandeira varchar(30) not null
);
-- INSERCAODAS BRANDS
INSERT INTO brands (nome_bandeira) VALUES('Visa');
INSERT INTO brands (nome_bandeira) VALUES('Mastercard');
INSERT INTO brands (nome_bandeira) VALUES('American Express');
INSERT INTO brands (nome_bandeira) VALUES('Elo');
INSERT INTO brands (nome_bandeira) VALUES('Hipercard');
INSERT INTO brands (nome_bandeira) VALUES('Ticket');
INSERT INTO brands (nome_bandeira) VALUES('VR Beneficios');
INSERT INTO brands (nome_bandeira) VALUES('Sodexo');
INSERT INTO brands (nome_bandeira) VALUES('Hiper');
INSERT INTO brands (nome_bandeira) VALUES('Diners Club');
-- TABELA DE PHONES --
CREATE TABLE phonesphonesphonesphones
(
id bigint primary key AUTO_INCREMENT not null,
dd varchar(2) not null,
numero varchar(12) not null,
updated_at VARCHAR(30) not null,
created_at VARCHAR(30) not null
);