forked from free-lancers/electricity_bill_calc_service
		
	fix(migrate):修正迁移文件中的错误。
This commit is contained in:
		| @@ -5,7 +5,7 @@ create table if not exists region ( | ||||
|     parent varchar(15) not null default '0' | ||||
| ); | ||||
|  | ||||
| create table if not exists user ( | ||||
| create table if not exists `user` ( | ||||
|     created_at timestamptz not null, | ||||
|     id varchar(120) not null primary key, | ||||
|     username varchar(30) not null, | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| alter table if exists user add constraint user_type_check check (type in (0, 1, 2)); | ||||
| alter table if exists `user` add constraint user_type_check check (type in (0, 1, 2)); | ||||
|  | ||||
| alter table if exists user_detail add constraint positive_service_fee check (unit_service_fee >= 0); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user