add init.sql as database seed
This commit is contained in:
parent
c2af1dcc36
commit
d8da1a6c7a
11
sql/init.sql
Normal file
11
sql/init.sql
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
CREATE TABLE member (
|
||||||
|
id int(11) not null auto_increment primary key,
|
||||||
|
name varchar(36) not null,
|
||||||
|
phone varchar(14) null
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO member VALUES
|
||||||
|
(DEFAULT, 'Syahdan', '081111111111'),
|
||||||
|
(DEFAULT, 'Hafiz', '082222222222'),
|
||||||
|
(DEFAULT, 'Ashari', '083333333333');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user