Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

[jobeet] fixed missing unique index on the JobeetAffiliate model class a... #33

Merged
merged 1 commit into from

3 participants

@hhamon

...nd fixed wrong method call in chapter 15.

@rogeriopradoj

Thanks @hhamon .

I think your pull request is going to be checked by @fabpot, cause it is related to all translations as well.

See ya.

@hhamon

I have the commit permission on this repository but I expect @fabpot to double check before merging ;)

@rogeriopradoj
@fabpot fabpot merged commit d26edd9 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 26, 2012
  1. @hhamon

    [jobeet] fixed missing unique index on the JobeetAffiliate model clas…

    hhamon authored
    …s and fixed wrong method call in chapter 15.
This page is out of date. Refresh to see the latest.
View
4 jobeet/en/03.markdown
@@ -85,7 +85,7 @@ agnostic, let's create the schema file by hand by editing the empty
id: ~
url: { type: varchar(255), required: true }
email: { type: varchar(255), required: true, index: unique }
- token: { type: varchar(255), required: true }
+ token: { type: varchar(255), required: true, index: unique }
is_active: { type: boolean, required: true, default: 0 }
created_at: ~
@@ -134,7 +134,7 @@ agnostic, let's create the schema file by hand by editing the empty
columns:
url: { type: string(255), notnull: true }
email: { type: string(255), notnull: true, unique: true }
- token: { type: string(255), notnull: true }
+ token: { type: string(255), notnull: true, unique: true }
is_active: { type: boolean, notnull: true, default: 0 }
relations:
JobeetCategories:
View
4 jobeet/en/15.markdown
@@ -302,10 +302,10 @@ method:
'description' => $this->getDescription(),
'how_to_apply' => $this->getHowToApply(),
<propel>
- 'expires_at' => $this->getCreatedAt('c'),
+ 'expires_at' => $this->getExpiresAt('c'),
</propel>
<doctrine>
- 'expires_at' => $this->getCreatedAt(),
+ 'expires_at' => $this->getExpiresAt(),
</doctrine>
);
}
View
4 jobeet/es/03.markdown
@@ -66,7 +66,7 @@ Como la base de datos no existe todavía, y como queremos mantener la base de da
id: ~
url: { type: varchar(255), required: true }
email: { type: varchar(255), required: true, index: unique }
- token: { type: varchar(255), required: true }
+ token: { type: varchar(255), required: true, index: unique }
is_active: { type: boolean, required: true, default: 0 }
created_at: ~
@@ -114,7 +114,7 @@ Como la base de datos no existe todavía, y como queremos mantener la base de da
columns:
url: { type: string(255), notnull: true }
email: { type: string(255), notnull: true, unique: true }
- token: { type: string(255), notnull: true }
+ token: { type: string(255), notnull: true, unique: true }
is_active: { type: boolean, notnull: true, default: 0 }
relations:
JobeetCategories:
View
4 jobeet/es/15.markdown
@@ -282,10 +282,10 @@ En lugar de pasar un array de objetos `JobeetJob` a las plantillas, se pasa un a
'description' => $this->getDescription(),
'how_to_apply' => $this->getHowToApply(),
<propel>
- 'expires_at' => $this->getCreatedAt('c'),
+ 'expires_at' => $this->getExpiresAt('c'),
</propel>
<doctrine>
- 'expires_at' => $this->getCreatedAt(),
+ 'expires_at' => $this->getExpiresAt(),
</doctrine>
);
}
View
4 jobeet/fr/03.markdown
@@ -85,7 +85,7 @@ la base de données Jobeet, nous allons créer le fichier du schéma à la main
id: ~
url: { type: varchar(255), required: true }
email: { type: varchar(255), required: true, index: unique }
- token: { type: varchar(255), required: true }
+ token: { type: varchar(255), required: true, index: unique }
is_active: { type: boolean, required: true, default: 0 }
created_at: ~
@@ -134,7 +134,7 @@ la base de données Jobeet, nous allons créer le fichier du schéma à la main
columns:
url: { type: string(255), notnull: true }
email: { type: string(255), notnull: true, unique: true }
- token: { type: string(255), notnull: true }
+ token: { type: string(255), notnull: true, unique: true }
is_active: { type: boolean, notnull: true, default: 0 }
relations:
JobeetCategories:
View
4 jobeet/fr/15.markdown
@@ -305,10 +305,10 @@ la logique pour traiter les valeurs a été refactorisée dans la méthode
'description' => $this->getDescription(),
'how_to_apply' => $this->getHowToApply(),
<propel>
- 'expires_at' => $this->getCreatedAt('c'),
+ 'expires_at' => $this->getExpiresAt('c'),
</propel>
<doctrine>
- 'expires_at' => $this->getCreatedAt(),
+ 'expires_at' => $this->getExpiresAt(),
</doctrine>
);
}
View
4 jobeet/it/03.markdown
@@ -87,7 +87,7 @@ di esso (come realizzarlo), creeremo lo schema a mano modificando un file vuoto
id: ~
url: { type: varchar(255), required: true }
email: { type: varchar(255), required: true, index: unique }
- token: { type: varchar(255), required: true }
+ token: { type: varchar(255), required: true, index: unique }
is_active: { type: boolean, required: true, default: 0 }
created_at: ~
@@ -136,7 +136,7 @@ di esso (come realizzarlo), creeremo lo schema a mano modificando un file vuoto
columns:
url: { type: string(255), notnull: true }
email: { type: string(255), notnull: true, unique: true }
- token: { type: string(255), notnull: true }
+ token: { type: string(255), notnull: true, unique: true }
is_active: { type: boolean, notnull: true, default: 0 }
relations:
JobeetCategories:
View
4 jobeet/it/15.markdown
@@ -301,10 +301,10 @@ la logica di processare i valori è stata spostata fuori nel metodo `JobeetJob::
'description' => $this->getDescription(),
'how_to_apply' => $this->getHowToApply(),
<propel>
- 'expires_at' => $this->getCreatedAt('c'),
+ 'expires_at' => $this->getExpiresAt('c'),
</propel>
<doctrine>
- 'expires_at' => $this->getCreatedAt(),
+ 'expires_at' => $this->getExpiresAt(),
</doctrine>
);
}
View
4 jobeet/ja/03.markdown
@@ -60,7 +60,7 @@ ORM には、関連するクラスを生成するために、テーブルとリ
id: ~
url: { type: varchar(255), required: true }
email: { type: varchar(255), required: true, index: unique }
- token: { type: varchar(255), required: true }
+ token: { type: varchar(255), required: true, index: unique }
is_active: { type: boolean, required: true, default: 0 }
created_at: ~
@@ -107,7 +107,7 @@ ORM には、関連するクラスを生成するために、テーブルとリ
columns:
url: { type: string(255), notnull: true }
email: { type: string(255), notnull: true, unique: true }
- token: { type: string(255), notnull: true }
+ token: { type: string(255), notnull: true, unique: true }
is_active: { type: boolean, notnull: true, default: 0 }
relations:
JobeetCategories:
View
4 jobeet/ja/15.markdown
@@ -278,10 +278,10 @@ Jobeet のフィード追加に関して、求職者はリアルタイムで新
'description' => $this->getDescription(),
'how_to_apply' => $this->getHowToApply(),
<propel>
- 'expires_at' => $this->getCreatedAt('c'),
+ 'expires_at' => $this->getExpiresAt('c'),
</propel>
<doctrine>
- 'expires_at' => $this->getCreatedAt(),
+ 'expires_at' => $this->getExpiresAt(),
</doctrine>
);
}
View
4 jobeet/pt_BR/03.markdown
@@ -63,7 +63,7 @@ Como o banco de dados não existe ainda e queremos manter o banco de dados do Jo
id: ~
url: { type: varchar(255), required: true }
email: { type: varchar(255), required: true, index: unique }
- token: { type: varchar(255), required: true }
+ token: { type: varchar(255), required: true, index: unique }
is_active: { type: boolean, required: true, default: 0 }
created_at: ~
@@ -110,7 +110,7 @@ Como o banco de dados não existe ainda e queremos manter o banco de dados do Jo
columns:
url: { type: string(255), notnull: true }
email: { type: string(255), notnull: true, unique: true }
- token: { type: string(255), notnull: true }
+ token: { type: string(255), notnull: true, unique: true }
is_active: { type: boolean, notnull: true, default: 0 }
relations:
JobeetCategories:
View
4 jobeet/ru/03.markdown
@@ -88,7 +88,7 @@ ORM потребует от вас описания таблиц и связей
id: ~
url: { type: varchar(255), required: true }
email: { type: varchar(255), required: true, index: unique }
- token: { type: varchar(255), required: true }
+ token: { type: varchar(255), required: true, index: unique }
is_active: { type: boolean, required: true, default: 0 }
created_at: ~
@@ -136,7 +136,7 @@ ORM потребует от вас описания таблиц и связей
columns:
url: { type: string(255), notnull: true }
email: { type: string(255), notnull: true, unique: true }
- token: { type: string(255), notnull: true }
+ token: { type: string(255), notnull: true, unique: true }
is_active: { type: boolean, notnull: true, default: 0 }
relations:
JobeetCategories:
View
4 jobeet/ru/15.markdown
@@ -325,10 +325,10 @@ URL в начале:
'description' => $this->getDescription(),
'how_to_apply' => $this->getHowToApply(),
<propel>
- 'expires_at' => $this->getCreatedAt('c'),
+ 'expires_at' => $this->getExpiresAt('c'),
</propel>
<doctrine>
- 'expires_at' => $this->getCreatedAt(),
+ 'expires_at' => $this->getExpiresAt(),
</doctrine>
);
}
Something went wrong with that request. Please try again.