mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
updating fixtures
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5573 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
f2e5dcbbf9
commit
3a5f89f3e2
25 changed files with 25 additions and 25 deletions
2
cake/tests/fixtures/aco_fixture.php
vendored
2
cake/tests/fixtures/aco_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class AcoFixture extends CakeTestFixture {
|
||||
var $name = 'Aco';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'parent_id' => array('type' => 'integer', 'length' => 10, 'null' => true),
|
||||
'model' => array('type' => 'string', 'default' => ''),
|
||||
'foreign_key' => array('type' => 'integer', 'length' => 10, 'null' => true),
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
class AdvertisementFixture extends CakeTestFixture {
|
||||
var $name = 'Advertisement';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'title' => array('type' => 'string', 'null' => false),
|
||||
'created' => 'datetime',
|
||||
'updated' => 'datetime'
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
class AnotherArticleFixture extends CakeTestFixture {
|
||||
var $name = 'AnotherArticle';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'title' => array('type' => 'string', 'null' => false),
|
||||
'created' => 'datetime',
|
||||
'updated' => 'datetime'
|
||||
|
|
2
cake/tests/fixtures/apple_fixture.php
vendored
2
cake/tests/fixtures/apple_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class AppleFixture extends CakeTestFixture {
|
||||
var $name = 'Apple';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'apple_id' => array('type' => 'integer', 'null' => true),
|
||||
'color' => array('type' => 'string', 'length' => 40, 'null' => false),
|
||||
'name' => array('type' => 'string', 'length' => 40, 'null' => false),
|
||||
|
|
2
cake/tests/fixtures/aro_fixture.php
vendored
2
cake/tests/fixtures/aro_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class AroFixture extends CakeTestFixture {
|
||||
var $name = 'Aro';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'parent_id' => array('type' => 'integer', 'length' => 10, 'null' => true),
|
||||
'model' => array('type' => 'string', 'default' => ''),
|
||||
'foreign_key' => array('type' => 'integer', 'length' => 10, 'null' => true),
|
||||
|
|
2
cake/tests/fixtures/aros_aco_fixture.php
vendored
2
cake/tests/fixtures/aros_aco_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class ArosAcoFixture extends CakeTestFixture {
|
||||
var $name = 'ArosAco';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'aro_id' => array('type' => 'integer', 'length' => 10, 'null' => false),
|
||||
'aco_id' => array('type' => 'integer', 'length' => 10, 'null' => false),
|
||||
'_create' => array('type' => 'string', 'length' => 2, 'null' => false, 'default' => '0'),
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
class ArticleFeaturedFixture extends CakeTestFixture {
|
||||
var $name = 'ArticleFeatured';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'user_id' => array('type' => 'integer', 'null' => false),
|
||||
'title' => array('type' => 'string', 'null' => false),
|
||||
'body' => 'text',
|
||||
|
|
2
cake/tests/fixtures/article_fixture.php
vendored
2
cake/tests/fixtures/article_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class ArticleFixture extends CakeTestFixture {
|
||||
var $name = 'Article';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'user_id' => array('type' => 'integer', 'null' => false),
|
||||
'title' => array('type' => 'string', 'null' => false),
|
||||
'body' => 'text',
|
||||
|
|
2
cake/tests/fixtures/attachment_fixture.php
vendored
2
cake/tests/fixtures/attachment_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class AttachmentFixture extends CakeTestFixture {
|
||||
var $name = 'Attachment';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'comment_id' => array('type' => 'integer', 'null' => false),
|
||||
'attachment' => array('type' => 'string', 'null' => false),
|
||||
'created' => 'datetime',
|
||||
|
|
2
cake/tests/fixtures/auth_user_fixture.php
vendored
2
cake/tests/fixtures/auth_user_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class AuthUserFixture extends CakeTestFixture {
|
||||
var $name = 'AuthUser';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'username' => array('type' => 'string', 'null' => false),
|
||||
'password' => array('type' => 'string', 'null' => false),
|
||||
'created' => 'datetime',
|
||||
|
|
2
cake/tests/fixtures/author_fixture.php
vendored
2
cake/tests/fixtures/author_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class AuthorFixture extends CakeTestFixture {
|
||||
var $name = 'Author';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'user' => array('type' => 'string', 'null' => false),
|
||||
'password' => array('type' => 'string', 'null' => false),
|
||||
'created' => 'datetime',
|
||||
|
|
2
cake/tests/fixtures/bid_fixture.php
vendored
2
cake/tests/fixtures/bid_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class BidFixture extends CakeTestFixture {
|
||||
var $name = 'Bid';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'message_id' => array('type' => 'integer', 'null' => false),
|
||||
'name' => array('type' => 'string', 'null' => false)
|
||||
);
|
||||
|
|
2
cake/tests/fixtures/category_fixture.php
vendored
2
cake/tests/fixtures/category_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class CategoryFixture extends CakeTestFixture {
|
||||
var $name = 'Category';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'parent_id' => array('type' => 'integer', 'null' => false),
|
||||
'name' => array('type' => 'string', 'null' => false),
|
||||
'created' => 'datetime',
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
class CategoryThreadFixture extends CakeTestFixture {
|
||||
var $name = 'CategoryThread';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'parent_id' => array('type' => 'integer', 'null' => false),
|
||||
'name' => array('type' => 'string', 'null' => false),
|
||||
'created' => 'datetime',
|
||||
|
|
2
cake/tests/fixtures/comment_fixture.php
vendored
2
cake/tests/fixtures/comment_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class CommentFixture extends CakeTestFixture {
|
||||
var $name = 'Comment';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'article_id' => array('type' => 'integer', 'null'=>false),
|
||||
'user_id' => array('type' => 'integer', 'null'=>false),
|
||||
'comment' => 'text',
|
||||
|
|
2
cake/tests/fixtures/featured_fixture.php
vendored
2
cake/tests/fixtures/featured_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class FeaturedFixture extends CakeTestFixture {
|
||||
var $name = 'Featured';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'article_featured_id' => array('type' => 'integer', 'null' => false),
|
||||
'category_id' => array('type' => 'integer', 'null' => false),
|
||||
'published_date' => 'datetime',
|
||||
|
|
2
cake/tests/fixtures/home_fixture.php
vendored
2
cake/tests/fixtures/home_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class HomeFixture extends CakeTestFixture {
|
||||
var $name = 'Home';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'another_article_id' => array('type' => 'integer', 'null' => false),
|
||||
'advertisement_id' => array('type' => 'integer', 'null' => false),
|
||||
'title' => array('type' => 'string', 'null' => false),
|
||||
|
|
2
cake/tests/fixtures/message_fixture.php
vendored
2
cake/tests/fixtures/message_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class MessageFixture extends CakeTestFixture {
|
||||
var $name = 'Message';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'thread_id' => array('type' => 'integer', 'null' => false),
|
||||
'name' => array('type' => 'string', 'null' => false)
|
||||
);
|
||||
|
|
2
cake/tests/fixtures/number_tree_fixture.php
vendored
2
cake/tests/fixtures/number_tree_fixture.php
vendored
|
@ -37,7 +37,7 @@
|
|||
class NumberTreeFixture extends CakeTestFixture {
|
||||
var $name = 'NumberTree';
|
||||
var $fields = array ( 'id' => array (
|
||||
'type' => 'integer','key' => 'primary'),
|
||||
'type' => 'integer','key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'name' => array ('type' => 'string','null' => false),
|
||||
'parent_id' => 'integer',
|
||||
'lft' => array ('type' => 'integer','null' => false),
|
||||
|
|
2
cake/tests/fixtures/post_fixture.php
vendored
2
cake/tests/fixtures/post_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class PostFixture extends CakeTestFixture {
|
||||
var $name = 'Post';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'author_id' => array('type' => 'integer', 'null' => false),
|
||||
'title' => array('type' => 'string', 'null' => false),
|
||||
'body' => 'text',
|
||||
|
|
2
cake/tests/fixtures/project_fixture.php
vendored
2
cake/tests/fixtures/project_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class ProjectFixture extends CakeTestFixture {
|
||||
var $name = 'Project';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'name' => array('type' => 'string', 'null' => false)
|
||||
);
|
||||
var $records = array(
|
||||
|
|
2
cake/tests/fixtures/sample_fixture.php
vendored
2
cake/tests/fixtures/sample_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class SampleFixture extends CakeTestFixture {
|
||||
var $name = 'Sample';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'apple_id' => array('type' => 'integer', 'null' => false),
|
||||
'name' => array('type' => 'string', 'length' => 40, 'null' => false)
|
||||
);
|
||||
|
|
2
cake/tests/fixtures/tag_fixture.php
vendored
2
cake/tests/fixtures/tag_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class TagFixture extends CakeTestFixture {
|
||||
var $name = 'Tag';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'tag' => array('type' => 'string', 'null' => false),
|
||||
'created' => 'datetime',
|
||||
'updated' => 'datetime'
|
||||
|
|
2
cake/tests/fixtures/thread_fixture.php
vendored
2
cake/tests/fixtures/thread_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class ThreadFixture extends CakeTestFixture {
|
||||
var $name = 'Thread';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'project_id' => array('type' => 'integer', 'null' => false),
|
||||
'name' => array('type' => 'string', 'null' => false)
|
||||
);
|
||||
|
|
2
cake/tests/fixtures/user_fixture.php
vendored
2
cake/tests/fixtures/user_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
|||
class UserFixture extends CakeTestFixture {
|
||||
var $name = 'User';
|
||||
var $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||
'user' => array('type' => 'string', 'null' => false),
|
||||
'password' => array('type' => 'string', 'null' => false),
|
||||
'created' => 'datetime',
|
||||
|
|
Loading…
Add table
Reference in a new issue