Change default password and possible_date type
This commit is contained in:
parent
12ecf719e9
commit
8afa93c708
@ -63,4 +63,4 @@ Running this will add some accounts along with some meetings.
|
|||||||
| Liza | Emile | Jack | Cynthia | Celine |
|
| Liza | Emile | Jack | Cynthia | Celine |
|
||||||
| :--------------- | :---------------- | :--------------- | :------------------ | :----------------- |
|
| :--------------- | :---------------- | :--------------- | :------------------ | :----------------- |
|
||||||
| liza@example.com | emile@example.com | jack@example.com | cynthia@example.com | celine@example.com |
|
| liza@example.com | emile@example.com | jack@example.com | cynthia@example.com | celine@example.com |
|
||||||
| liza-password | emile-password | jack-password | cynthia-password | celine-password |
|
| password | password | password | password | password |
|
||||||
|
@ -6,7 +6,7 @@ exports.up = (knex) => {
|
|||||||
.foreign('meeting_id')
|
.foreign('meeting_id')
|
||||||
.references('meeting.id')
|
.references('meeting.id')
|
||||||
.onDelete('cascade');
|
.onDelete('cascade');
|
||||||
table.date('possible_date').notNullable();
|
table.string('possible_date').notNullable();
|
||||||
table.timestamps(true, true);
|
table.timestamps(true, true);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -10,7 +10,7 @@ exports.seed = function (knex) {
|
|||||||
{
|
{
|
||||||
username: 'liza',
|
username: 'liza',
|
||||||
email: 'liza@example.com',
|
email: 'liza@example.com',
|
||||||
password: 'liza-password',
|
password: 'password',
|
||||||
timezone: 'Europe/Brussels',
|
timezone: 'Europe/Brussels',
|
||||||
earliest_time: '09:30',
|
earliest_time: '09:30',
|
||||||
latest_time: '22:00',
|
latest_time: '22:00',
|
||||||
@ -18,7 +18,7 @@ exports.seed = function (knex) {
|
|||||||
{
|
{
|
||||||
username: 'emile',
|
username: 'emile',
|
||||||
email: 'emile@example.com',
|
email: 'emile@example.com',
|
||||||
password: 'emile-password',
|
password: 'password',
|
||||||
timezone: 'America/New_York',
|
timezone: 'America/New_York',
|
||||||
earliest_time: '09:00',
|
earliest_time: '09:00',
|
||||||
latest_time: '20:00',
|
latest_time: '20:00',
|
||||||
@ -26,7 +26,7 @@ exports.seed = function (knex) {
|
|||||||
{
|
{
|
||||||
username: 'jack',
|
username: 'jack',
|
||||||
email: 'jack@example.com',
|
email: 'jack@example.com',
|
||||||
password: 'jack-password',
|
password: 'password',
|
||||||
timezone: 'Asia/Kolkata',
|
timezone: 'Asia/Kolkata',
|
||||||
earliest_time: '10:30',
|
earliest_time: '10:30',
|
||||||
latest_time: '17:00',
|
latest_time: '17:00',
|
||||||
@ -34,7 +34,7 @@ exports.seed = function (knex) {
|
|||||||
{
|
{
|
||||||
username: 'cynthia',
|
username: 'cynthia',
|
||||||
email: 'cynthia@example.com',
|
email: 'cynthia@example.com',
|
||||||
password: 'cynthia-password',
|
password: 'password',
|
||||||
timezone: 'Europe/Brussels',
|
timezone: 'Europe/Brussels',
|
||||||
earliest_time: '06:30',
|
earliest_time: '06:30',
|
||||||
latest_time: '12:00',
|
latest_time: '12:00',
|
||||||
@ -42,7 +42,7 @@ exports.seed = function (knex) {
|
|||||||
{
|
{
|
||||||
username: 'celine',
|
username: 'celine',
|
||||||
email: 'celine@example.com',
|
email: 'celine@example.com',
|
||||||
password: 'celine-password',
|
password: 'password',
|
||||||
timezone: 'Europe/Brussels',
|
timezone: 'Europe/Brussels',
|
||||||
earliest_time: '10:30',
|
earliest_time: '10:30',
|
||||||
latest_time: '20:00',
|
latest_time: '20:00',
|
||||||
|
Loading…
Reference in New Issue
Block a user