This commit is contained in:
Hugo Falcao
2022-06-20 01:49:33 -03:00
parent 2ff921ee24
commit ac026dd966
10 changed files with 239 additions and 61 deletions

View File

@@ -21,6 +21,15 @@ export class CreateUsers1617210132141 implements MigrationInterface {
{
name: 'email',
type: 'varchar',
length: '255',
isUnique: true,
},
{
name: 'phone_number',
type: 'varchar',
length: '14',
isUnique: true,
isNullable: true,
},
{
name: 'birth_date',
@@ -40,6 +49,13 @@ export class CreateUsers1617210132141 implements MigrationInterface {
type: 'varchar',
isNullable: true
},
{
name: 'star_rating',
type: 'numeric',
precision: 3,
scale: 2,
isNullable: true
},
{
name: 'created_at',
type: 'timestamp',

View File

@@ -34,6 +34,10 @@ export class CreateUsersSearching1652672860580 implements MigrationInterface {
name: 'longitude_to',
type: 'numeric',
},
{
name: 'address_to',
type: 'varchar',
},
{
name: 'created_at',
type: 'timestamp',