Skip to content

Commit

Permalink
Merge pull request #6 from coralsio/postgress-support
Browse files Browse the repository at this point in the history
postgres support
  • Loading branch information
saeed-corals authored Dec 8, 2023
2 parents 0639e96 + aefb79d commit 945fe50
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/database/seeds/AdvertSampleDatabaseSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ class AdvertSampleDatabaseSeeder extends Seeder
public function run()
{
\DB::table('advert_advertisers')->insert([
'id' => 1,
'name' => 'Corals',
'contact' => 'Saeed',
'email' => 'saeed@corals.io',
]);

\DB::table('advert_campaigns')->insert([
'id' => 1,
'name' => Carbon::now()->format('F-Y') . ' corals campaign',
'starts_at' => Carbon::now()->firstOfMonth(),
'ends_at' => Carbon::now()->endOfMonth(),
Expand All @@ -34,7 +32,6 @@ public function run()
\DB::table('advert_banners')->insert([
0 =>
[
'id' => 1,
'name' => 'Red',
'dimension' => '300x250',
'type' => 'link',
Expand All @@ -52,7 +49,6 @@ public function run()
],
1 =>
[
'id' => 2,
'name' => 'Blue',
'dimension' => '300x250',
'type' => 'link',
Expand All @@ -70,7 +66,6 @@ public function run()
],
2 =>
[
'id' => 3,
'name' => 'Green',
'dimension' => '300x250',
'type' => 'link',
Expand All @@ -88,7 +83,6 @@ public function run()
],
3 =>
[
'id' => 4,
'name' => 'Yellow',
'dimension' => '120x600',
'type' => 'link',
Expand All @@ -106,7 +100,6 @@ public function run()
],
4 =>
[
'id' => 5,
'name' => 'Purple',
'dimension' => '120x600',
'type' => 'link',
Expand All @@ -124,7 +117,6 @@ public function run()
],
5 =>
[
'id' => 6,
'name' => 'Sky Blue',
'dimension' => '120x600',
'type' => 'link',
Expand All @@ -143,7 +135,6 @@ public function run()
]);

\DB::table('advert_websites')->insert([
'id' => 1,
'url' => 'https://www.corals.io/',
'name' => 'Corals.io website',
'contact' => 'Corals',
Expand All @@ -153,7 +144,6 @@ public function run()
\DB::table('advert_zones')->insert([
0 =>
[
'id' => 1,
'name' => 'Skyscraper',
'key' => 'skyscraper',
'dimension' => '120x600',
Expand All @@ -168,7 +158,6 @@ public function run()
],
1 =>
[
'id' => 2,
'name' => 'Sidebar Top',
'key' => 'sidebar-top',
'dimension' => '300x250',
Expand Down

0 comments on commit 945fe50

Please sign in to comment.