This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: lanhu
|
name: lanhu-platform
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
|
|||||||
12
scripts/sql/fill.sql
Normal file
12
scripts/sql/fill.sql
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
-- ====================
|
||||||
|
-- region 填充数据
|
||||||
|
-- ====================
|
||||||
|
|
||||||
|
insert into client (
|
||||||
|
client_id, client_secret, redirect_uri, spec, name, type
|
||||||
|
)
|
||||||
|
values (
|
||||||
|
'web', '$2a$10$Ss12mXQgpYyo1CKIZ3URouDm.Lc2KcYJzsvEK2PTIXlv6fHQht45a', '', 3, 'web', 1
|
||||||
|
);
|
||||||
|
|
||||||
|
-- endregion
|
||||||
@@ -1059,16 +1059,3 @@ alter table coupon
|
|||||||
add constraint fk_coupon_user_id foreign key (user_id) references "user" (id) on delete cascade;
|
add constraint fk_coupon_user_id foreign key (user_id) references "user" (id) on delete cascade;
|
||||||
|
|
||||||
-- endregion
|
-- endregion
|
||||||
|
|
||||||
-- ====================
|
|
||||||
-- region 填充数据
|
|
||||||
-- ====================
|
|
||||||
|
|
||||||
insert into client (
|
|
||||||
client_id, client_secret, redirect_uri, spec, name, type
|
|
||||||
)
|
|
||||||
values (
|
|
||||||
'web', '$2a$10$Ss12mXQgpYyo1CKIZ3URouDm.Lc2KcYJzsvEK2PTIXlv6fHQht45a', '', 3, 'web', 1
|
|
||||||
);
|
|
||||||
|
|
||||||
-- endregion
|
|
||||||
|
|||||||
Reference in New Issue
Block a user