-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update - Modification des scripts de création initial de la base de d…
…onnées
- Loading branch information
1 parent
36d0218
commit 6cfee2f
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
| ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness" }.ToArray(), new List<object>() { 1, "5A8F0AE2-B701-47F0-A8EF-E7C2365A72EB", "2020-01-25 15:23:10", "Arnold", "Piquet", "GAEC La Ferme des Piquets", "[email protected]", 0, true }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness" }.ToArray(), new List<object>() { 2, "28491432-1754-4285-9F67-5386A898A48F", "2020-01-30 22:45:41", "Elia", "Debussy", "O'local", "[email protected]", 1, true }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness" }.ToArray(), new List<object>() { 3, "0EAFD299-D0E6-4A63-AF8D-6D154DB96F55", "2020-01-27 22:45:41", "John", "Syntax", "Mes p'tits plats", "[email protected]", 1, true }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness" }.ToArray(), new List<object>() { 4, "442E31E3-EEA9-4AA0-B741-3245ED1C6F2F", "2020-01-29 22:45:41", "Peter", "Fotdakor", "GAEC La ferme pas d'accord", "[email protected]", 0, true }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness", "CanDirectSell" }.ToArray(), new List<object>() { 1, "5A8F0AE2-B701-47F0-A8EF-E7C2365A72EB", "2020-01-25 15:23:10", "Arnold", "Piquet", "GAEC La Ferme des Piquets", "[email protected]", 0, true, true }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness", "CanDirectSell" }.ToArray(), new List<object>() { 2, "28491432-1754-4285-9F67-5386A898A48F", "2020-01-30 22:45:41", "Elia", "Debussy", "O'local", "[email protected]", 1, true, false }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness", "CanDirectSell" }.ToArray(), new List<object>() { 3, "0EAFD299-D0E6-4A63-AF8D-6D154DB96F55", "2020-01-27 22:45:41", "John", "Syntax", "Mes p'tits plats", "[email protected]", 1, true, false }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness", "CanDirectSell" }.ToArray(), new List<object>() { 4, "442E31E3-EEA9-4AA0-B741-3245ED1C6F2F", "2020-01-29 22:45:41", "Peter", "Fotdakor", "GAEC La ferme pas d'accord", "[email protected]", 0, true, true }.ToArray(), "app"); | ||
|
||
migrationBuilder.InsertData("Legals", new List<string>() { "Uid", "Id", "CreatedOn", "UserUid", "UserKind", "Email", "Siret", "VatIdentifier", "kind", "Owner_Id", "Owner_FirstName", "Owner_LastName", "Owner_Email", "Owner_BirthDate", "Owner_Nationality", "Owner_CountryOfResidence", "Owner_Address_Line1", "Owner_Address_Zipcode", "Owner_Address_City", "Owner_Address_Country" }.ToArray(), new List<object>() { 1, "9CDC2CC0-5BDE-4FCE-A875-90DDA3CE6F5B", "2020-01-25 15:23:10", 1, 1, "[email protected]", "999999999991", "FR12154545", 3, "28491432-1754-4285-9F67-5386A898A48F", "Arnold", "Enaccord", "[email protected]", "1990-01-01", 76, 76, "145 Route du petit pont", "73000", "Chambéry", 76 }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Legals", new List<string>() { "Uid", "Id", "CreatedOn", "UserUid", "UserKind", "Email", "Siret", "VatIdentifier", "kind", "Owner_Id", "Owner_FirstName", "Owner_LastName", "Owner_Email", "Owner_BirthDate", "Owner_Nationality", "Owner_CountryOfResidence", "Owner_Address_Line1", "Owner_Address_Zipcode", "Owner_Address_City", "Owner_Address_Country" }.ToArray(), new List<object>() { 2, "B6100B20-E8B6-4670-BAD8-6363F614B352", "2020-01-30 22:45:41", 2, 1, "[email protected]", "999999999992", "FR12154545", 1, "5A8F0AE2-B701-47F0-A8EF-E7C2365A72EB", "Elia", "Debussy", "[email protected]", "1990-01-01", 76, 76, "123 Rue des souliers", "74000", "Annecy", 76 }.ToArray(), "app"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3071,10 +3071,10 @@ protected override void Up(MigrationBuilder migrationBuilder) | |
migrationBuilder.Sql("CREATE TABLE [Cache].[CachedItems]( [Id] [nvarchar](449) NOT NULL, [Value] [varbinary](max) NOT NULL, [ExpiresAtTime] [datetimeoffset](7) NOT NULL, [SlidingExpirationInSeconds] [bigint] NULL, [AbsoluteExpiration] [datetimeoffset](7) NULL,PRIMARY KEY CLUSTERED( [Id] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]"); | ||
migrationBuilder.Sql("CREATE NONCLUSTERED INDEX [Index_ExpiresAtTime] ON [Cache].[CachedItems]( [ExpiresAtTime] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]"); | ||
|
||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness" }.ToArray(), new List<object>() { 1, "5A8F0AE2-B701-47F0-A8EF-E7C2365A72EB", "2020-01-25 15:23:10", "Arnold", "Piquet", "GAEC La Ferme des Piquets", "[email protected]", 0, true }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness" }.ToArray(), new List<object>() { 2, "28491432-1754-4285-9F67-5386A898A48F", "2020-01-30 22:45:41", "Elia", "Debussy", "O'local", "[email protected]", 1, true }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness" }.ToArray(), new List<object>() { 3, "0EAFD299-D0E6-4A63-AF8D-6D154DB96F55", "2020-01-27 22:45:41", "John", "Syntax", "Mes p'tits plats", "[email protected]", 1, true }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness" }.ToArray(), new List<object>() { 4, "442E31E3-EEA9-4AA0-B741-3245ED1C6F2F", "2020-01-29 22:45:41", "Peter", "Fotdakor", "GAEC La ferme pas d'accord", "[email protected]", 0, true }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness", "CanDirectSell" }.ToArray(), new List<object>() { 1, "5A8F0AE2-B701-47F0-A8EF-E7C2365A72EB", "2020-01-25 15:23:10", "Arnold", "Piquet", "GAEC La Ferme des Piquets", "[email protected]", 0, true, true }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness", "CanDirectSell" }.ToArray(), new List<object>() { 2, "28491432-1754-4285-9F67-5386A898A48F", "2020-01-30 22:45:41", "Elia", "Debussy", "O'local", "[email protected]", 1, true, false }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness", "CanDirectSell" }.ToArray(), new List<object>() { 3, "0EAFD299-D0E6-4A63-AF8D-6D154DB96F55", "2020-01-27 22:45:41", "John", "Syntax", "Mes p'tits plats", "[email protected]", 1, true, false }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Users", new List<string>() { "Uid", "Id", "CreatedOn", "FirstName", "LastName", "Name", "Email", "kind", "OpenForNewBusiness", "CanDirectSell" }.ToArray(), new List<object>() { 4, "442E31E3-EEA9-4AA0-B741-3245ED1C6F2F", "2020-01-29 22:45:41", "Peter", "Fotdakor", "GAEC La ferme pas d'accord", "[email protected]", 0, true, true }.ToArray(), "app"); | ||
|
||
migrationBuilder.InsertData("Legals", new List<string>() { "Uid", "Id", "CreatedOn", "UserUid", "UserKind", "Email", "Siret", "VatIdentifier", "kind", "Owner_Id", "Owner_FirstName", "Owner_LastName", "Owner_Email", "Owner_BirthDate", "Owner_Nationality", "Owner_CountryOfResidence", "Owner_Address_Line1", "Owner_Address_Zipcode", "Owner_Address_City", "Owner_Address_Country" }.ToArray(), new List<object>() { 1, "9CDC2CC0-5BDE-4FCE-A875-90DDA3CE6F5B", "2020-01-25 15:23:10", 1, 1, "[email protected]", "999999999999", "FR12154545", 3, "28491432-1754-4285-9F67-5386A898A48F", "Arnold", "Enaccord", "[email protected]", "1990-01-01", 76, 76, "145 Route du petit pont", "73000", "Chambéry", 76 }.ToArray(), "app"); | ||
migrationBuilder.InsertData("Legals", new List<string>() { "Uid", "Id", "CreatedOn", "UserUid", "UserKind", "Email", "Siret", "VatIdentifier", "kind", "Owner_Id", "Owner_FirstName", "Owner_LastName", "Owner_Email", "Owner_BirthDate", "Owner_Nationality", "Owner_CountryOfResidence", "Owner_Address_Line1", "Owner_Address_Zipcode", "Owner_Address_City", "Owner_Address_Country" }.ToArray(), new List<object>() { 2, "B6100B20-E8B6-4670-BAD8-6363F614B352", "2020-01-30 22:45:41", 2, 1, "[email protected]", "999999999999", "FR12154545", 1, "5A8F0AE2-B701-47F0-A8EF-E7C2365A72EB", "Elia", "Debussy", "[email protected]", "1990-01-01", 76, 76, "123 Rue des souliers", "74000", "Annecy", 76 }.ToArray(), "app"); | ||
|